ETH Price: $2,816.74 (+7.53%)
 

Overview

Max Total Supply

99 SD2210

Holders

94

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 SD2210
0xffc2ac30f4de505f35040db3cb94d2b657c4d62a
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
SockDrop_2022_10

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : SockDrop_2022_10.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Base64.sol";

contract SockDrop_2022_10 is ERC721A, Ownable {
  mapping(address => bool) public claimedList;

  string private _name = "SockDrop_2022_10";
  string private _symbol = "SD2210";

  bytes32 public merkleRoot;
  uint256 public maxSupply = 99;
  uint256 public maxMintAmountPerWallet = 1;

  bool private _publicMintEnabled = false;
  uint256 private royaltyFee = 1000; // Default 1000 BP (10%)

  // Metadata bits
  string private metadataName = 'SockDrop 2022-10';
  string private externalUrl = "https://pulsedoge.exchange/";

  // image url format: baseUri + tokenId + imageUrl
  string private baseUri = "ipfs://bafybeia67osbi45hrfwpiz4n52en5y75aipqxiyezxwrtqupqnpzykxnma/";
  string private imageUrl = ".jpg";

  constructor(bytes32 _merkleRoot, address _owner) ERC721A(_name, _symbol) {
    merkleRoot = _merkleRoot;

    if(_owner != address(0)) {
      _transferOwnership(_owner);
    }
  }

  function _startTokenId() internal view virtual override returns (uint256) {
    return 1;
  }

  /*
  ******
  ** Assertions and booleans
  ******
  */
  function publicMintEnabled() external view returns(bool) {
    return _publicMintEnabled;
  }

  function canWhitelistMint(bytes32[] calldata proof) external view returns(bool) {
    return _assertCanWhitelistMint(proof);
  }

  function canPublicMint() external view returns(bool) {
    return _assertCanPublicMint();
  }

  function _assertCanPublicMint() internal view returns(bool) {
    require(_publicMintEnabled == true, "Public mint not available");
    require(claimedList[_msgSender()] == false, "You've already claimed");

    return true;
  }

  function _assertCanWhitelistMint(bytes32[] calldata proof) internal view returns(bool) {
    require(claimedList[_msgSender()] == false, "You've already claimed");
    bytes32 leaf = keccak256(abi.encodePacked(_msgSender(), uint256(1)));
    require(MerkleProof.verify(proof, merkleRoot, leaf), "No claim in the whitelist!");

    return true;
  }

  function remainingMintAmount(bytes32[] calldata proof) external view returns(uint256) {
    bytes32 leaf = keccak256(abi.encodePacked(_msgSender(), uint256(1)));
    bool verified = MerkleProof.verify(proof, merkleRoot, leaf);

    if(verified) {
      if(claimedList[_msgSender()]) {
        return 0;
      } else {
        return 1;
      }
    } else {
      return 0;
    }
  }

  modifier mintCompliance() {
    require(totalSupply() + 1 <= maxSupply, "Max supply exceeded!");
    _;
  }

  /*
  ******
  ** Minting functions
  ******
  */
  function whitelistMint(bytes32[] calldata proof) public mintCompliance() {
    _assertCanWhitelistMint(proof);

    claimedList[_msgSender()] = true;
    _safeMint(_msgSender(), 1);
  }

  function mint() public mintCompliance() {
    _assertCanPublicMint();

    claimedList[_msgSender()] = true;
    _safeMint(_msgSender(), 1);
  }

  function mintForAddress(address receiver, uint256 mintAmount) public onlyOwner {
    require(totalSupply() + mintAmount <= maxSupply, "Max supply exceeded!");

    _safeMint(receiver, mintAmount);
  }

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

    return string(abi.encodePacked('data:application/json;base64,', Base64.encode(abi.encodePacked(
      '{',
        '"name": "', metadataName, ' #', Strings.toString(tokenId), '", ',
        '"external_url": "', externalUrl, '", ',
        '"image": "', baseUri, Strings.toString(tokenId), imageUrl, '"',
      '}'
    ))));
  }

  /*
  ******
  ** Australian Setters
  ******
  */
  function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
    merkleRoot = _merkleRoot;
  }
  function setPublicMintEnabled(bool _state) public onlyOwner {
    _publicMintEnabled = _state;
  }
  function setBaseUri(string memory _baseUri) public onlyOwner {
    baseUri = _baseUri;
  }
  function setTokenUriDetails(
    string memory _metadataName,
    string memory _externalUrl,
    string memory _imageUrl
  ) public onlyOwner {
    bytes(_metadataName).length != 0 ? metadataName = _metadataName : '';
    bytes(_externalUrl).length != 0 ? externalUrl = _externalUrl : '';
    bytes(_imageUrl).length != 0 ? imageUrl = _imageUrl : '';
  }
}

File 2 of 8 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @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();

    /**
     * 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();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    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;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

    /**
     * @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);

    // ==============================
    //            IERC2309
    // ==============================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 3 of 8 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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 bit position of `extraData` in packed ownership.
    uint256 private constant BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with `_mintERC2309`.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309`
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // 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`
    // - [232..255] `extraData`
    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 (owner == address(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 auxiliary 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 auxiliary 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;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            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;
        ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA);
    }

    /**
     * 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 Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, BITMASK_ADDRESS)
            // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`.
            result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

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

        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-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 {
        transferFrom(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 {
        _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.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @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 for each mint.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _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] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _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] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    /**
     * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`.
     */
    function _isOwnerOrApproved(
        address approvedAddress,
        address from,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
            from := and(from, BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, BITMASK_ADDRESS)
            // `msgSender == from || msgSender == approvedAddress`.
            result := or(eq(msgSender, from), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @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 transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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] = _packOwnershipData(
                to,
                BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

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

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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] = _packOwnershipData(
                from,
                (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // 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 Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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 _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @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 4 of 8 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"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":"canPublicMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"canWhitelistMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"remainingMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_metadataName","type":"string"},{"internalType":"string","name":"_externalUrl","type":"string"},{"internalType":"string","name":"_imageUrl","type":"string"}],"name":"setTokenUriDetails","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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060400160405280601081526020017f536f636b44726f705f323032325f313000000000000000000000000000000000815250600a90816200004a919062000719565b506040518060400160405280600681526020017f5344323231300000000000000000000000000000000000000000000000000000815250600b908162000091919062000719565b506063600d556001600e556000600f60006101000a81548160ff0219169083151502179055506103e86010556040518060400160405280601081526020017f536f636b44726f7020323032322d3130000000000000000000000000000000008152506011908162000103919062000719565b506040518060400160405280601b81526020017f68747470733a2f2f70756c7365646f67652e65786368616e67652f0000000000815250601290816200014a919062000719565b50604051806080016040528060438152602001620044f4604391396013908162000175919062000719565b506040518060400160405280600481526020017f2e6a70670000000000000000000000000000000000000000000000000000000081525060149081620001bc919062000719565b50348015620001ca57600080fd5b5060405162004537380380620045378339818101604052810190620001f09190620008a5565b600a8054620001ff9062000508565b80601f01602080910402602001604051908101604052809291908181526020018280546200022d9062000508565b80156200027e5780601f1062000252576101008083540402835291602001916200027e565b820191906000526020600020905b8154815290600101906020018083116200026057829003601f168201915b5050505050600b8054620002929062000508565b80601f0160208091040260200160405190810160405280929190818152602001828054620002c09062000508565b8015620003115780601f10620002e55761010080835404028352916020019162000311565b820191906000526020600020905b815481529060010190602001808311620002f357829003601f168201915b5050505050816002908162000327919062000719565b50806003908162000339919062000719565b506200034a620003c860201b60201c565b60008190555050506200037262000366620003d160201b60201c565b620003d960201b60201c565b81600c81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614620003c057620003bf81620003d960201b60201c565b5b5050620008ec565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200052157607f821691505b602082108103620005375762000536620004d9565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005a17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000562565b620005ad868362000562565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005fa620005f4620005ee84620005c5565b620005cf565b620005c5565b9050919050565b6000819050919050565b6200061683620005d9565b6200062e620006258262000601565b8484546200056f565b825550505050565b600090565b6200064562000636565b620006528184846200060b565b505050565b5b818110156200067a576200066e6000826200063b565b60018101905062000658565b5050565b601f821115620006c95762000693816200053d565b6200069e8462000552565b81016020851015620006ae578190505b620006c6620006bd8562000552565b83018262000657565b50505b505050565b600082821c905092915050565b6000620006ee60001984600802620006ce565b1980831691505092915050565b6000620007098383620006db565b9150826002028217905092915050565b62000724826200049f565b67ffffffffffffffff81111562000740576200073f620004aa565b5b6200074c825462000508565b620007598282856200067e565b600060209050601f8311600181146200079157600084156200077c578287015190505b620007888582620006fb565b865550620007f8565b601f198416620007a1866200053d565b60005b82811015620007cb57848901518255600182019150602085019450602081019050620007a4565b86831015620007eb5784890151620007e7601f891682620006db565b8355505b6001600288020188555050505b505050505050565b600080fd5b6000819050919050565b6200081a8162000805565b81146200082657600080fd5b50565b6000815190506200083a816200080f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200086d8262000840565b9050919050565b6200087f8162000860565b81146200088b57600080fd5b50565b6000815190506200089f8162000874565b92915050565b60008060408385031215620008bf57620008be62000800565b5b6000620008cf8582860162000829565b9250506020620008e2858286016200088e565b9150509250929050565b613bf880620008fc6000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c806370a082311161010f578063b88d4fde116100a2578063da7cbba311610071578063da7cbba31461057f578063e985e9c5146105af578063f254933d146105df578063f2fde38b146105fb576101f0565b8063b88d4fde146104f7578063bc951b9114610513578063c87b56dd14610531578063d5abeb0114610561576101f0565b80638da5cb5b116100de5780638da5cb5b1461048357806395d89b41146104a1578063a0bcfc7f146104bf578063a22cb465146104db576101f0565b806370a0823114610411578063715018a6146104415780637cb647591461044b578063818668d714610467576101f0565b806324311f991161018757806342842e0e1161015657806342842e0e1461037957806343bdfa89146103955780634cae4b1c146103b15780636352211e146103e1576101f0565b806324311f99146102f15780632eb4a7ab14610321578063372f657c1461033f578063413185f21461035b576101f0565b80630f4161aa116101c35780630f4161aa1461028f5780631249c58b146102ad57806318160ddd146102b757806323b872dd146102d5576101f0565b806301ffc9a7146101f557806306fdde0314610225578063081812fc14610243578063095ea7b314610273575b600080fd5b61020f600480360381019061020a919061253a565b610617565b60405161021c9190612582565b60405180910390f35b61022d6106a9565b60405161023a9190612636565b60405180910390f35b61025d6004803603810190610258919061268e565b61073b565b60405161026a91906126fc565b60405180910390f35b61028d60048036038101906102889190612743565b6107b7565b005b6102976108f8565b6040516102a49190612582565b60405180910390f35b6102b561090f565b005b6102bf6109e3565b6040516102cc9190612792565b60405180910390f35b6102ef60048036038101906102ea91906127ad565b6109fa565b005b61030b60048036038101906103069190612865565b610d1c565b6040516103189190612582565b60405180910390f35b610329610d30565b60405161033691906128cb565b60405180910390f35b61035960048036038101906103549190612865565b610d36565b005b610363610e0e565b6040516103709190612582565b60405180910390f35b610393600480360381019061038e91906127ad565b610e1d565b005b6103af60048036038101906103aa9190612a16565b610e3d565b005b6103cb60048036038101906103c69190612865565b611072565b6040516103d89190612792565b60405180910390f35b6103fb60048036038101906103f6919061268e565b61117c565b60405161040891906126fc565b60405180910390f35b61042b60048036038101906104269190612abd565b61118e565b6040516104389190612792565b60405180910390f35b610449611246565b005b61046560048036038101906104609190612b16565b61125a565b005b610481600480360381019061047c9190612b6f565b61126c565b005b61048b611291565b60405161049891906126fc565b60405180910390f35b6104a96112bb565b6040516104b69190612636565b60405180910390f35b6104d960048036038101906104d49190612b9c565b61134d565b005b6104f560048036038101906104f09190612be5565b611368565b005b610511600480360381019061050c9190612cc6565b6114df565b005b61051b611552565b6040516105289190612792565b60405180910390f35b61054b6004803603810190610546919061268e565b611558565b6040516105589190612636565b60405180910390f35b61056961160e565b6040516105769190612792565b60405180910390f35b61059960048036038101906105949190612abd565b611614565b6040516105a69190612582565b60405180910390f35b6105c960048036038101906105c49190612d49565b611634565b6040516105d69190612582565b60405180910390f35b6105f960048036038101906105f49190612743565b6116c8565b005b61061560048036038101906106109190612abd565b611735565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061067257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106a25750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546106b890612db8565b80601f01602080910402602001604051908101604052809291908181526020018280546106e490612db8565b80156107315780601f1061070657610100808354040283529160200191610731565b820191906000526020600020905b81548152906001019060200180831161071457829003601f168201915b5050505050905090565b6000610746826117b8565b61077c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107c28261117c565b90508073ffffffffffffffffffffffffffffffffffffffff166107e3611817565b73ffffffffffffffffffffffffffffffffffffffff16146108465761080f8161080a611817565b611634565b610845576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600f60009054906101000a900460ff16905090565b600d54600161091c6109e3565b6109269190612e18565b1115610967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095e90612eba565b60405180910390fd5b61096f61181f565b5060016009600061097e611918565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506109e16109da611918565b6001611920565b565b60006109ed61193e565b6001546000540303905090565b6000610a0582611947565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a6c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610a7884611a13565b91509150610a8e8187610a89611817565b611a35565b610ada57610aa386610a9e611817565b611634565b610ad9576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610b40576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b4d8686866001611a79565b8015610b5857600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c2685610c02888887611a7f565b7c020000000000000000000000000000000000000000000000000000000017611aa7565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610cac5760006001850190506000600460008381526020019081526020016000205403610caa576000548114610ca9578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d148686866001611ad2565b505050505050565b6000610d288383611ad8565b905092915050565b600c5481565b600d546001610d436109e3565b610d4d9190612e18565b1115610d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8590612eba565b60405180910390fd5b610d988282611ad8565b50600160096000610da7611918565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610e0a610e03611918565b6001611920565b5050565b6000610e1861181f565b905090565b610e38838383604051806020016040528060008152506114df565b505050565b610e45611c40565b6000835103610e635760405180602001604052806000815250610efc565b8260119081610e729190613086565b8054610e7d90612db8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea990612db8565b8015610ef65780601f10610ecb57610100808354040283529160200191610ef6565b820191906000526020600020905b815481529060010190602001808311610ed957829003601f168201915b50505050505b506000825103610f1b5760405180602001604052806000815250610fb4565b8160129081610f2a9190613086565b8054610f3590612db8565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6190612db8565b8015610fae5780601f10610f8357610100808354040283529160200191610fae565b820191906000526020600020905b815481529060010190602001808311610f9157829003601f168201915b50505050505b506000815103610fd3576040518060200160405280600081525061106c565b8060149081610fe29190613086565b8054610fed90612db8565b80601f016020809104026020016040519081016040528092919081815260200182805461101990612db8565b80156110665780601f1061103b57610100808354040283529160200191611066565b820191906000526020600020905b81548152906001019060200180831161104957829003601f168201915b50505050505b50505050565b60008061107d611918565b60016040516020016110909291906131c1565b60405160208183030381529060405280519060200120905060006110f8858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5484611cbe565b9050801561116f576009600061110c611918565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561116457600092505050611176565b600192505050611176565b6000925050505b92915050565b600061118782611947565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111f5576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61124e611c40565b6112586000611cd5565b565b611262611c40565b80600c8190555050565b611274611c40565b80600f60006101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546112ca90612db8565b80601f01602080910402602001604051908101604052809291908181526020018280546112f690612db8565b80156113435780601f1061131857610100808354040283529160200191611343565b820191906000526020600020905b81548152906001019060200180831161132657829003601f168201915b5050505050905090565b611355611c40565b80601390816113649190613086565b5050565b611370611817565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113d4576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006113e1611817565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661148e611817565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114d39190612582565b60405180910390a35050565b6114ea8484846109fa565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461154c5761151584848484611d9b565b61154b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600e5481565b6060611563826117b8565b6115a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115999061325f565b60405180910390fd5b6115e860116115b084611eeb565b601260136115bd87611eeb565b60146040516020016115d49695949392919061359e565b60405160208183030381529060405261204b565b6040516020016115f891906136a5565b6040516020818303038152906040529050919050565b600d5481565b60096020528060005260406000206000915054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116d0611c40565b600d54816116dc6109e3565b6116e69190612e18565b1115611727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171e90612eba565b60405180910390fd5b6117318282611920565b5050565b61173d611c40565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a390613739565b60405180910390fd5b6117b581611cd5565b50565b6000816117c361193e565b111580156117d2575060005482105b8015611810575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600060011515600f60009054906101000a900460ff16151514611877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186e906137a5565b60405180910390fd5b6000151560096000611887611918565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190890613811565b60405180910390fd5b6001905090565b600033905090565b61193a8282604051806020016040528060008152506121ae565b5050565b60006001905090565b6000808290508061195661193e565b116119dc576000548110156119db5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036119d9575b600081036119cf5760046000836001900393508381526020019081526020016000205490506119a5565b8092505050611a0e565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611a9686868461224b565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600080151560096000611ae9611918565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6a90613811565b60405180910390fd5b6000611b7d611918565b6001604051602001611b909291906131c1565b604051602081830303815290604052805190602001209050611bf6848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483611cbe565b611c35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2c9061387d565b60405180910390fd5b600191505092915050565b611c48611918565b73ffffffffffffffffffffffffffffffffffffffff16611c66611291565b73ffffffffffffffffffffffffffffffffffffffff1614611cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb3906138e9565b60405180910390fd5b565b600082611ccb8584612254565b1490509392505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611dc1611817565b8786866040518563ffffffff1660e01b8152600401611de3949392919061395e565b6020604051808303816000875af1925050508015611e1f57506040513d601f19601f82011682018060405250810190611e1c91906139bf565b60015b611e98573d8060008114611e4f576040519150601f19603f3d011682016040523d82523d6000602084013e611e54565b606091505b506000815103611e90576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203611f32576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612046565b600082905060005b60008214611f64578080611f4d906139ec565b915050600a82611f5d9190613a63565b9150611f3a565b60008167ffffffffffffffff811115611f8057611f7f6128eb565b5b6040519080825280601f01601f191660200182016040528015611fb25781602001600182028036833780820191505090505b5090505b6000851461203f57600182611fcb9190613a94565b9150600a85611fda9190613ac8565b6030611fe69190612e18565b60f81b818381518110611ffc57611ffb613af9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120389190613a63565b9450611fb6565b8093505050505b919050565b6060600082510361206d576040518060200160405280600081525090506121a9565b6000604051806060016040528060408152602001613b83604091399050600060036002855161209c9190612e18565b6120a69190613a63565b60046120b29190613b28565b67ffffffffffffffff8111156120cb576120ca6128eb565b5b6040519080825280601f01601f1916602001820160405280156120fd5781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612169576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f811685015184536001840193505061210e565b50506003865106600181146121855760028114612198576121a0565b603d6001830353603d60028303536121a0565b603d60018303535b50505080925050505b919050565b6121b883836122aa565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461224657600080549050600083820390505b6121f86000868380600101945086611d9b565b61222e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106121e557816000541461224357600080fd5b50505b505050565b60009392505050565b60008082905060005b845181101561229f5761228a8286838151811061227d5761227c613af9565b5b602002602001015161247c565b91508080612297906139ec565b91505061225d565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612316576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203612350576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61235d6000848385611a79565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506123d4836123c56000866000611a7f565b6123ce856124a7565b17611aa7565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106123f8578060008190555050506124776000848385611ad2565b505050565b60008183106124945761248f82846124b7565b61249f565b61249e83836124b7565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612517816124e2565b811461252257600080fd5b50565b6000813590506125348161250e565b92915050565b6000602082840312156125505761254f6124d8565b5b600061255e84828501612525565b91505092915050565b60008115159050919050565b61257c81612567565b82525050565b60006020820190506125976000830184612573565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156125d75780820151818401526020810190506125bc565b838111156125e6576000848401525b50505050565b6000601f19601f8301169050919050565b60006126088261259d565b61261281856125a8565b93506126228185602086016125b9565b61262b816125ec565b840191505092915050565b6000602082019050818103600083015261265081846125fd565b905092915050565b6000819050919050565b61266b81612658565b811461267657600080fd5b50565b60008135905061268881612662565b92915050565b6000602082840312156126a4576126a36124d8565b5b60006126b284828501612679565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126e6826126bb565b9050919050565b6126f6816126db565b82525050565b600060208201905061271160008301846126ed565b92915050565b612720816126db565b811461272b57600080fd5b50565b60008135905061273d81612717565b92915050565b6000806040838503121561275a576127596124d8565b5b60006127688582860161272e565b925050602061277985828601612679565b9150509250929050565b61278c81612658565b82525050565b60006020820190506127a76000830184612783565b92915050565b6000806000606084860312156127c6576127c56124d8565b5b60006127d48682870161272e565b93505060206127e58682870161272e565b92505060406127f686828701612679565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f84011261282557612824612800565b5b8235905067ffffffffffffffff81111561284257612841612805565b5b60208301915083602082028301111561285e5761285d61280a565b5b9250929050565b6000806020838503121561287c5761287b6124d8565b5b600083013567ffffffffffffffff81111561289a576128996124dd565b5b6128a68582860161280f565b92509250509250929050565b6000819050919050565b6128c5816128b2565b82525050565b60006020820190506128e060008301846128bc565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612923826125ec565b810181811067ffffffffffffffff82111715612942576129416128eb565b5b80604052505050565b60006129556124ce565b9050612961828261291a565b919050565b600067ffffffffffffffff821115612981576129806128eb565b5b61298a826125ec565b9050602081019050919050565b82818337600083830152505050565b60006129b96129b484612966565b61294b565b9050828152602081018484840111156129d5576129d46128e6565b5b6129e0848285612997565b509392505050565b600082601f8301126129fd576129fc612800565b5b8135612a0d8482602086016129a6565b91505092915050565b600080600060608486031215612a2f57612a2e6124d8565b5b600084013567ffffffffffffffff811115612a4d57612a4c6124dd565b5b612a59868287016129e8565b935050602084013567ffffffffffffffff811115612a7a57612a796124dd565b5b612a86868287016129e8565b925050604084013567ffffffffffffffff811115612aa757612aa66124dd565b5b612ab3868287016129e8565b9150509250925092565b600060208284031215612ad357612ad26124d8565b5b6000612ae18482850161272e565b91505092915050565b612af3816128b2565b8114612afe57600080fd5b50565b600081359050612b1081612aea565b92915050565b600060208284031215612b2c57612b2b6124d8565b5b6000612b3a84828501612b01565b91505092915050565b612b4c81612567565b8114612b5757600080fd5b50565b600081359050612b6981612b43565b92915050565b600060208284031215612b8557612b846124d8565b5b6000612b9384828501612b5a565b91505092915050565b600060208284031215612bb257612bb16124d8565b5b600082013567ffffffffffffffff811115612bd057612bcf6124dd565b5b612bdc848285016129e8565b91505092915050565b60008060408385031215612bfc57612bfb6124d8565b5b6000612c0a8582860161272e565b9250506020612c1b85828601612b5a565b9150509250929050565b600067ffffffffffffffff821115612c4057612c3f6128eb565b5b612c49826125ec565b9050602081019050919050565b6000612c69612c6484612c25565b61294b565b905082815260208101848484011115612c8557612c846128e6565b5b612c90848285612997565b509392505050565b600082601f830112612cad57612cac612800565b5b8135612cbd848260208601612c56565b91505092915050565b60008060008060808587031215612ce057612cdf6124d8565b5b6000612cee8782880161272e565b9450506020612cff8782880161272e565b9350506040612d1087828801612679565b925050606085013567ffffffffffffffff811115612d3157612d306124dd565b5b612d3d87828801612c98565b91505092959194509250565b60008060408385031215612d6057612d5f6124d8565b5b6000612d6e8582860161272e565b9250506020612d7f8582860161272e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612dd057607f821691505b602082108103612de357612de2612d89565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e2382612658565b9150612e2e83612658565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612e6357612e62612de9565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000612ea46014836125a8565b9150612eaf82612e6e565b602082019050919050565b60006020820190508181036000830152612ed381612e97565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612f3c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612eff565b612f468683612eff565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612f83612f7e612f7984612658565b612f5e565b612658565b9050919050565b6000819050919050565b612f9d83612f68565b612fb1612fa982612f8a565b848454612f0c565b825550505050565b600090565b612fc6612fb9565b612fd1818484612f94565b505050565b5b81811015612ff557612fea600082612fbe565b600181019050612fd7565b5050565b601f82111561303a5761300b81612eda565b61301484612eef565b81016020851015613023578190505b61303761302f85612eef565b830182612fd6565b50505b505050565b600082821c905092915050565b600061305d6000198460080261303f565b1980831691505092915050565b6000613076838361304c565b9150826002028217905092915050565b61308f8261259d565b67ffffffffffffffff8111156130a8576130a76128eb565b5b6130b28254612db8565b6130bd828285612ff9565b600060209050601f8311600181146130f057600084156130de578287015190505b6130e8858261306a565b865550613150565b601f1984166130fe86612eda565b60005b8281101561312657848901518255600182019150602085019450602081019050613101565b86831015613143578489015161313f601f89168261304c565b8355505b6001600288020188555050505b505050505050565b60008160601b9050919050565b600061317082613158565b9050919050565b600061318282613165565b9050919050565b61319a613195826126db565b613177565b82525050565b6000819050919050565b6131bb6131b682612658565b6131a0565b82525050565b60006131cd8285613189565b6014820191506131dd82846131aa565b6020820191508190509392505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613249602f836125a8565b9150613254826131ed565b604082019050919050565b600060208201905081810360008301526132788161323c565b9050919050565b600081905092915050565b7f7b00000000000000000000000000000000000000000000000000000000000000600082015250565b60006132c060018361327f565b91506132cb8261328a565b600182019050919050565b7f226e616d65223a20220000000000000000000000000000000000000000000000600082015250565b600061330c60098361327f565b9150613317826132d6565b600982019050919050565b6000815461332f81612db8565b613339818661327f565b9450600182166000811461335457600181146133695761339c565b60ff198316865281151582028601935061339c565b61337285612eda565b60005b8381101561339457815481890152600182019150602081019050613375565b838801955050505b50505092915050565b7f2023000000000000000000000000000000000000000000000000000000000000600082015250565b60006133db60028361327f565b91506133e6826133a5565b600282019050919050565b60006133fc8261259d565b613406818561327f565b93506134168185602086016125b9565b80840191505092915050565b7f222c200000000000000000000000000000000000000000000000000000000000600082015250565b600061345860038361327f565b915061346382613422565b600382019050919050565b7f2265787465726e616c5f75726c223a2022000000000000000000000000000000600082015250565b60006134a460118361327f565b91506134af8261346e565b601182019050919050565b7f22696d616765223a202200000000000000000000000000000000000000000000600082015250565b60006134f0600a8361327f565b91506134fb826134ba565b600a82019050919050565b7f2200000000000000000000000000000000000000000000000000000000000000600082015250565b600061353c60018361327f565b915061354782613506565b600182019050919050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b600061358860018361327f565b915061359382613552565b600182019050919050565b60006135a9826132b3565b91506135b4826132ff565b91506135c08289613322565b91506135cb826133ce565b91506135d782886133f1565b91506135e28261344b565b91506135ed82613497565b91506135f98287613322565b91506136048261344b565b915061360f826134e3565b915061361b8286613322565b915061362782856133f1565b91506136338284613322565b915061363e8261352f565b91506136498261357b565b9150819050979650505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b600061368f601d8361327f565b915061369a82613659565b601d82019050919050565b60006136b082613682565b91506136bc82846133f1565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006137236026836125a8565b915061372e826136c7565b604082019050919050565b6000602082019050818103600083015261375281613716565b9050919050565b7f5075626c6963206d696e74206e6f7420617661696c61626c6500000000000000600082015250565b600061378f6019836125a8565b915061379a82613759565b602082019050919050565b600060208201905081810360008301526137be81613782565b9050919050565b7f596f7527766520616c726561647920636c61696d656400000000000000000000600082015250565b60006137fb6016836125a8565b9150613806826137c5565b602082019050919050565b6000602082019050818103600083015261382a816137ee565b9050919050565b7f4e6f20636c61696d20696e207468652077686974656c69737421000000000000600082015250565b6000613867601a836125a8565b915061387282613831565b602082019050919050565b600060208201905081810360008301526138968161385a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138d36020836125a8565b91506138de8261389d565b602082019050919050565b60006020820190508181036000830152613902816138c6565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061393082613909565b61393a8185613914565b935061394a8185602086016125b9565b613953816125ec565b840191505092915050565b600060808201905061397360008301876126ed565b61398060208301866126ed565b61398d6040830185612783565b818103606083015261399f8184613925565b905095945050505050565b6000815190506139b98161250e565b92915050565b6000602082840312156139d5576139d46124d8565b5b60006139e3848285016139aa565b91505092915050565b60006139f782612658565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613a2957613a28612de9565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613a6e82612658565b9150613a7983612658565b925082613a8957613a88613a34565b5b828204905092915050565b6000613a9f82612658565b9150613aaa83612658565b925082821015613abd57613abc612de9565b5b828203905092915050565b6000613ad382612658565b9150613ade83612658565b925082613aee57613aed613a34565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613b3382612658565b9150613b3e83612658565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b7757613b76612de9565b5b82820290509291505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122020c805ed3768d61037d30055f22038fafa38b8979095a48a839c5eff53c724be64736f6c634300080f0033697066733a2f2f626166796265696136376f73626934356872667770697a346e3532656e3579373561697071786979657a78777274717570716e707a796b786e6d612f1f89400a2bcced6f91419fba25519ce8dc3a01437ee829997d3ba0bd4f6e06450000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c806370a082311161010f578063b88d4fde116100a2578063da7cbba311610071578063da7cbba31461057f578063e985e9c5146105af578063f254933d146105df578063f2fde38b146105fb576101f0565b8063b88d4fde146104f7578063bc951b9114610513578063c87b56dd14610531578063d5abeb0114610561576101f0565b80638da5cb5b116100de5780638da5cb5b1461048357806395d89b41146104a1578063a0bcfc7f146104bf578063a22cb465146104db576101f0565b806370a0823114610411578063715018a6146104415780637cb647591461044b578063818668d714610467576101f0565b806324311f991161018757806342842e0e1161015657806342842e0e1461037957806343bdfa89146103955780634cae4b1c146103b15780636352211e146103e1576101f0565b806324311f99146102f15780632eb4a7ab14610321578063372f657c1461033f578063413185f21461035b576101f0565b80630f4161aa116101c35780630f4161aa1461028f5780631249c58b146102ad57806318160ddd146102b757806323b872dd146102d5576101f0565b806301ffc9a7146101f557806306fdde0314610225578063081812fc14610243578063095ea7b314610273575b600080fd5b61020f600480360381019061020a919061253a565b610617565b60405161021c9190612582565b60405180910390f35b61022d6106a9565b60405161023a9190612636565b60405180910390f35b61025d6004803603810190610258919061268e565b61073b565b60405161026a91906126fc565b60405180910390f35b61028d60048036038101906102889190612743565b6107b7565b005b6102976108f8565b6040516102a49190612582565b60405180910390f35b6102b561090f565b005b6102bf6109e3565b6040516102cc9190612792565b60405180910390f35b6102ef60048036038101906102ea91906127ad565b6109fa565b005b61030b60048036038101906103069190612865565b610d1c565b6040516103189190612582565b60405180910390f35b610329610d30565b60405161033691906128cb565b60405180910390f35b61035960048036038101906103549190612865565b610d36565b005b610363610e0e565b6040516103709190612582565b60405180910390f35b610393600480360381019061038e91906127ad565b610e1d565b005b6103af60048036038101906103aa9190612a16565b610e3d565b005b6103cb60048036038101906103c69190612865565b611072565b6040516103d89190612792565b60405180910390f35b6103fb60048036038101906103f6919061268e565b61117c565b60405161040891906126fc565b60405180910390f35b61042b60048036038101906104269190612abd565b61118e565b6040516104389190612792565b60405180910390f35b610449611246565b005b61046560048036038101906104609190612b16565b61125a565b005b610481600480360381019061047c9190612b6f565b61126c565b005b61048b611291565b60405161049891906126fc565b60405180910390f35b6104a96112bb565b6040516104b69190612636565b60405180910390f35b6104d960048036038101906104d49190612b9c565b61134d565b005b6104f560048036038101906104f09190612be5565b611368565b005b610511600480360381019061050c9190612cc6565b6114df565b005b61051b611552565b6040516105289190612792565b60405180910390f35b61054b6004803603810190610546919061268e565b611558565b6040516105589190612636565b60405180910390f35b61056961160e565b6040516105769190612792565b60405180910390f35b61059960048036038101906105949190612abd565b611614565b6040516105a69190612582565b60405180910390f35b6105c960048036038101906105c49190612d49565b611634565b6040516105d69190612582565b60405180910390f35b6105f960048036038101906105f49190612743565b6116c8565b005b61061560048036038101906106109190612abd565b611735565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061067257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106a25750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546106b890612db8565b80601f01602080910402602001604051908101604052809291908181526020018280546106e490612db8565b80156107315780601f1061070657610100808354040283529160200191610731565b820191906000526020600020905b81548152906001019060200180831161071457829003601f168201915b5050505050905090565b6000610746826117b8565b61077c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107c28261117c565b90508073ffffffffffffffffffffffffffffffffffffffff166107e3611817565b73ffffffffffffffffffffffffffffffffffffffff16146108465761080f8161080a611817565b611634565b610845576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600f60009054906101000a900460ff16905090565b600d54600161091c6109e3565b6109269190612e18565b1115610967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095e90612eba565b60405180910390fd5b61096f61181f565b5060016009600061097e611918565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506109e16109da611918565b6001611920565b565b60006109ed61193e565b6001546000540303905090565b6000610a0582611947565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a6c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610a7884611a13565b91509150610a8e8187610a89611817565b611a35565b610ada57610aa386610a9e611817565b611634565b610ad9576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610b40576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b4d8686866001611a79565b8015610b5857600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c2685610c02888887611a7f565b7c020000000000000000000000000000000000000000000000000000000017611aa7565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610cac5760006001850190506000600460008381526020019081526020016000205403610caa576000548114610ca9578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d148686866001611ad2565b505050505050565b6000610d288383611ad8565b905092915050565b600c5481565b600d546001610d436109e3565b610d4d9190612e18565b1115610d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8590612eba565b60405180910390fd5b610d988282611ad8565b50600160096000610da7611918565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610e0a610e03611918565b6001611920565b5050565b6000610e1861181f565b905090565b610e38838383604051806020016040528060008152506114df565b505050565b610e45611c40565b6000835103610e635760405180602001604052806000815250610efc565b8260119081610e729190613086565b8054610e7d90612db8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea990612db8565b8015610ef65780601f10610ecb57610100808354040283529160200191610ef6565b820191906000526020600020905b815481529060010190602001808311610ed957829003601f168201915b50505050505b506000825103610f1b5760405180602001604052806000815250610fb4565b8160129081610f2a9190613086565b8054610f3590612db8565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6190612db8565b8015610fae5780601f10610f8357610100808354040283529160200191610fae565b820191906000526020600020905b815481529060010190602001808311610f9157829003601f168201915b50505050505b506000815103610fd3576040518060200160405280600081525061106c565b8060149081610fe29190613086565b8054610fed90612db8565b80601f016020809104026020016040519081016040528092919081815260200182805461101990612db8565b80156110665780601f1061103b57610100808354040283529160200191611066565b820191906000526020600020905b81548152906001019060200180831161104957829003601f168201915b50505050505b50505050565b60008061107d611918565b60016040516020016110909291906131c1565b60405160208183030381529060405280519060200120905060006110f8858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5484611cbe565b9050801561116f576009600061110c611918565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561116457600092505050611176565b600192505050611176565b6000925050505b92915050565b600061118782611947565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111f5576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61124e611c40565b6112586000611cd5565b565b611262611c40565b80600c8190555050565b611274611c40565b80600f60006101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546112ca90612db8565b80601f01602080910402602001604051908101604052809291908181526020018280546112f690612db8565b80156113435780601f1061131857610100808354040283529160200191611343565b820191906000526020600020905b81548152906001019060200180831161132657829003601f168201915b5050505050905090565b611355611c40565b80601390816113649190613086565b5050565b611370611817565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113d4576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006113e1611817565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661148e611817565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114d39190612582565b60405180910390a35050565b6114ea8484846109fa565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461154c5761151584848484611d9b565b61154b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600e5481565b6060611563826117b8565b6115a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115999061325f565b60405180910390fd5b6115e860116115b084611eeb565b601260136115bd87611eeb565b60146040516020016115d49695949392919061359e565b60405160208183030381529060405261204b565b6040516020016115f891906136a5565b6040516020818303038152906040529050919050565b600d5481565b60096020528060005260406000206000915054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116d0611c40565b600d54816116dc6109e3565b6116e69190612e18565b1115611727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171e90612eba565b60405180910390fd5b6117318282611920565b5050565b61173d611c40565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a390613739565b60405180910390fd5b6117b581611cd5565b50565b6000816117c361193e565b111580156117d2575060005482105b8015611810575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600060011515600f60009054906101000a900460ff16151514611877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186e906137a5565b60405180910390fd5b6000151560096000611887611918565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190890613811565b60405180910390fd5b6001905090565b600033905090565b61193a8282604051806020016040528060008152506121ae565b5050565b60006001905090565b6000808290508061195661193e565b116119dc576000548110156119db5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036119d9575b600081036119cf5760046000836001900393508381526020019081526020016000205490506119a5565b8092505050611a0e565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611a9686868461224b565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600080151560096000611ae9611918565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6a90613811565b60405180910390fd5b6000611b7d611918565b6001604051602001611b909291906131c1565b604051602081830303815290604052805190602001209050611bf6848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483611cbe565b611c35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2c9061387d565b60405180910390fd5b600191505092915050565b611c48611918565b73ffffffffffffffffffffffffffffffffffffffff16611c66611291565b73ffffffffffffffffffffffffffffffffffffffff1614611cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb3906138e9565b60405180910390fd5b565b600082611ccb8584612254565b1490509392505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611dc1611817565b8786866040518563ffffffff1660e01b8152600401611de3949392919061395e565b6020604051808303816000875af1925050508015611e1f57506040513d601f19601f82011682018060405250810190611e1c91906139bf565b60015b611e98573d8060008114611e4f576040519150601f19603f3d011682016040523d82523d6000602084013e611e54565b606091505b506000815103611e90576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203611f32576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612046565b600082905060005b60008214611f64578080611f4d906139ec565b915050600a82611f5d9190613a63565b9150611f3a565b60008167ffffffffffffffff811115611f8057611f7f6128eb565b5b6040519080825280601f01601f191660200182016040528015611fb25781602001600182028036833780820191505090505b5090505b6000851461203f57600182611fcb9190613a94565b9150600a85611fda9190613ac8565b6030611fe69190612e18565b60f81b818381518110611ffc57611ffb613af9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120389190613a63565b9450611fb6565b8093505050505b919050565b6060600082510361206d576040518060200160405280600081525090506121a9565b6000604051806060016040528060408152602001613b83604091399050600060036002855161209c9190612e18565b6120a69190613a63565b60046120b29190613b28565b67ffffffffffffffff8111156120cb576120ca6128eb565b5b6040519080825280601f01601f1916602001820160405280156120fd5781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612169576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f811685015184536001840193505061210e565b50506003865106600181146121855760028114612198576121a0565b603d6001830353603d60028303536121a0565b603d60018303535b50505080925050505b919050565b6121b883836122aa565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461224657600080549050600083820390505b6121f86000868380600101945086611d9b565b61222e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106121e557816000541461224357600080fd5b50505b505050565b60009392505050565b60008082905060005b845181101561229f5761228a8286838151811061227d5761227c613af9565b5b602002602001015161247c565b91508080612297906139ec565b91505061225d565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612316576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203612350576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61235d6000848385611a79565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506123d4836123c56000866000611a7f565b6123ce856124a7565b17611aa7565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106123f8578060008190555050506124776000848385611ad2565b505050565b60008183106124945761248f82846124b7565b61249f565b61249e83836124b7565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612517816124e2565b811461252257600080fd5b50565b6000813590506125348161250e565b92915050565b6000602082840312156125505761254f6124d8565b5b600061255e84828501612525565b91505092915050565b60008115159050919050565b61257c81612567565b82525050565b60006020820190506125976000830184612573565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156125d75780820151818401526020810190506125bc565b838111156125e6576000848401525b50505050565b6000601f19601f8301169050919050565b60006126088261259d565b61261281856125a8565b93506126228185602086016125b9565b61262b816125ec565b840191505092915050565b6000602082019050818103600083015261265081846125fd565b905092915050565b6000819050919050565b61266b81612658565b811461267657600080fd5b50565b60008135905061268881612662565b92915050565b6000602082840312156126a4576126a36124d8565b5b60006126b284828501612679565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126e6826126bb565b9050919050565b6126f6816126db565b82525050565b600060208201905061271160008301846126ed565b92915050565b612720816126db565b811461272b57600080fd5b50565b60008135905061273d81612717565b92915050565b6000806040838503121561275a576127596124d8565b5b60006127688582860161272e565b925050602061277985828601612679565b9150509250929050565b61278c81612658565b82525050565b60006020820190506127a76000830184612783565b92915050565b6000806000606084860312156127c6576127c56124d8565b5b60006127d48682870161272e565b93505060206127e58682870161272e565b92505060406127f686828701612679565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f84011261282557612824612800565b5b8235905067ffffffffffffffff81111561284257612841612805565b5b60208301915083602082028301111561285e5761285d61280a565b5b9250929050565b6000806020838503121561287c5761287b6124d8565b5b600083013567ffffffffffffffff81111561289a576128996124dd565b5b6128a68582860161280f565b92509250509250929050565b6000819050919050565b6128c5816128b2565b82525050565b60006020820190506128e060008301846128bc565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612923826125ec565b810181811067ffffffffffffffff82111715612942576129416128eb565b5b80604052505050565b60006129556124ce565b9050612961828261291a565b919050565b600067ffffffffffffffff821115612981576129806128eb565b5b61298a826125ec565b9050602081019050919050565b82818337600083830152505050565b60006129b96129b484612966565b61294b565b9050828152602081018484840111156129d5576129d46128e6565b5b6129e0848285612997565b509392505050565b600082601f8301126129fd576129fc612800565b5b8135612a0d8482602086016129a6565b91505092915050565b600080600060608486031215612a2f57612a2e6124d8565b5b600084013567ffffffffffffffff811115612a4d57612a4c6124dd565b5b612a59868287016129e8565b935050602084013567ffffffffffffffff811115612a7a57612a796124dd565b5b612a86868287016129e8565b925050604084013567ffffffffffffffff811115612aa757612aa66124dd565b5b612ab3868287016129e8565b9150509250925092565b600060208284031215612ad357612ad26124d8565b5b6000612ae18482850161272e565b91505092915050565b612af3816128b2565b8114612afe57600080fd5b50565b600081359050612b1081612aea565b92915050565b600060208284031215612b2c57612b2b6124d8565b5b6000612b3a84828501612b01565b91505092915050565b612b4c81612567565b8114612b5757600080fd5b50565b600081359050612b6981612b43565b92915050565b600060208284031215612b8557612b846124d8565b5b6000612b9384828501612b5a565b91505092915050565b600060208284031215612bb257612bb16124d8565b5b600082013567ffffffffffffffff811115612bd057612bcf6124dd565b5b612bdc848285016129e8565b91505092915050565b60008060408385031215612bfc57612bfb6124d8565b5b6000612c0a8582860161272e565b9250506020612c1b85828601612b5a565b9150509250929050565b600067ffffffffffffffff821115612c4057612c3f6128eb565b5b612c49826125ec565b9050602081019050919050565b6000612c69612c6484612c25565b61294b565b905082815260208101848484011115612c8557612c846128e6565b5b612c90848285612997565b509392505050565b600082601f830112612cad57612cac612800565b5b8135612cbd848260208601612c56565b91505092915050565b60008060008060808587031215612ce057612cdf6124d8565b5b6000612cee8782880161272e565b9450506020612cff8782880161272e565b9350506040612d1087828801612679565b925050606085013567ffffffffffffffff811115612d3157612d306124dd565b5b612d3d87828801612c98565b91505092959194509250565b60008060408385031215612d6057612d5f6124d8565b5b6000612d6e8582860161272e565b9250506020612d7f8582860161272e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612dd057607f821691505b602082108103612de357612de2612d89565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e2382612658565b9150612e2e83612658565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612e6357612e62612de9565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000612ea46014836125a8565b9150612eaf82612e6e565b602082019050919050565b60006020820190508181036000830152612ed381612e97565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612f3c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612eff565b612f468683612eff565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612f83612f7e612f7984612658565b612f5e565b612658565b9050919050565b6000819050919050565b612f9d83612f68565b612fb1612fa982612f8a565b848454612f0c565b825550505050565b600090565b612fc6612fb9565b612fd1818484612f94565b505050565b5b81811015612ff557612fea600082612fbe565b600181019050612fd7565b5050565b601f82111561303a5761300b81612eda565b61301484612eef565b81016020851015613023578190505b61303761302f85612eef565b830182612fd6565b50505b505050565b600082821c905092915050565b600061305d6000198460080261303f565b1980831691505092915050565b6000613076838361304c565b9150826002028217905092915050565b61308f8261259d565b67ffffffffffffffff8111156130a8576130a76128eb565b5b6130b28254612db8565b6130bd828285612ff9565b600060209050601f8311600181146130f057600084156130de578287015190505b6130e8858261306a565b865550613150565b601f1984166130fe86612eda565b60005b8281101561312657848901518255600182019150602085019450602081019050613101565b86831015613143578489015161313f601f89168261304c565b8355505b6001600288020188555050505b505050505050565b60008160601b9050919050565b600061317082613158565b9050919050565b600061318282613165565b9050919050565b61319a613195826126db565b613177565b82525050565b6000819050919050565b6131bb6131b682612658565b6131a0565b82525050565b60006131cd8285613189565b6014820191506131dd82846131aa565b6020820191508190509392505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613249602f836125a8565b9150613254826131ed565b604082019050919050565b600060208201905081810360008301526132788161323c565b9050919050565b600081905092915050565b7f7b00000000000000000000000000000000000000000000000000000000000000600082015250565b60006132c060018361327f565b91506132cb8261328a565b600182019050919050565b7f226e616d65223a20220000000000000000000000000000000000000000000000600082015250565b600061330c60098361327f565b9150613317826132d6565b600982019050919050565b6000815461332f81612db8565b613339818661327f565b9450600182166000811461335457600181146133695761339c565b60ff198316865281151582028601935061339c565b61337285612eda565b60005b8381101561339457815481890152600182019150602081019050613375565b838801955050505b50505092915050565b7f2023000000000000000000000000000000000000000000000000000000000000600082015250565b60006133db60028361327f565b91506133e6826133a5565b600282019050919050565b60006133fc8261259d565b613406818561327f565b93506134168185602086016125b9565b80840191505092915050565b7f222c200000000000000000000000000000000000000000000000000000000000600082015250565b600061345860038361327f565b915061346382613422565b600382019050919050565b7f2265787465726e616c5f75726c223a2022000000000000000000000000000000600082015250565b60006134a460118361327f565b91506134af8261346e565b601182019050919050565b7f22696d616765223a202200000000000000000000000000000000000000000000600082015250565b60006134f0600a8361327f565b91506134fb826134ba565b600a82019050919050565b7f2200000000000000000000000000000000000000000000000000000000000000600082015250565b600061353c60018361327f565b915061354782613506565b600182019050919050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b600061358860018361327f565b915061359382613552565b600182019050919050565b60006135a9826132b3565b91506135b4826132ff565b91506135c08289613322565b91506135cb826133ce565b91506135d782886133f1565b91506135e28261344b565b91506135ed82613497565b91506135f98287613322565b91506136048261344b565b915061360f826134e3565b915061361b8286613322565b915061362782856133f1565b91506136338284613322565b915061363e8261352f565b91506136498261357b565b9150819050979650505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b600061368f601d8361327f565b915061369a82613659565b601d82019050919050565b60006136b082613682565b91506136bc82846133f1565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006137236026836125a8565b915061372e826136c7565b604082019050919050565b6000602082019050818103600083015261375281613716565b9050919050565b7f5075626c6963206d696e74206e6f7420617661696c61626c6500000000000000600082015250565b600061378f6019836125a8565b915061379a82613759565b602082019050919050565b600060208201905081810360008301526137be81613782565b9050919050565b7f596f7527766520616c726561647920636c61696d656400000000000000000000600082015250565b60006137fb6016836125a8565b9150613806826137c5565b602082019050919050565b6000602082019050818103600083015261382a816137ee565b9050919050565b7f4e6f20636c61696d20696e207468652077686974656c69737421000000000000600082015250565b6000613867601a836125a8565b915061387282613831565b602082019050919050565b600060208201905081810360008301526138968161385a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138d36020836125a8565b91506138de8261389d565b602082019050919050565b60006020820190508181036000830152613902816138c6565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061393082613909565b61393a8185613914565b935061394a8185602086016125b9565b613953816125ec565b840191505092915050565b600060808201905061397360008301876126ed565b61398060208301866126ed565b61398d6040830185612783565b818103606083015261399f8184613925565b905095945050505050565b6000815190506139b98161250e565b92915050565b6000602082840312156139d5576139d46124d8565b5b60006139e3848285016139aa565b91505092915050565b60006139f782612658565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613a2957613a28612de9565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613a6e82612658565b9150613a7983612658565b925082613a8957613a88613a34565b5b828204905092915050565b6000613a9f82612658565b9150613aaa83612658565b925082821015613abd57613abc612de9565b5b828203905092915050565b6000613ad382612658565b9150613ade83612658565b925082613aee57613aed613a34565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613b3382612658565b9150613b3e83612658565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b7757613b76612de9565b5b82820290509291505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122020c805ed3768d61037d30055f22038fafa38b8979095a48a839c5eff53c724be64736f6c634300080f0033

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

1f89400a2bcced6f91419fba25519ce8dc3a01437ee829997d3ba0bd4f6e06450000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _merkleRoot (bytes32): 0x1f89400a2bcced6f91419fba25519ce8dc3a01437ee829997d3ba0bd4f6e0645
Arg [1] : _owner (address): 0x0000000000000000000000000000000000000000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 1f89400a2bcced6f91419fba25519ce8dc3a01437ee829997d3ba0bd4f6e0645
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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