Goerli Testnet

Contract

0xf69D906ee93486B9Aa8750ef4905Ebfd7989fA1E

Overview

ETH Balance

Token Holdings

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Value
Set Base Token U...87768202023-04-05 7:19:00358 days ago1680679140IN
0xf69D906e...d7989fA1E
0 ETH0.001190135.61487291
Withdraw79733432022-11-18 4:04:00496 days ago1668744240IN
0xf69D906e...d7989fA1E
0 ETH0.0011687937.24177939
Set Base Token U...79733312022-11-18 4:01:00496 days ago1668744060IN
0xf69D906e...d7989fA1E
0 ETH0.0028973931.3649475
Enable Mint Disc...79702282022-11-17 15:20:00497 days ago1668698400IN
0xf69D906e...d7989fA1E
0 ETH0.00489209173.82359623
Add Whitelist Ad...79700822022-11-17 14:43:36497 days ago1668696216IN
0xf69D906e...d7989fA1E
0 ETH0.02505173204.34552673
Grant Role79700652022-11-17 14:39:24497 days ago1668695964IN
0xf69D906e...d7989fA1E
0 ETH0.01161777223.29418638
Mint79700612022-11-17 14:38:24497 days ago1668695904IN
0xf69D906e...d7989fA1E
0.002 ETH0.02367425217.04761458
Enable Mint79700532022-11-17 14:36:36497 days ago1668695796IN
0xf69D906e...d7989fA1E
0 ETH0.00622769202.15192335
0x6080604079700442022-11-17 14:34:36497 days ago1668695676IN
 Create: NeptunianX
0 ETH0.87761099188.79855181

Latest 1 internal transaction

Advanced mode:
Parent Txn Hash Block From To Value
79733432022-11-18 4:04:00496 days ago1668744240
0xf69D906e...d7989fA1E
0.002 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NeptunianX

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 13 : NeptunianX.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import "./utils/ERC721A.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./utils/ArrayLibAddress.sol";

contract NeptunianX is ERC721A, ERC2981, AccessControl {
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");
    
    uint256 public maxMints = 2;
    uint256 public maxSupply = 8600;
    uint256 public mintRate = 0.001 ether;
    uint public mintDiscount = 50;

    string public baseTokenURI;
    
    bool public mintEnabled = false;
    bool public mintDiscountEnabled = true;

    using SafeMath for uint256;
    using ArrayLibAddress for ArrayLibAddress.Addresses;

    ArrayLibAddress.Addresses whitelistAddresses;

    event Mint(address indexed to, uint256 quantity, uint256 value);
    event SetBaseTokenURI(address indexed from, uint256 value);
    event SetMaxMints(address indexed from, uint256 value);
    event SetMaxSupply(address indexed from, uint256 value);
    event SetDefualtRoyalty(address indexed from, uint256 value);
    event SetTokenRoyalty(address indexed from, uint256 tokenId, uint256 value);
    event AddWhitelistAddress(address indexed from, address[] indexed addresses);
    event RemoveWhitelistAddress(address indexed from, address[] indexed addresses);
    event EnableMint(address indexed from, bool value);
    event SetMintDiscount(address indexed from, uint96 value);
    event EnableMintDiscount(address indexed from, bool value);

    constructor() ERC721A("Neptunian X", "Neptunian X") {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(ADMIN_ROLE, msg.sender);
    } 

    /**
     * @notice mint the nft if it is enable, only maxMints are allowed per address
     * @param _quantity: number of nft to mint
     */
    function mint(uint256 _quantity) external payable {
        require(mintEnabled, "Mint is disabled");
        require(_quantity > 0, "Must mint more than 0 tokens");
        require(_quantity + _numberMinted(msg.sender) <= maxMints, "Exceeded the limit");
        require(totalSupply() + _quantity <= maxSupply, "Not enough tokens left");
        uint256 mintValue = getPrice(msg.sender) * _quantity;
        require(msg.value >= mintValue, "Not enough ether send");
        _safeMint(msg.sender, _quantity);
        emit Mint(msg.sender, _quantity, mintValue);
    }

    /**
     * @notice get the base token uri
    */
    function _baseURI() internal view override returns (string memory) {
        return baseTokenURI;
    }

    /**
     * @notice withdraw the contract eth balance, modify only by the admin
     * @param _amount: amount to waithdraw
     */
    function withdraw(uint256 _amount) external payable onlyRole(ADMIN_ROLE) {
        require(address(this).balance >= _amount, "Address: insufficient balance");
        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = payable(msg.sender).call{ value: _amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
    
    /**
     * @notice set the base url of the nft, only by the admin
     * @param _baseTokenURI: base url of nft
     */
    function setBaseTokenURI(string calldata _baseTokenURI) external onlyRole(ADMIN_ROLE) {
        baseTokenURI = _baseTokenURI;
    }

    /**
     * @notice set base price of the nft, modify only by the admin
     * @param _mintRate: base price of nft
     */
    function setMintRate(uint256 _mintRate) external onlyRole(ADMIN_ROLE) {
        mintRate = _mintRate;
    }

    /**
     * @notice set max mints allowed per address, modify only by the admin
     * @param _maxMints: maximum mints
     */
    function setMaxMints(uint256 _maxMints) external onlyRole(ADMIN_ROLE) {
        maxMints = _maxMints;
        emit SetMaxMints(msg.sender, _maxMints);
    }

    /**
     * @notice set max supply of nft, modify only by the admin
     * @param _maxSupply: maximum nft supply
     */
    function setMaxSupply(uint256 _maxSupply) external onlyRole(ADMIN_ROLE) {
        maxSupply = _maxSupply;
        emit SetMaxSupply(msg.sender, _maxSupply);
    }

    /**
     * @notice set mint discount for whitelist addresses, modify only by the admin
     * @param _mintDiscount: mint discount
     */
    function setMintDiscount(uint96 _mintDiscount) external onlyRole(ADMIN_ROLE) {
        mintDiscount = _mintDiscount;
        emit SetMintDiscount(msg.sender, _mintDiscount);
    }

    /**
     * @notice set default rolyatee fee per nft, modify only by the admin
     * @param _royaltyFee: default royalty fee
     */
    function setDefualtRoyalty(uint96 _royaltyFee) external onlyRole(ADMIN_ROLE) {
        _setDefaultRoyalty(msg.sender, _royaltyFee);
        emit SetDefualtRoyalty(msg.sender, _royaltyFee);
    }

    /**
     * @notice set rolyatee fee for specific nft, modify only by the nft owner
     * @param _tokenId: tokenId of nft
     * @param _royaltyFee: royalty fee for nft
     */
    function setTokenRoyalty(
        uint256 _tokenId, 
        uint96 _royaltyFee
    ) external {
        require(ownerOf(_tokenId) == msg.sender, "Receiver is not owner of token");
        _setTokenRoyalty(_tokenId, msg.sender, _royaltyFee);
        emit SetTokenRoyalty(msg.sender, _tokenId, _royaltyFee);
    }

    /**
     * @notice add whitelist address to whitelist address list, modify only by the admin
     * @param _addresses: add addresses to whitelist address
     */
    function addWhitelistAddress(address[] calldata _addresses) external onlyRole(ADMIN_ROLE) {
        uint len = _addresses.length;
        for (uint i = 0; i < len; i++) {
            whitelistAddresses.pushAddress(_addresses[i]);
        }
        emit AddWhitelistAddress(msg.sender, _addresses);
    }

    /**
     * @notice add whitelist address to whitelist address list, modify only by the admin
     * @param _addresses: remove the whitelist addresses
     */
    function removeWhitelistAddress(address[] calldata _addresses) external onlyRole(ADMIN_ROLE) {
        uint len = _addresses.length;
        for (uint i = 0; i < len; i++) {
            whitelistAddresses.removeAddress(_addresses[i]);
        }
        emit RemoveWhitelistAddress(msg.sender, _addresses);
    }

    /**
     * @notice get the base price of nft based on per address
     * @param _address: address of user
     */
    function getPrice(address _address) public view returns(uint256) {
        bool isExist = whitelistAddresses.exists(_address);
        if (isExist && mintDiscountEnabled) {
            return mintRate.div(100).mul(mintDiscount);
        }
        return mintRate;
    }

    /**
     * @notice enable or disable nft mint, modify only by the admin
     * @param _mintEnabled: enable(true) or disable(false) nft mint
     */
    function enableMint(bool _mintEnabled) external onlyRole(ADMIN_ROLE) {
        mintEnabled = _mintEnabled;
        emit EnableMint(msg.sender, _mintEnabled);
    }

    /**
     * @notice enable or disable nft mint disacount, modify only by the admin
     * @param _mintDiscountEnabled: enable(true) or disable(false) nft mint discount
     */
    function enableMintDiscount(bool _mintDiscountEnabled) external onlyRole(ADMIN_ROLE) {
        mintDiscountEnabled = _mintDiscountEnabled;
        emit EnableMintDiscount(msg.sender, _mintDiscountEnabled);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721A, ERC2981, AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 13 : ArrayLibAddress.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

library ArrayLibAddress {
    using ArrayLibAddress for Addresses;

    struct Addresses {
      address[]  _items;
    }

    /**
     * @notice push an address to the array
     * @dev if the address already exists, it will not be added again
     * @param self Storage array containing address type variables
     * @param element the element to add in the array
     */
    function pushAddress(Addresses storage self, address element) internal {
      if (!exists(self, element)) {
        self._items.push(element);
      }
    }

    /**
     * @notice remove an address from the array
     * @dev finds the element, swaps it with the last element, and then deletes it;
     *      returns a boolean whether the element was found and deleted
     * @param self Storage array containing address type variables
     * @param element the element to remove from the array
     */
    function removeAddress(Addresses storage self, address element) internal returns (bool) {
        for (uint i = 0; i < self.size(); i++) {
            if (self._items[i] == element) {
                self._items[i] = self._items[self.size() - 1];
                self._items.pop();
                return true;
            }
        }
        return false;
    }

    /**
     * @notice get the address at a specific index from array
     * @dev revert if the index is out of bounds
     * @param self Storage array containing address type variables
     * @param index the index in the array
     */
    function getAddressAtIndex(Addresses storage self, uint256 index) internal view returns (address) {
        require(index < size(self), "the index is out of bounds");
        return self._items[index];
    }

    /**
     * @notice get the size of the array
     * @param self Storage array containing address type variables
     */
    function size(Addresses storage self) internal view returns (uint256) {
      return self._items.length;
    }

    /**
     * @notice check if an element exist in the array
     * @param self Storage array containing address type variables
     * @param element the element to check if it exists in the array
     */
    function exists(Addresses storage self, address element) internal view returns (bool) {
        uint256 itemSize = self.size();
        for (uint i = 0; i < itemSize; i++) {
            if (self._items[i] == element) {
                return true;
            }
        }
        return false;
    }
}

File 3 of 13 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 13 : 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 13 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    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.
     *
     * May emit a {RoleRevoked} event.
     */
    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`.
     *
     * May emit a {RoleRevoked} event.
     */
    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.
     *
     * May emit a {RoleGranted} event.
     *
     * [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.
     *
     * May emit a {RoleGranted} event.
     */
    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.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 6 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.17;

import "./IERC721A.sol";

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @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 _startTokenId() (defaults to 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 IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;
    
    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

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

    // The number of tokens burned.
    uint256 private _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 `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // 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_;
        _currentIndex = _startTokenId();
    }

    /**
     * @dev Returns the starting token ID. 
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count. 
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to `_startTokenId()`
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_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 {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // 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.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * 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) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

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

    /**
     * @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, _toString(tokenId))) : "";
    }

    /**
     * @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 Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = address(uint160(_packedOwnershipOf(tokenId)));
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @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 virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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 (to.code.length != 0)
            if (!_checkContractOnERC721Received(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
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, "")`.
     */
    function _safeMint(address to, uint256 quantity) internal returns (uint[] memory) {
        return _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 returns (uint[] memory) {
        uint[] memory tokenMinted = new uint[](quantity);
        uint256 startTokenId = _currentIndex;
        if (_addressToUint256(to) == 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 {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            uint i = 0;    
            if (to.code.length != 0) {
                do {
                    tokenMinted[i] = updatedIndex;
                    i++;
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    tokenMinted[i] = updatedIndex;
                    i++;
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
        return tokenMinted;
    }

    /**
     * @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) internal {
        uint256 startTokenId = _currentIndex;
        if (_addressToUint256(to) == 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 {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

            _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 {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        address approvedAddress = _tokenApprovals[tokenId];

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            approvedAddress == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (_addressToUint256(to) == 0) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

        // 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 {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));
        address approvedAddress = _tokenApprovals[tokenId];

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                approvedAddress == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

        // 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 {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED | 
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @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 {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), 
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length, 
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for { 
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp { 
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } { // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }
            
            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

File 7 of 13 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.17;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

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

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

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

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

    // ==============================
    //        IERC721Metadata
    // ==============================

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

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

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

File 8 of 13 : 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 9 of 13 : 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 10 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_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) {
        // 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);
    }

    /**
     * @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 11 of 13 : 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 12 of 13 : 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 13 of 13 : 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);
}

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

Contract ABI

[{"inputs":[],"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":"OwnerQueryForNonexistentToken","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":"from","type":"address"},{"indexed":true,"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"AddWhitelistAddress","type":"event"},{"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":"from","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"EnableMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"EnableMintDiscount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"RemoveWhitelistAddress","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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SetBaseTokenURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SetDefualtRoyalty","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SetMaxMints","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SetMaxSupply","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint96","name":"value","type":"uint96"}],"name":"SetMintDiscount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SetTokenRoyalty","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addWhitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_mintEnabled","type":"bool"}],"name":"enableMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mintDiscountEnabled","type":"bool"}],"name":"enableMintDiscount","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":[{"internalType":"address","name":"_address","type":"address"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintDiscount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintDiscountEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeWhitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"_royaltyFee","type":"uint96"}],"name":"setDefualtRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMints","type":"uint256"}],"name":"setMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"_mintDiscount","type":"uint96"}],"name":"setMintDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintRate","type":"uint256"}],"name":"setMintRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint96","name":"_royaltyFee","type":"uint96"}],"name":"setTokenRoyalty","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":[],"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":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526002600b55612198600c5566038d7ea4c68000600d556032600e556000601060006101000a81548160ff0219169083151502179055506001601060016101000a81548160ff0219169083151502179055503480156200006257600080fd5b506040518060400160405280600b81526020017f4e657074756e69616e20580000000000000000000000000000000000000000008152506040518060400160405280600b81526020017f4e657074756e69616e20580000000000000000000000000000000000000000008152508160029081620000e0919062000552565b508060039081620000f2919062000552565b50620001036200015860201b60201c565b6000819055505050620001206000801b336200015d60201b60201c565b620001527fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336200015d60201b60201c565b62000639565b600090565b6200016f82826200017360201b60201c565b5050565b6200018582826200026560201b60201c565b62000261576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000206620002d060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200035a57607f821691505b60208210810362000370576200036f62000312565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003da7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200039b565b620003e686836200039b565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004336200042d6200042784620003fe565b62000408565b620003fe565b9050919050565b6000819050919050565b6200044f8362000412565b620004676200045e826200043a565b848454620003a8565b825550505050565b600090565b6200047e6200046f565b6200048b81848462000444565b505050565b5b81811015620004b357620004a760008262000474565b60018101905062000491565b5050565b601f8211156200050257620004cc8162000376565b620004d7846200038b565b81016020851015620004e7578190505b620004ff620004f6856200038b565b83018262000490565b50505b505050565b600082821c905092915050565b6000620005276000198460080262000507565b1980831691505092915050565b600062000542838362000514565b9150826002028217905092915050565b6200055d82620002d8565b67ffffffffffffffff811115620005795762000578620002e3565b5b62000585825462000341565b62000592828285620004b7565b600060209050601f831160018114620005ca5760008415620005b5578287015190505b620005c1858262000534565b86555062000631565b601f198416620005da8662000376565b60005b828110156200060457848901518255600182019150602085019450602081019050620005dd565b8683101562000624578489015162000620601f89168262000514565b8355505b6001600288020188555050505b505050505050565b614f4680620006496000396000f3fe60806040526004361061025c5760003560e01c806379c9cb7b11610144578063bc516a2e116100b6578063d547741f1161007a578063d547741f146108fd578063d547cfb714610926578063d5abeb0114610951578063dbe2193f1461097c578063e985e9c5146109a5578063f45f927a146109e25761025c565b8063bc516a2e14610818578063c68b330514610841578063c87b56dd1461086a578063ca0dcf16146108a7578063d1239730146108d25761025c565b8063a0712d6811610108578063a0712d6814610729578063a217fddf14610745578063a22cb46514610770578063a98a933a14610799578063b6b6f0c3146107c4578063b88d4fde146107ef5761025c565b806379c9cb7b1461064457806391d148541461066d57806395d89b41146106aa57806397ea2147146106d55780639bf5bf96146107005761025c565b80632f2ff15d116101dd5780636352211e116101a15780636352211e1461052457806367a4f4a9146105615780636e47be131461058a5780636f8b44b0146105b357806370a08231146105dc57806375b238fc146106195761025c565b80632f2ff15d1461044357806330176e131461046c57806336568abe1461049557806341976e09146104be57806342842e0e146104fb5761025c565b806323b872dd1161022457806323b872dd1461035a578063248a9ca3146103835780632a55205a146103c05780632b1dd8e5146103fe5780632e1a7d4d146104275761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806318160ddd1461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613788565b610a0b565b60405161029591906137d0565b60405180910390f35b3480156102aa57600080fd5b506102b3610a1d565b6040516102c0919061387b565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb91906138d3565b610aaf565b6040516102fd9190613941565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613988565b610b2b565b005b34801561033b57600080fd5b50610344610cd1565b60405161035191906139d7565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c91906139f2565b610ce8565b005b34801561038f57600080fd5b506103aa60048036038101906103a59190613a7b565b610cf8565b6040516103b79190613ab7565b60405180910390f35b3480156103cc57600080fd5b506103e760048036038101906103e29190613ad2565b610d18565b6040516103f5929190613b12565b60405180910390f35b34801561040a57600080fd5b5061042560048036038101906104209190613ba0565b610f02565b005b610441600480360381019061043c91906138d3565b610fef565b005b34801561044f57600080fd5b5061046a60048036038101906104659190613bed565b61110d565b005b34801561047857600080fd5b50610493600480360381019061048e9190613c83565b61112e565b005b3480156104a157600080fd5b506104bc60048036038101906104b79190613bed565b61116f565b005b3480156104ca57600080fd5b506104e560048036038101906104e09190613cd0565b6111f2565b6040516104f291906139d7565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d91906139f2565b611267565b005b34801561053057600080fd5b5061054b600480360381019061054691906138d3565b611287565b6040516105589190613941565b60405180910390f35b34801561056d57600080fd5b5061058860048036038101906105839190613d41565b611299565b005b34801561059657600080fd5b506105b160048036038101906105ac9190613d81565b61136e565b005b3480156105bf57600080fd5b506105da60048036038101906105d591906138d3565b6113f4565b005b3480156105e857600080fd5b5061060360048036038101906105fe9190613cd0565b611477565b60405161061091906139d7565b60405180910390f35b34801561062557600080fd5b5061062e61150b565b60405161063b9190613ab7565b60405180910390f35b34801561065057600080fd5b5061066b600480360381019061066691906138d3565b61152f565b005b34801561067957600080fd5b50610694600480360381019061068f9190613bed565b6115b2565b6040516106a191906137d0565b60405180910390f35b3480156106b657600080fd5b506106bf61161d565b6040516106cc919061387b565b60405180910390f35b3480156106e157600080fd5b506106ea6116af565b6040516106f791906137d0565b60405180910390f35b34801561070c57600080fd5b5061072760048036038101906107229190613ba0565b6116c2565b005b610743600480360381019061073e91906138d3565b6117b0565b005b34801561075157600080fd5b5061075a6119ab565b6040516107679190613ab7565b60405180910390f35b34801561077c57600080fd5b5061079760048036038101906107929190613dda565b6119b2565b005b3480156107a557600080fd5b506107ae611b29565b6040516107bb91906139d7565b60405180910390f35b3480156107d057600080fd5b506107d9611b2f565b6040516107e691906139d7565b60405180910390f35b3480156107fb57600080fd5b5061081660048036038101906108119190613f4a565b611b35565b005b34801561082457600080fd5b5061083f600480360381019061083a9190613d81565b611ba8565b005b34801561084d57600080fd5b5061086860048036038101906108639190613fcd565b611c39565b005b34801561087657600080fd5b50610891600480360381019061088c91906138d3565b611ccf565b60405161089e919061387b565b60405180910390f35b3480156108b357600080fd5b506108bc611d6d565b6040516108c991906139d7565b60405180910390f35b3480156108de57600080fd5b506108e7611d73565b6040516108f491906137d0565b60405180910390f35b34801561090957600080fd5b50610924600480360381019061091f9190613bed565b611d86565b005b34801561093257600080fd5b5061093b611da7565b604051610948919061387b565b60405180910390f35b34801561095d57600080fd5b50610966611e35565b60405161097391906139d7565b60405180910390f35b34801561098857600080fd5b506109a3600480360381019061099e91906138d3565b611e3b565b005b3480156109b157600080fd5b506109cc60048036038101906109c79190613ffa565b611e70565b6040516109d991906137d0565b60405180910390f35b3480156109ee57600080fd5b50610a096004803603810190610a049190613fcd565b611f04565b005b6000610a1682611f9a565b9050919050565b606060028054610a2c90614069565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5890614069565b8015610aa55780601f10610a7a57610100808354040283529160200191610aa5565b820191906000526020600020905b815481529060010190602001808311610a8857829003601f168201915b5050505050905090565b6000610aba82612014565b610af0576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b3682612073565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b9d576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bbc61213f565b73ffffffffffffffffffffffffffffffffffffffff1614610c1f57610be881610be361213f565b611e70565b610c1e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610cdb612147565b6001546000540303905090565b610cf383838361214c565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610ead5760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610eb7612511565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610ee391906140c9565b610eed919061413a565b90508160000151819350935050509250929050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610f2c8161251b565b600083839050905060005b81811015610f8d57610f7a858583818110610f5557610f5461416b565b5b9050602002016020810190610f6a9190613cd0565b601161252f90919063ffffffff16565b8080610f859061419a565b915050610f37565b508383604051610f9e92919061429f565b60405180910390203373ffffffffffffffffffffffffffffffffffffffff167f055455fd79a6e15144db24870f69662051a2b16f3b6d107620270bb7e554d4a960405160405180910390a350505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756110198161251b565b8147101561105c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105390614304565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff168360405161108290614355565b60006040518083038185875af1925050503d80600081146110bf576040519150601f19603f3d011682016040523d82523d6000602084013e6110c4565b606091505b5050905080611108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ff906143dc565b60405180910390fd5b505050565b61111682610cf8565b61111f8161251b565b61112983836125a7565b505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756111588161251b565b8282600f91826111699291906145b3565b50505050565b611177612688565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111db906146f5565b60405180910390fd5b6111ee8282612690565b5050565b60008061120983601161277290919063ffffffff16565b90508080156112245750601060019054906101000a900460ff165b1561125b57611253600e546112456064600d5461282990919063ffffffff16565b61283f90919063ffffffff16565b915050611262565b600d549150505b919050565b61128283838360405180602001604052806000815250611b35565b505050565b600061129282612073565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff166112b983611287565b73ffffffffffffffffffffffffffffffffffffffff161461130f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130690614761565b60405180910390fd5b61131a823383612855565b3373ffffffffffffffffffffffffffffffffffffffff167f6c77a897de4f5439946c0d504592e6faba901578bcd4f75f5b2b6d8f0d12877a83836040516113629291906147b2565b60405180910390a25050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756113988161251b565b6113a233836129fc565b3373ffffffffffffffffffffffffffffffffffffffff167f0cfa4ea418c5e00a8dc8282093b894c7f08df6895d974ceb19b867748ec17722836040516113e891906147db565b60405180910390a25050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561141e8161251b565b81600c819055503373ffffffffffffffffffffffffffffffffffffffff167fb65effed4883ea5c94b76be51cffe6df198456313627302a7726e8a3de19dbea8360405161146b91906139d7565b60405180910390a25050565b60008061148383612b91565b036114ba576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756115598161251b565b81600b819055503373ffffffffffffffffffffffffffffffffffffffff167fa6ed712c916020ca74183c580493a8b685d34ad8d99c51998f3b0deba530e9b4836040516115a691906139d7565b60405180910390a25050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606003805461162c90614069565b80601f016020809104026020016040519081016040528092919081815260200182805461165890614069565b80156116a55780601f1061167a576101008083540402835291602001916116a5565b820191906000526020600020905b81548152906001019060200180831161168857829003601f168201915b5050505050905090565b601060019054906101000a900460ff1681565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756116ec8161251b565b600083839050905060005b8181101561174e5761173a8585838181106117155761171461416b565b5b905060200201602081019061172a9190613cd0565b6011612b9b90919063ffffffff16565b5080806117469061419a565b9150506116f7565b50838360405161175f92919061429f565b60405180910390203373ffffffffffffffffffffffffffffffffffffffff167fd7992979b09268e3fd386ecd50851679f0e4da2bd14b1b5fadfd06d9b260d21460405160405180910390a350505050565b601060009054906101000a900460ff166117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690614842565b60405180910390fd5b60008111611842576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611839906148ae565b60405180910390fd5b600b5461184e33612d4b565b8261185991906148ce565b111561189a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118919061494e565b60405180910390fd5b600c54816118a6610cd1565b6118b091906148ce565b11156118f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e8906149ba565b60405180910390fd5b6000816118fd336111f2565b61190791906140c9565b90508034101561194c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194390614a26565b60405180910390fd5b6119563383612da2565b503373ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f838360405161199f929190614a46565b60405180910390a25050565b6000801b81565b6119ba61213f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a1e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611a2b61213f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ad861213f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b1d91906137d0565b60405180910390a35050565b600e5481565b600b5481565b611b4084848461214c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611ba257611b6b84848484612dc6565b611ba1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611bd28161251b565b816bffffffffffffffffffffffff16600e819055503373ffffffffffffffffffffffffffffffffffffffff167f4ba338c90ab4e22a03352f9eca980d10f30201c8caca9c32536b8cb4e4ec574183604051611c2d9190614a7e565b60405180910390a25050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611c638161251b565b81601060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167fdc3a11ef3f057dead88e8c6065aecffd49f120d45a5c35e88a20c717c3e4ecfc83604051611cc391906137d0565b60405180910390a25050565b6060611cda82612014565b611d10576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611d1a612f16565b90506000815103611d3a5760405180602001604052806000815250611d65565b80611d4484612fa8565b604051602001611d55929190614ad5565b6040516020818303038152906040525b915050919050565b600d5481565b601060009054906101000a900460ff1681565b611d8f82610cf8565b611d988161251b565b611da28383612690565b505050565b600f8054611db490614069565b80601f0160208091040260200160405190810160405280929190818152602001828054611de090614069565b8015611e2d5780601f10611e0257610100808354040283529160200191611e2d565b820191906000526020600020905b815481529060010190602001808311611e1057829003601f168201915b505050505081565b600c5481565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611e658161251b565b81600d819055505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611f2e8161251b565b81601060016101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167fca2dd6e7e69a30612b44b5f6be6516b0d53d08ed93591e2455ff18a55d65d36b83604051611f8e91906137d0565b60405180910390a25050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061200d575061200c82613002565b5b9050919050565b60008161201f612147565b1115801561202e575060005482105b801561206c575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080612082612147565b11612108576000548110156121075760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612105575b600081036120fb5760046000836001900393508381526020019081526020016000205490506120d1565b809250505061213a565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b600061215782612073565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146121be576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff1661221761213f565b73ffffffffffffffffffffffffffffffffffffffff16148061224657506122458661224061213f565b611e70565b5b80612283575061225461213f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b9050806122bc576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006122c786612b91565b036122fe576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61230b868686600161307c565b600061231683612b91565b14612352576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b61241987612b91565b1717600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036124a1576000600185019050600060046000838152602001908152602001600020540361249f57600054811461249e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125098686866001613082565b505050505050565b6000612710905090565b61252c81612527612688565b613088565b50565b6125398282612772565b6125a35781600001819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b6125b182826115b2565b612684576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612629612688565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b61269a82826115b2565b1561276e576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612713612688565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008061277e84613125565b905060005b8181101561281c578373ffffffffffffffffffffffffffffffffffffffff168560000182815481106127b8576127b761416b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361280957600192505050612823565b80806128149061419a565b915050612783565b5060009150505b92915050565b60008183612837919061413a565b905092915050565b6000818361284d91906140c9565b905092915050565b61285d612511565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156128bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b290614b6b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361292a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292190614bd7565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506009600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b612a04612511565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5990614b6b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac890614c43565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000819050919050565b600080600090505b612bac84613125565b811015612d3f578273ffffffffffffffffffffffffffffffffffffffff16846000018281548110612be057612bdf61416b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612d2c57836000016001612c3586613125565b612c3f9190614c63565b81548110612c5057612c4f61416b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846000018281548110612c9157612c9061416b565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600001805480612ced57612cec614c97565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590556001915050612d45565b8080612d379061419a565b915050612ba3565b50600090505b92915050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b6060612dbe838360405180602001604052806000815250613136565b905092915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dec61213f565b8786866040518563ffffffff1660e01b8152600401612e0e9493929190614d1b565b6020604051808303816000875af1925050508015612e4a57506040513d601f19601f82011682018060405250810190612e479190614d7c565b60015b612ec3573d8060008114612e7a576040519150601f19603f3d011682016040523d82523d6000602084013e612e7f565b606091505b506000815103612ebb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f8054612f2590614069565b80601f0160208091040260200160405190810160405280929190818152602001828054612f5190614069565b8015612f9e5780601f10612f7357610100808354040283529160200191612f9e565b820191906000526020600020905b815481529060010190602001808311612f8157829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015612fee57600183039250600a81066030018353600a81049050612fce565b508181036020830392508083525050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061307557506130748261346c565b5b9050919050565b50505050565b50505050565b61309282826115b2565b613121576130b78173ffffffffffffffffffffffffffffffffffffffff1660146134d6565b6130c58360001c60206134d6565b6040516020016130d6929190614e41565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613118919061387b565b60405180910390fd5b5050565b600081600001805490509050919050565b606060008367ffffffffffffffff81111561315457613153613e1f565b5b6040519080825280602002602001820160405280156131825781602001602082028036833780820191505090505b509050600080549050600061319687612b91565b036131cd576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008503613207576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613214600087838861307c565b600160406001901b178502600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e161327960018714613712565b901b60a042901b61328988612b91565b171760046000838152602001908152602001600020819055506000819050600086820190506000808973ffffffffffffffffffffffffffffffffffffffff163b146133b6575b828582815181106132e3576132e261416b565b5b6020026020010181815250508080600101915050828973ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461336660008a858060010196508a612dc6565b61339c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8183106132cf5783600054146133b157600080fd5b613449565b5b828582815181106133cb576133ca61416b565b5b6020026020010181815250508080600101915050828060010193508973ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48183106133b7575b826000819055505050506134606000878388613082565b81925050509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600060028360026134e991906140c9565b6134f391906148ce565b67ffffffffffffffff81111561350c5761350b613e1f565b5b6040519080825280601f01601f19166020018201604052801561353e5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106135765761357561416b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106135da576135d961416b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261361a91906140c9565b61362491906148ce565b90505b60018111156136c4577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106136665761366561416b565b5b1a60f81b82828151811061367d5761367c61416b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806136bd90614e7b565b9050613627565b5060008414613708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ff90614ef0565b60405180910390fd5b8091505092915050565b6000819050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61376581613730565b811461377057600080fd5b50565b6000813590506137828161375c565b92915050565b60006020828403121561379e5761379d613726565b5b60006137ac84828501613773565b91505092915050565b60008115159050919050565b6137ca816137b5565b82525050565b60006020820190506137e560008301846137c1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561382557808201518184015260208101905061380a565b60008484015250505050565b6000601f19601f8301169050919050565b600061384d826137eb565b61385781856137f6565b9350613867818560208601613807565b61387081613831565b840191505092915050565b600060208201905081810360008301526138958184613842565b905092915050565b6000819050919050565b6138b08161389d565b81146138bb57600080fd5b50565b6000813590506138cd816138a7565b92915050565b6000602082840312156138e9576138e8613726565b5b60006138f7848285016138be565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061392b82613900565b9050919050565b61393b81613920565b82525050565b60006020820190506139566000830184613932565b92915050565b61396581613920565b811461397057600080fd5b50565b6000813590506139828161395c565b92915050565b6000806040838503121561399f5761399e613726565b5b60006139ad85828601613973565b92505060206139be858286016138be565b9150509250929050565b6139d18161389d565b82525050565b60006020820190506139ec60008301846139c8565b92915050565b600080600060608486031215613a0b57613a0a613726565b5b6000613a1986828701613973565b9350506020613a2a86828701613973565b9250506040613a3b868287016138be565b9150509250925092565b6000819050919050565b613a5881613a45565b8114613a6357600080fd5b50565b600081359050613a7581613a4f565b92915050565b600060208284031215613a9157613a90613726565b5b6000613a9f84828501613a66565b91505092915050565b613ab181613a45565b82525050565b6000602082019050613acc6000830184613aa8565b92915050565b60008060408385031215613ae957613ae8613726565b5b6000613af7858286016138be565b9250506020613b08858286016138be565b9150509250929050565b6000604082019050613b276000830185613932565b613b3460208301846139c8565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f840112613b6057613b5f613b3b565b5b8235905067ffffffffffffffff811115613b7d57613b7c613b40565b5b602083019150836020820283011115613b9957613b98613b45565b5b9250929050565b60008060208385031215613bb757613bb6613726565b5b600083013567ffffffffffffffff811115613bd557613bd461372b565b5b613be185828601613b4a565b92509250509250929050565b60008060408385031215613c0457613c03613726565b5b6000613c1285828601613a66565b9250506020613c2385828601613973565b9150509250929050565b60008083601f840112613c4357613c42613b3b565b5b8235905067ffffffffffffffff811115613c6057613c5f613b40565b5b602083019150836001820283011115613c7c57613c7b613b45565b5b9250929050565b60008060208385031215613c9a57613c99613726565b5b600083013567ffffffffffffffff811115613cb857613cb761372b565b5b613cc485828601613c2d565b92509250509250929050565b600060208284031215613ce657613ce5613726565b5b6000613cf484828501613973565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b613d1e81613cfd565b8114613d2957600080fd5b50565b600081359050613d3b81613d15565b92915050565b60008060408385031215613d5857613d57613726565b5b6000613d66858286016138be565b9250506020613d7785828601613d2c565b9150509250929050565b600060208284031215613d9757613d96613726565b5b6000613da584828501613d2c565b91505092915050565b613db7816137b5565b8114613dc257600080fd5b50565b600081359050613dd481613dae565b92915050565b60008060408385031215613df157613df0613726565b5b6000613dff85828601613973565b9250506020613e1085828601613dc5565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613e5782613831565b810181811067ffffffffffffffff82111715613e7657613e75613e1f565b5b80604052505050565b6000613e8961371c565b9050613e958282613e4e565b919050565b600067ffffffffffffffff821115613eb557613eb4613e1f565b5b613ebe82613831565b9050602081019050919050565b82818337600083830152505050565b6000613eed613ee884613e9a565b613e7f565b905082815260208101848484011115613f0957613f08613e1a565b5b613f14848285613ecb565b509392505050565b600082601f830112613f3157613f30613b3b565b5b8135613f41848260208601613eda565b91505092915050565b60008060008060808587031215613f6457613f63613726565b5b6000613f7287828801613973565b9450506020613f8387828801613973565b9350506040613f94878288016138be565b925050606085013567ffffffffffffffff811115613fb557613fb461372b565b5b613fc187828801613f1c565b91505092959194509250565b600060208284031215613fe357613fe2613726565b5b6000613ff184828501613dc5565b91505092915050565b6000806040838503121561401157614010613726565b5b600061401f85828601613973565b925050602061403085828601613973565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061408157607f821691505b6020821081036140945761409361403a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140d48261389d565b91506140df8361389d565b92508282026140ed8161389d565b915082820484148315176141045761410361409a565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006141458261389d565b91506141508361389d565b9250826141605761415f61410b565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006141a58261389d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036141d7576141d661409a565b5b600182019050919050565b600081905092915050565b6000819050919050565b61420081613920565b82525050565b600061421283836141f7565b60208301905092915050565b600061422d6020840184613973565b905092915050565b6000602082019050919050565b600061424e83856141e2565b9350614259826141ed565b8060005b858110156142925761426f828461421e565b6142798882614206565b975061428483614235565b92505060018101905061425d565b5085925050509392505050565b60006142ac828486614242565b91508190509392505050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006142ee601d836137f6565b91506142f9826142b8565b602082019050919050565b6000602082019050818103600083015261431d816142e1565b9050919050565b600081905092915050565b50565b600061433f600083614324565b915061434a8261432f565b600082019050919050565b600061436082614332565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006143c6603a836137f6565b91506143d18261436a565b604082019050919050565b600060208201905081810360008301526143f5816143b9565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026144697fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261442c565b614473868361442c565b95508019841693508086168417925050509392505050565b6000819050919050565b60006144b06144ab6144a68461389d565b61448b565b61389d565b9050919050565b6000819050919050565b6144ca83614495565b6144de6144d6826144b7565b848454614439565b825550505050565b600090565b6144f36144e6565b6144fe8184846144c1565b505050565b5b81811015614522576145176000826144eb565b600181019050614504565b5050565b601f8211156145675761453881614407565b6145418461441c565b81016020851015614550578190505b61456461455c8561441c565b830182614503565b50505b505050565b600082821c905092915050565b600061458a6000198460080261456c565b1980831691505092915050565b60006145a38383614579565b9150826002028217905092915050565b6145bd83836143fc565b67ffffffffffffffff8111156145d6576145d5613e1f565b5b6145e08254614069565b6145eb828285614526565b6000601f83116001811461461a5760008415614608578287013590505b6146128582614597565b86555061467a565b601f19841661462886614407565b60005b828110156146505784890135825560018201915060208501945060208101905061462b565b8683101561466d5784890135614669601f891682614579565b8355505b6001600288020188555050505b50505050505050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006146df602f836137f6565b91506146ea82614683565b604082019050919050565b6000602082019050818103600083015261470e816146d2565b9050919050565b7f5265636569766572206973206e6f74206f776e6572206f6620746f6b656e0000600082015250565b600061474b601e836137f6565b915061475682614715565b602082019050919050565b6000602082019050818103600083015261477a8161473e565b9050919050565b600061479c61479761479284613cfd565b61448b565b61389d565b9050919050565b6147ac81614781565b82525050565b60006040820190506147c760008301856139c8565b6147d460208301846147a3565b9392505050565b60006020820190506147f060008301846147a3565b92915050565b7f4d696e742069732064697361626c656400000000000000000000000000000000600082015250565b600061482c6010836137f6565b9150614837826147f6565b602082019050919050565b6000602082019050818103600083015261485b8161481f565b9050919050565b7f4d757374206d696e74206d6f7265207468616e203020746f6b656e7300000000600082015250565b6000614898601c836137f6565b91506148a382614862565b602082019050919050565b600060208201905081810360008301526148c78161488b565b9050919050565b60006148d98261389d565b91506148e48361389d565b92508282019050808211156148fc576148fb61409a565b5b92915050565b7f457863656564656420746865206c696d69740000000000000000000000000000600082015250565b60006149386012836137f6565b915061494382614902565b602082019050919050565b600060208201905081810360008301526149678161492b565b9050919050565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b60006149a46016836137f6565b91506149af8261496e565b602082019050919050565b600060208201905081810360008301526149d381614997565b9050919050565b7f4e6f7420656e6f7567682065746865722073656e640000000000000000000000600082015250565b6000614a106015836137f6565b9150614a1b826149da565b602082019050919050565b60006020820190508181036000830152614a3f81614a03565b9050919050565b6000604082019050614a5b60008301856139c8565b614a6860208301846139c8565b9392505050565b614a7881613cfd565b82525050565b6000602082019050614a936000830184614a6f565b92915050565b600081905092915050565b6000614aaf826137eb565b614ab98185614a99565b9350614ac9818560208601613807565b80840191505092915050565b6000614ae18285614aa4565b9150614aed8284614aa4565b91508190509392505050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614b55602a836137f6565b9150614b6082614af9565b604082019050919050565b60006020820190508181036000830152614b8481614b48565b9050919050565b7f455243323938313a20496e76616c696420706172616d65746572730000000000600082015250565b6000614bc1601b836137f6565b9150614bcc82614b8b565b602082019050919050565b60006020820190508181036000830152614bf081614bb4565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614c2d6019836137f6565b9150614c3882614bf7565b602082019050919050565b60006020820190508181036000830152614c5c81614c20565b9050919050565b6000614c6e8261389d565b9150614c798361389d565b9250828203905081811115614c9157614c9061409a565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000614ced82614cc6565b614cf78185614cd1565b9350614d07818560208601613807565b614d1081613831565b840191505092915050565b6000608082019050614d306000830187613932565b614d3d6020830186613932565b614d4a60408301856139c8565b8181036060830152614d5c8184614ce2565b905095945050505050565b600081519050614d768161375c565b92915050565b600060208284031215614d9257614d91613726565b5b6000614da084828501614d67565b91505092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614ddf601783614a99565b9150614dea82614da9565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614e2b601183614a99565b9150614e3682614df5565b601182019050919050565b6000614e4c82614dd2565b9150614e588285614aa4565b9150614e6382614e1e565b9150614e6f8284614aa4565b91508190509392505050565b6000614e868261389d565b915060008203614e9957614e9861409a565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614eda6020836137f6565b9150614ee582614ea4565b602082019050919050565b60006020820190508181036000830152614f0981614ecd565b905091905056fea2646970667358221220f2ed6e19d8f0812c8587fd2f6dfa944521e27dfcb21fdbe27c6409c9f51dfbc564736f6c63430008110033

Deployed Bytecode

0x60806040526004361061025c5760003560e01c806379c9cb7b11610144578063bc516a2e116100b6578063d547741f1161007a578063d547741f146108fd578063d547cfb714610926578063d5abeb0114610951578063dbe2193f1461097c578063e985e9c5146109a5578063f45f927a146109e25761025c565b8063bc516a2e14610818578063c68b330514610841578063c87b56dd1461086a578063ca0dcf16146108a7578063d1239730146108d25761025c565b8063a0712d6811610108578063a0712d6814610729578063a217fddf14610745578063a22cb46514610770578063a98a933a14610799578063b6b6f0c3146107c4578063b88d4fde146107ef5761025c565b806379c9cb7b1461064457806391d148541461066d57806395d89b41146106aa57806397ea2147146106d55780639bf5bf96146107005761025c565b80632f2ff15d116101dd5780636352211e116101a15780636352211e1461052457806367a4f4a9146105615780636e47be131461058a5780636f8b44b0146105b357806370a08231146105dc57806375b238fc146106195761025c565b80632f2ff15d1461044357806330176e131461046c57806336568abe1461049557806341976e09146104be57806342842e0e146104fb5761025c565b806323b872dd1161022457806323b872dd1461035a578063248a9ca3146103835780632a55205a146103c05780632b1dd8e5146103fe5780632e1a7d4d146104275761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806318160ddd1461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613788565b610a0b565b60405161029591906137d0565b60405180910390f35b3480156102aa57600080fd5b506102b3610a1d565b6040516102c0919061387b565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb91906138d3565b610aaf565b6040516102fd9190613941565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613988565b610b2b565b005b34801561033b57600080fd5b50610344610cd1565b60405161035191906139d7565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c91906139f2565b610ce8565b005b34801561038f57600080fd5b506103aa60048036038101906103a59190613a7b565b610cf8565b6040516103b79190613ab7565b60405180910390f35b3480156103cc57600080fd5b506103e760048036038101906103e29190613ad2565b610d18565b6040516103f5929190613b12565b60405180910390f35b34801561040a57600080fd5b5061042560048036038101906104209190613ba0565b610f02565b005b610441600480360381019061043c91906138d3565b610fef565b005b34801561044f57600080fd5b5061046a60048036038101906104659190613bed565b61110d565b005b34801561047857600080fd5b50610493600480360381019061048e9190613c83565b61112e565b005b3480156104a157600080fd5b506104bc60048036038101906104b79190613bed565b61116f565b005b3480156104ca57600080fd5b506104e560048036038101906104e09190613cd0565b6111f2565b6040516104f291906139d7565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d91906139f2565b611267565b005b34801561053057600080fd5b5061054b600480360381019061054691906138d3565b611287565b6040516105589190613941565b60405180910390f35b34801561056d57600080fd5b5061058860048036038101906105839190613d41565b611299565b005b34801561059657600080fd5b506105b160048036038101906105ac9190613d81565b61136e565b005b3480156105bf57600080fd5b506105da60048036038101906105d591906138d3565b6113f4565b005b3480156105e857600080fd5b5061060360048036038101906105fe9190613cd0565b611477565b60405161061091906139d7565b60405180910390f35b34801561062557600080fd5b5061062e61150b565b60405161063b9190613ab7565b60405180910390f35b34801561065057600080fd5b5061066b600480360381019061066691906138d3565b61152f565b005b34801561067957600080fd5b50610694600480360381019061068f9190613bed565b6115b2565b6040516106a191906137d0565b60405180910390f35b3480156106b657600080fd5b506106bf61161d565b6040516106cc919061387b565b60405180910390f35b3480156106e157600080fd5b506106ea6116af565b6040516106f791906137d0565b60405180910390f35b34801561070c57600080fd5b5061072760048036038101906107229190613ba0565b6116c2565b005b610743600480360381019061073e91906138d3565b6117b0565b005b34801561075157600080fd5b5061075a6119ab565b6040516107679190613ab7565b60405180910390f35b34801561077c57600080fd5b5061079760048036038101906107929190613dda565b6119b2565b005b3480156107a557600080fd5b506107ae611b29565b6040516107bb91906139d7565b60405180910390f35b3480156107d057600080fd5b506107d9611b2f565b6040516107e691906139d7565b60405180910390f35b3480156107fb57600080fd5b5061081660048036038101906108119190613f4a565b611b35565b005b34801561082457600080fd5b5061083f600480360381019061083a9190613d81565b611ba8565b005b34801561084d57600080fd5b5061086860048036038101906108639190613fcd565b611c39565b005b34801561087657600080fd5b50610891600480360381019061088c91906138d3565b611ccf565b60405161089e919061387b565b60405180910390f35b3480156108b357600080fd5b506108bc611d6d565b6040516108c991906139d7565b60405180910390f35b3480156108de57600080fd5b506108e7611d73565b6040516108f491906137d0565b60405180910390f35b34801561090957600080fd5b50610924600480360381019061091f9190613bed565b611d86565b005b34801561093257600080fd5b5061093b611da7565b604051610948919061387b565b60405180910390f35b34801561095d57600080fd5b50610966611e35565b60405161097391906139d7565b60405180910390f35b34801561098857600080fd5b506109a3600480360381019061099e91906138d3565b611e3b565b005b3480156109b157600080fd5b506109cc60048036038101906109c79190613ffa565b611e70565b6040516109d991906137d0565b60405180910390f35b3480156109ee57600080fd5b50610a096004803603810190610a049190613fcd565b611f04565b005b6000610a1682611f9a565b9050919050565b606060028054610a2c90614069565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5890614069565b8015610aa55780601f10610a7a57610100808354040283529160200191610aa5565b820191906000526020600020905b815481529060010190602001808311610a8857829003601f168201915b5050505050905090565b6000610aba82612014565b610af0576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b3682612073565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b9d576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bbc61213f565b73ffffffffffffffffffffffffffffffffffffffff1614610c1f57610be881610be361213f565b611e70565b610c1e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610cdb612147565b6001546000540303905090565b610cf383838361214c565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610ead5760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610eb7612511565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610ee391906140c9565b610eed919061413a565b90508160000151819350935050509250929050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610f2c8161251b565b600083839050905060005b81811015610f8d57610f7a858583818110610f5557610f5461416b565b5b9050602002016020810190610f6a9190613cd0565b601161252f90919063ffffffff16565b8080610f859061419a565b915050610f37565b508383604051610f9e92919061429f565b60405180910390203373ffffffffffffffffffffffffffffffffffffffff167f055455fd79a6e15144db24870f69662051a2b16f3b6d107620270bb7e554d4a960405160405180910390a350505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756110198161251b565b8147101561105c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105390614304565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff168360405161108290614355565b60006040518083038185875af1925050503d80600081146110bf576040519150601f19603f3d011682016040523d82523d6000602084013e6110c4565b606091505b5050905080611108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ff906143dc565b60405180910390fd5b505050565b61111682610cf8565b61111f8161251b565b61112983836125a7565b505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756111588161251b565b8282600f91826111699291906145b3565b50505050565b611177612688565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111db906146f5565b60405180910390fd5b6111ee8282612690565b5050565b60008061120983601161277290919063ffffffff16565b90508080156112245750601060019054906101000a900460ff165b1561125b57611253600e546112456064600d5461282990919063ffffffff16565b61283f90919063ffffffff16565b915050611262565b600d549150505b919050565b61128283838360405180602001604052806000815250611b35565b505050565b600061129282612073565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff166112b983611287565b73ffffffffffffffffffffffffffffffffffffffff161461130f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130690614761565b60405180910390fd5b61131a823383612855565b3373ffffffffffffffffffffffffffffffffffffffff167f6c77a897de4f5439946c0d504592e6faba901578bcd4f75f5b2b6d8f0d12877a83836040516113629291906147b2565b60405180910390a25050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756113988161251b565b6113a233836129fc565b3373ffffffffffffffffffffffffffffffffffffffff167f0cfa4ea418c5e00a8dc8282093b894c7f08df6895d974ceb19b867748ec17722836040516113e891906147db565b60405180910390a25050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561141e8161251b565b81600c819055503373ffffffffffffffffffffffffffffffffffffffff167fb65effed4883ea5c94b76be51cffe6df198456313627302a7726e8a3de19dbea8360405161146b91906139d7565b60405180910390a25050565b60008061148383612b91565b036114ba576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756115598161251b565b81600b819055503373ffffffffffffffffffffffffffffffffffffffff167fa6ed712c916020ca74183c580493a8b685d34ad8d99c51998f3b0deba530e9b4836040516115a691906139d7565b60405180910390a25050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606003805461162c90614069565b80601f016020809104026020016040519081016040528092919081815260200182805461165890614069565b80156116a55780601f1061167a576101008083540402835291602001916116a5565b820191906000526020600020905b81548152906001019060200180831161168857829003601f168201915b5050505050905090565b601060019054906101000a900460ff1681565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756116ec8161251b565b600083839050905060005b8181101561174e5761173a8585838181106117155761171461416b565b5b905060200201602081019061172a9190613cd0565b6011612b9b90919063ffffffff16565b5080806117469061419a565b9150506116f7565b50838360405161175f92919061429f565b60405180910390203373ffffffffffffffffffffffffffffffffffffffff167fd7992979b09268e3fd386ecd50851679f0e4da2bd14b1b5fadfd06d9b260d21460405160405180910390a350505050565b601060009054906101000a900460ff166117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690614842565b60405180910390fd5b60008111611842576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611839906148ae565b60405180910390fd5b600b5461184e33612d4b565b8261185991906148ce565b111561189a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118919061494e565b60405180910390fd5b600c54816118a6610cd1565b6118b091906148ce565b11156118f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e8906149ba565b60405180910390fd5b6000816118fd336111f2565b61190791906140c9565b90508034101561194c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194390614a26565b60405180910390fd5b6119563383612da2565b503373ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f838360405161199f929190614a46565b60405180910390a25050565b6000801b81565b6119ba61213f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a1e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611a2b61213f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ad861213f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b1d91906137d0565b60405180910390a35050565b600e5481565b600b5481565b611b4084848461214c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611ba257611b6b84848484612dc6565b611ba1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611bd28161251b565b816bffffffffffffffffffffffff16600e819055503373ffffffffffffffffffffffffffffffffffffffff167f4ba338c90ab4e22a03352f9eca980d10f30201c8caca9c32536b8cb4e4ec574183604051611c2d9190614a7e565b60405180910390a25050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611c638161251b565b81601060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167fdc3a11ef3f057dead88e8c6065aecffd49f120d45a5c35e88a20c717c3e4ecfc83604051611cc391906137d0565b60405180910390a25050565b6060611cda82612014565b611d10576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611d1a612f16565b90506000815103611d3a5760405180602001604052806000815250611d65565b80611d4484612fa8565b604051602001611d55929190614ad5565b6040516020818303038152906040525b915050919050565b600d5481565b601060009054906101000a900460ff1681565b611d8f82610cf8565b611d988161251b565b611da28383612690565b505050565b600f8054611db490614069565b80601f0160208091040260200160405190810160405280929190818152602001828054611de090614069565b8015611e2d5780601f10611e0257610100808354040283529160200191611e2d565b820191906000526020600020905b815481529060010190602001808311611e1057829003601f168201915b505050505081565b600c5481565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611e658161251b565b81600d819055505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611f2e8161251b565b81601060016101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167fca2dd6e7e69a30612b44b5f6be6516b0d53d08ed93591e2455ff18a55d65d36b83604051611f8e91906137d0565b60405180910390a25050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061200d575061200c82613002565b5b9050919050565b60008161201f612147565b1115801561202e575060005482105b801561206c575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080612082612147565b11612108576000548110156121075760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612105575b600081036120fb5760046000836001900393508381526020019081526020016000205490506120d1565b809250505061213a565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b600061215782612073565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146121be576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff1661221761213f565b73ffffffffffffffffffffffffffffffffffffffff16148061224657506122458661224061213f565b611e70565b5b80612283575061225461213f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b9050806122bc576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006122c786612b91565b036122fe576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61230b868686600161307c565b600061231683612b91565b14612352576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b61241987612b91565b1717600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036124a1576000600185019050600060046000838152602001908152602001600020540361249f57600054811461249e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125098686866001613082565b505050505050565b6000612710905090565b61252c81612527612688565b613088565b50565b6125398282612772565b6125a35781600001819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b6125b182826115b2565b612684576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612629612688565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b61269a82826115b2565b1561276e576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612713612688565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008061277e84613125565b905060005b8181101561281c578373ffffffffffffffffffffffffffffffffffffffff168560000182815481106127b8576127b761416b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361280957600192505050612823565b80806128149061419a565b915050612783565b5060009150505b92915050565b60008183612837919061413a565b905092915050565b6000818361284d91906140c9565b905092915050565b61285d612511565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156128bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b290614b6b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361292a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292190614bd7565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506009600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b612a04612511565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5990614b6b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac890614c43565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000819050919050565b600080600090505b612bac84613125565b811015612d3f578273ffffffffffffffffffffffffffffffffffffffff16846000018281548110612be057612bdf61416b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612d2c57836000016001612c3586613125565b612c3f9190614c63565b81548110612c5057612c4f61416b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846000018281548110612c9157612c9061416b565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600001805480612ced57612cec614c97565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590556001915050612d45565b8080612d379061419a565b915050612ba3565b50600090505b92915050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b6060612dbe838360405180602001604052806000815250613136565b905092915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dec61213f565b8786866040518563ffffffff1660e01b8152600401612e0e9493929190614d1b565b6020604051808303816000875af1925050508015612e4a57506040513d601f19601f82011682018060405250810190612e479190614d7c565b60015b612ec3573d8060008114612e7a576040519150601f19603f3d011682016040523d82523d6000602084013e612e7f565b606091505b506000815103612ebb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f8054612f2590614069565b80601f0160208091040260200160405190810160405280929190818152602001828054612f5190614069565b8015612f9e5780601f10612f7357610100808354040283529160200191612f9e565b820191906000526020600020905b815481529060010190602001808311612f8157829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015612fee57600183039250600a81066030018353600a81049050612fce565b508181036020830392508083525050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061307557506130748261346c565b5b9050919050565b50505050565b50505050565b61309282826115b2565b613121576130b78173ffffffffffffffffffffffffffffffffffffffff1660146134d6565b6130c58360001c60206134d6565b6040516020016130d6929190614e41565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613118919061387b565b60405180910390fd5b5050565b600081600001805490509050919050565b606060008367ffffffffffffffff81111561315457613153613e1f565b5b6040519080825280602002602001820160405280156131825781602001602082028036833780820191505090505b509050600080549050600061319687612b91565b036131cd576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008503613207576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613214600087838861307c565b600160406001901b178502600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e161327960018714613712565b901b60a042901b61328988612b91565b171760046000838152602001908152602001600020819055506000819050600086820190506000808973ffffffffffffffffffffffffffffffffffffffff163b146133b6575b828582815181106132e3576132e261416b565b5b6020026020010181815250508080600101915050828973ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461336660008a858060010196508a612dc6565b61339c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8183106132cf5783600054146133b157600080fd5b613449565b5b828582815181106133cb576133ca61416b565b5b6020026020010181815250508080600101915050828060010193508973ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48183106133b7575b826000819055505050506134606000878388613082565b81925050509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600060028360026134e991906140c9565b6134f391906148ce565b67ffffffffffffffff81111561350c5761350b613e1f565b5b6040519080825280601f01601f19166020018201604052801561353e5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106135765761357561416b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106135da576135d961416b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261361a91906140c9565b61362491906148ce565b90505b60018111156136c4577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106136665761366561416b565b5b1a60f81b82828151811061367d5761367c61416b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806136bd90614e7b565b9050613627565b5060008414613708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ff90614ef0565b60405180910390fd5b8091505092915050565b6000819050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61376581613730565b811461377057600080fd5b50565b6000813590506137828161375c565b92915050565b60006020828403121561379e5761379d613726565b5b60006137ac84828501613773565b91505092915050565b60008115159050919050565b6137ca816137b5565b82525050565b60006020820190506137e560008301846137c1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561382557808201518184015260208101905061380a565b60008484015250505050565b6000601f19601f8301169050919050565b600061384d826137eb565b61385781856137f6565b9350613867818560208601613807565b61387081613831565b840191505092915050565b600060208201905081810360008301526138958184613842565b905092915050565b6000819050919050565b6138b08161389d565b81146138bb57600080fd5b50565b6000813590506138cd816138a7565b92915050565b6000602082840312156138e9576138e8613726565b5b60006138f7848285016138be565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061392b82613900565b9050919050565b61393b81613920565b82525050565b60006020820190506139566000830184613932565b92915050565b61396581613920565b811461397057600080fd5b50565b6000813590506139828161395c565b92915050565b6000806040838503121561399f5761399e613726565b5b60006139ad85828601613973565b92505060206139be858286016138be565b9150509250929050565b6139d18161389d565b82525050565b60006020820190506139ec60008301846139c8565b92915050565b600080600060608486031215613a0b57613a0a613726565b5b6000613a1986828701613973565b9350506020613a2a86828701613973565b9250506040613a3b868287016138be565b9150509250925092565b6000819050919050565b613a5881613a45565b8114613a6357600080fd5b50565b600081359050613a7581613a4f565b92915050565b600060208284031215613a9157613a90613726565b5b6000613a9f84828501613a66565b91505092915050565b613ab181613a45565b82525050565b6000602082019050613acc6000830184613aa8565b92915050565b60008060408385031215613ae957613ae8613726565b5b6000613af7858286016138be565b9250506020613b08858286016138be565b9150509250929050565b6000604082019050613b276000830185613932565b613b3460208301846139c8565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f840112613b6057613b5f613b3b565b5b8235905067ffffffffffffffff811115613b7d57613b7c613b40565b5b602083019150836020820283011115613b9957613b98613b45565b5b9250929050565b60008060208385031215613bb757613bb6613726565b5b600083013567ffffffffffffffff811115613bd557613bd461372b565b5b613be185828601613b4a565b92509250509250929050565b60008060408385031215613c0457613c03613726565b5b6000613c1285828601613a66565b9250506020613c2385828601613973565b9150509250929050565b60008083601f840112613c4357613c42613b3b565b5b8235905067ffffffffffffffff811115613c6057613c5f613b40565b5b602083019150836001820283011115613c7c57613c7b613b45565b5b9250929050565b60008060208385031215613c9a57613c99613726565b5b600083013567ffffffffffffffff811115613cb857613cb761372b565b5b613cc485828601613c2d565b92509250509250929050565b600060208284031215613ce657613ce5613726565b5b6000613cf484828501613973565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b613d1e81613cfd565b8114613d2957600080fd5b50565b600081359050613d3b81613d15565b92915050565b60008060408385031215613d5857613d57613726565b5b6000613d66858286016138be565b9250506020613d7785828601613d2c565b9150509250929050565b600060208284031215613d9757613d96613726565b5b6000613da584828501613d2c565b91505092915050565b613db7816137b5565b8114613dc257600080fd5b50565b600081359050613dd481613dae565b92915050565b60008060408385031215613df157613df0613726565b5b6000613dff85828601613973565b9250506020613e1085828601613dc5565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613e5782613831565b810181811067ffffffffffffffff82111715613e7657613e75613e1f565b5b80604052505050565b6000613e8961371c565b9050613e958282613e4e565b919050565b600067ffffffffffffffff821115613eb557613eb4613e1f565b5b613ebe82613831565b9050602081019050919050565b82818337600083830152505050565b6000613eed613ee884613e9a565b613e7f565b905082815260208101848484011115613f0957613f08613e1a565b5b613f14848285613ecb565b509392505050565b600082601f830112613f3157613f30613b3b565b5b8135613f41848260208601613eda565b91505092915050565b60008060008060808587031215613f6457613f63613726565b5b6000613f7287828801613973565b9450506020613f8387828801613973565b9350506040613f94878288016138be565b925050606085013567ffffffffffffffff811115613fb557613fb461372b565b5b613fc187828801613f1c565b91505092959194509250565b600060208284031215613fe357613fe2613726565b5b6000613ff184828501613dc5565b91505092915050565b6000806040838503121561401157614010613726565b5b600061401f85828601613973565b925050602061403085828601613973565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061408157607f821691505b6020821081036140945761409361403a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140d48261389d565b91506140df8361389d565b92508282026140ed8161389d565b915082820484148315176141045761410361409a565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006141458261389d565b91506141508361389d565b9250826141605761415f61410b565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006141a58261389d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036141d7576141d661409a565b5b600182019050919050565b600081905092915050565b6000819050919050565b61420081613920565b82525050565b600061421283836141f7565b60208301905092915050565b600061422d6020840184613973565b905092915050565b6000602082019050919050565b600061424e83856141e2565b9350614259826141ed565b8060005b858110156142925761426f828461421e565b6142798882614206565b975061428483614235565b92505060018101905061425d565b5085925050509392505050565b60006142ac828486614242565b91508190509392505050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006142ee601d836137f6565b91506142f9826142b8565b602082019050919050565b6000602082019050818103600083015261431d816142e1565b9050919050565b600081905092915050565b50565b600061433f600083614324565b915061434a8261432f565b600082019050919050565b600061436082614332565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006143c6603a836137f6565b91506143d18261436a565b604082019050919050565b600060208201905081810360008301526143f5816143b9565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026144697fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261442c565b614473868361442c565b95508019841693508086168417925050509392505050565b6000819050919050565b60006144b06144ab6144a68461389d565b61448b565b61389d565b9050919050565b6000819050919050565b6144ca83614495565b6144de6144d6826144b7565b848454614439565b825550505050565b600090565b6144f36144e6565b6144fe8184846144c1565b505050565b5b81811015614522576145176000826144eb565b600181019050614504565b5050565b601f8211156145675761453881614407565b6145418461441c565b81016020851015614550578190505b61456461455c8561441c565b830182614503565b50505b505050565b600082821c905092915050565b600061458a6000198460080261456c565b1980831691505092915050565b60006145a38383614579565b9150826002028217905092915050565b6145bd83836143fc565b67ffffffffffffffff8111156145d6576145d5613e1f565b5b6145e08254614069565b6145eb828285614526565b6000601f83116001811461461a5760008415614608578287013590505b6146128582614597565b86555061467a565b601f19841661462886614407565b60005b828110156146505784890135825560018201915060208501945060208101905061462b565b8683101561466d5784890135614669601f891682614579565b8355505b6001600288020188555050505b50505050505050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006146df602f836137f6565b91506146ea82614683565b604082019050919050565b6000602082019050818103600083015261470e816146d2565b9050919050565b7f5265636569766572206973206e6f74206f776e6572206f6620746f6b656e0000600082015250565b600061474b601e836137f6565b915061475682614715565b602082019050919050565b6000602082019050818103600083015261477a8161473e565b9050919050565b600061479c61479761479284613cfd565b61448b565b61389d565b9050919050565b6147ac81614781565b82525050565b60006040820190506147c760008301856139c8565b6147d460208301846147a3565b9392505050565b60006020820190506147f060008301846147a3565b92915050565b7f4d696e742069732064697361626c656400000000000000000000000000000000600082015250565b600061482c6010836137f6565b9150614837826147f6565b602082019050919050565b6000602082019050818103600083015261485b8161481f565b9050919050565b7f4d757374206d696e74206d6f7265207468616e203020746f6b656e7300000000600082015250565b6000614898601c836137f6565b91506148a382614862565b602082019050919050565b600060208201905081810360008301526148c78161488b565b9050919050565b60006148d98261389d565b91506148e48361389d565b92508282019050808211156148fc576148fb61409a565b5b92915050565b7f457863656564656420746865206c696d69740000000000000000000000000000600082015250565b60006149386012836137f6565b915061494382614902565b602082019050919050565b600060208201905081810360008301526149678161492b565b9050919050565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b60006149a46016836137f6565b91506149af8261496e565b602082019050919050565b600060208201905081810360008301526149d381614997565b9050919050565b7f4e6f7420656e6f7567682065746865722073656e640000000000000000000000600082015250565b6000614a106015836137f6565b9150614a1b826149da565b602082019050919050565b60006020820190508181036000830152614a3f81614a03565b9050919050565b6000604082019050614a5b60008301856139c8565b614a6860208301846139c8565b9392505050565b614a7881613cfd565b82525050565b6000602082019050614a936000830184614a6f565b92915050565b600081905092915050565b6000614aaf826137eb565b614ab98185614a99565b9350614ac9818560208601613807565b80840191505092915050565b6000614ae18285614aa4565b9150614aed8284614aa4565b91508190509392505050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614b55602a836137f6565b9150614b6082614af9565b604082019050919050565b60006020820190508181036000830152614b8481614b48565b9050919050565b7f455243323938313a20496e76616c696420706172616d65746572730000000000600082015250565b6000614bc1601b836137f6565b9150614bcc82614b8b565b602082019050919050565b60006020820190508181036000830152614bf081614bb4565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614c2d6019836137f6565b9150614c3882614bf7565b602082019050919050565b60006020820190508181036000830152614c5c81614c20565b9050919050565b6000614c6e8261389d565b9150614c798361389d565b9250828203905081811115614c9157614c9061409a565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000614ced82614cc6565b614cf78185614cd1565b9350614d07818560208601613807565b614d1081613831565b840191505092915050565b6000608082019050614d306000830187613932565b614d3d6020830186613932565b614d4a60408301856139c8565b8181036060830152614d5c8184614ce2565b905095945050505050565b600081519050614d768161375c565b92915050565b600060208284031215614d9257614d91613726565b5b6000614da084828501614d67565b91505092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614ddf601783614a99565b9150614dea82614da9565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614e2b601183614a99565b9150614e3682614df5565b601182019050919050565b6000614e4c82614dd2565b9150614e588285614aa4565b9150614e6382614e1e565b9150614e6f8284614aa4565b91508190509392505050565b6000614e868261389d565b915060008203614e9957614e9861409a565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614eda6020836137f6565b9150614ee582614ea4565b602082019050919050565b60006020820190508181036000830152614f0981614ecd565b905091905056fea2646970667358221220f2ed6e19d8f0812c8587fd2f6dfa944521e27dfcb21fdbe27c6409c9f51dfbc564736f6c63430008110033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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