ETH Price: $3,199.37 (+4.97%)

Token

PLSDSock Genesis (PLSDSock)
 

Overview

Max Total Supply

743 PLSDSock

Holders

178

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 PLSDSock
0x252431a7EF973D5f4D7D5be0B33e5C1f28Db9f5C
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:
PLSDSock

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : PLSDSock.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;

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

contract PLSDSock is ERC721A, Ownable, ReentrancyGuard {

  mapping(address => uint256) public whitelistClaimedAmount;
  mapping(address => uint256) public amountBurned;
  mapping(uint256 => bool) private _claimedSocks;

  string private _name = "PLSDSock Genesis";
  string private _symbol = "PLSDSock";

  bytes32 public merkleRoot;
  uint256 public maxSupply = 1085;
  uint256 public fee = 0.0085 ether; // 8500000000000000 wei

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

  string private baseUri = "ipfs://nonexistentkey/"; // baseUri MUST end in a slash

  // Metadata bits
  string private metadataName = 'PLSDSock Genesis';
  string private externalUrl = "https://pulsedogecoin.com/";

  // The final ver. of animationUrl and imageUrl will be a basename with a slash.
  // Example: /image.gif
  string private animationUrl = "ipfs://bafybeidevyv7ahy7li2ips4cz5euglgwsxbsd377kyqo32k6k32viyxcsi/blob";
  string private imageUrl = "ipfs://bafybeihhsup6evyhugc7s23zsaei4qlr5d4afpjegczzkkgxrme7on633i/blob";

  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 canClaim(
    bytes32[] calldata proof,
    uint256 whitelistAmount,
    uint256 mintAmount
  )
    external
    view
    returns(bool)
  {
    return _assertCanClaim(proof, whitelistAmount, mintAmount);
  }

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

    if(verified) {
      uint256 whitelistClaimed = whitelistClaimedAmount[_msgSender()];

      return whitelistClaimed == uint256(0x0) ? whitelistAmount : whitelistAmount - whitelistClaimed;
    } else {
      return 0;
    }
  }

  function _assertCanClaim(
    bytes32[] calldata proof,
    uint256 whitelistAmount,
    uint256 mintAmount
  )
    internal
    view
    returns(bool)
  {
    bytes32 leaf = keccak256(abi.encodePacked(_msgSender(), whitelistAmount));
    require(MerkleProof.verify(proof, merkleRoot, leaf), "No claim in the whitelist!");

    uint256 whitelistClaimed = whitelistClaimedAmount[_msgSender()] == uint256(0x0)
      ? 0
      : whitelistClaimedAmount[_msgSender()];

    require(whitelistClaimed + mintAmount <= whitelistAmount, "Exceeded your whitelist amount!");

    return true;
  }

  function _assertFeeEnough(uint256 mintAmount)
    internal
    view
    returns(bool)
  {
    require(msg.value >= (fee * mintAmount), "Not enough ETH provided for fee");

    return true;
  }

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

  /*
  ******
  ** Minting functions
  ******
  */
  function whitelistMint(bytes32[] calldata proof, uint256 whitelistAmount, uint256 mintAmount) public payable mintCompliance(mintAmount) nonReentrant {
    _assertCanClaim(proof, whitelistAmount, mintAmount);
    _assertFeeEnough(mintAmount);

    whitelistClaimedAmount[_msgSender()] += mintAmount;
    _safeMint(_msgSender(), mintAmount);
  }

  function mintForAddress(address receiver, uint256 mintAmount) public mintCompliance(mintAmount) onlyOwner {
    _safeMint(receiver, mintAmount);
  }

  /*
  ******
  ** Token URI functions
  ******
  */
  function tokenURI(uint256 tokenId) public view virtual override returns(string memory) {
    if (revealed == false) {
      return _hiddenTokenUri(tokenId);
    }

    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, '", ',
        '"animation_url": "', baseUri, Strings.toString(tokenId), animationUrl, '", ',
        '"attributes": [',
          '{',
            '"trait_type": "Sock Claim Status",',
            '"value": ', _claimedSocks[tokenId] ? '"Claimed"' : '"Not Claimed"',
          '}',
        ']',
      '}'
    ))));
  }

  function _hiddenTokenUri(uint256 tokenId) internal view returns(string memory) {
    return string(abi.encodePacked('data:application/json;base64,', Base64.encode(abi.encodePacked(
      '{',
        '"name": "', metadataName, ' #', Strings.toString(tokenId), '", ',
        '"external_url": "', externalUrl, '", ',
        '"image": "', imageUrl, '", ',
        '"animation_url": "', animationUrl, '", ',
        '"attributes": [',
          '{',
            '"trait_type": "Sock Claim Status",',
            '"value": ', _claimedSocks[tokenId] ? '"Claimed"' : '"Not Claimed"',
          '}',
        ']',
      '}'
    ))));
  }

  /*
  ******
  ** Royalty Info (EIP 2981)
  ** This interface isn't supported yet by major nft marketplaces, but could be in the future
  ******
  */

  // Support the royalty interface
  function supportsInterface(bytes4 interfaceId) public pure override returns (bool) {

    return
      interfaceId == 0x2a55205a || // ERC165 interface ID for ERC2981 NFT Royalty Standard.
      interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
      interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
      interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
  }

  function setRoyalty(address /*_receiver*/, uint96 _fee) public onlyOwner {
    royaltyFee = _fee;
  }

  // Royalty the same regardless of tokenId
  function royaltyInfo(uint256 /*_tokenId*/, uint256 _salePrice) public view virtual returns (address, uint256) {
    uint256 royaltyAmount = (_salePrice * royaltyFee) / 10000;

    return (owner(), royaltyAmount);
  }

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

  /*
  ******
  ** Burn baby burn
  ******
  */
  function burn(uint256 tokenId) public virtual {
    amountBurned[_msgSender()] += 1;
    _burn(tokenId, true);
  }

  /*
  ******
  ** Claimer-aimers
  ******
  */
  function claimSock(uint256 tokenId) public {
    require(ownerOf(tokenId) == _msgSender(), "You must own tokens that you claim");
    require(_claimedSocks[tokenId] == false, "Sock already claimed");

    _claimedSocks[tokenId] = true;
  }

  function hasClaimedSock(uint256 tokenId) public view returns(bool) {
    return _claimedSocks[tokenId];
  }

  /*
  ******
  ** Withdrawly
  ******
  */
  function withdraw() public onlyOwner {
    payable(owner()).transfer(address(this).balance);
    require(address(this).balance == 0x0, "Transfer failed");
  }
}

File 2 of 9 : 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 9 : 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 9 : 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 9 : 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 9 : 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 9 : 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 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 9 of 9 : 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":"","type":"address"}],"name":"amountBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"whitelistAmount","type":"uint256"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"canClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimSock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"hasClaimedSock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"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":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"whitelistAmount","type":"uint256"}],"name":"remainingMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setFee","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":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint96","name":"_fee","type":"uint96"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_metadataName","type":"string"},{"internalType":"string","name":"_externalUrl","type":"string"},{"internalType":"string","name":"_imageUrl","type":"string"},{"internalType":"string","name":"_animationUrl","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":"pure","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":"address","name":"","type":"address"}],"name":"whitelistClaimedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"whitelistAmount","type":"uint256"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060400160405280601081526020017f504c5344536f636b2047656e6573697300000000000000000000000000000000815250600d90805190602001906200005192919062000518565b506040518060400160405280600881526020017f504c5344536f636b000000000000000000000000000000000000000000000000815250600e90805190602001906200009f92919062000518565b5061043d601055661e32b4789740006011556000601260006101000a81548160ff0219169083151502179055506103e86013556040518060400160405280601681526020017f697066733a2f2f6e6f6e6578697374656e746b65792f00000000000000000000815250601490805190602001906200011f92919062000518565b506040518060400160405280601081526020017f504c5344536f636b2047656e6573697300000000000000000000000000000000815250601590805190602001906200016d92919062000518565b506040518060400160405280601a81526020017f68747470733a2f2f70756c7365646f6765636f696e2e636f6d2f00000000000081525060169080519060200190620001bb92919062000518565b50604051806080016040528060478152602001620051e36047913960179080519060200190620001ed92919062000518565b506040518060800160405280604781526020016200522a60479139601890805190602001906200021f92919062000518565b503480156200022d57600080fd5b50604051620052713803806200527183398181016040528101906200025391906200066d565b600d80546200026290620006e3565b80601f01602080910402602001604051908101604052809291908181526020018280546200029090620006e3565b8015620002e15780601f10620002b557610100808354040283529160200191620002e1565b820191906000526020600020905b815481529060010190602001808311620002c357829003601f168201915b5050505050600e8054620002f590620006e3565b80601f01602080910402602001604051908101604052809291908181526020018280546200032390620006e3565b8015620003745780601f10620003485761010080835404028352916020019162000374565b820191906000526020600020905b8154815290600101906020018083116200035657829003601f168201915b505050505081600290805190602001906200039192919062000518565b508060039080519060200190620003aa92919062000518565b50620003bb6200044160201b60201c565b6000819055505050620003e3620003d76200044a60201b60201c565b6200045260201b60201c565b600160098190555081600f81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614620004395762000438816200045260201b60201c565b5b505062000718565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200052690620006e3565b90600052602060002090601f0160209004810192826200054a576000855562000596565b82601f106200056557805160ff191683800117855562000596565b8280016001018555821562000596579182015b828111156200059557825182559160200191906001019062000578565b5b509050620005a59190620005a9565b5090565b5b80821115620005c4576000816000905550600101620005aa565b5090565b600080fd5b6000819050919050565b620005e281620005cd565b8114620005ee57600080fd5b50565b6000815190506200060281620005d7565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006358262000608565b9050919050565b620006478162000628565b81146200065357600080fd5b50565b60008151905062000667816200063c565b92915050565b60008060408385031215620006875762000686620005c8565b5b60006200069785828601620005f1565b9250506020620006aa8582860162000656565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006fc57607f821691505b602082108103620007125762000711620006b4565b5b50919050565b614abb80620007286000396000f3fe6080604052600436106102255760003560e01c8063715018a611610123578063c13c852d116100ab578063e985e9c51161006f578063e985e9c514610828578063f254933d14610865578063f2fde38b1461088e578063fa6b9ded146108b7578063fb195490146108f457610225565b8063c13c852d1461072f578063c87b56dd1461076c578063d5abeb01146107a9578063ddca3f43146107d4578063e0a80853146107ff57610225565b806395d89b41116100f257806395d89b4114610660578063a0bcfc7f1461068b578063a22cb465146106b4578063b09d7a4a146106dd578063b88d4fde1461070657610225565b8063715018a6146105cc5780637cb64759146105e35780638da5cb5b1461060c5780638f2fc60b1461063757610225565b80633293cd07116101b1578063523edda711610175578063523edda7146104af5780636352211e146104ec57806369fe0e2d146105295780636a5a5eae1461055257806370a082311461058f57610225565b80633293cd07146103f25780633ccfd60b1461041b57806342842e0e1461043257806342966c681461045b578063518302271461048457610225565b806318160ddd116101f857806318160ddd146102f857806323b872dd14610323578063278b51a81461034c5780632a55205a146103895780632eb4a7ab146103c757610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612ffb565b610910565b60405161025e9190613043565b60405180910390f35b34801561027357600080fd5b5061027c6109d2565b60405161028991906130f7565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b4919061314f565b610a64565b6040516102c691906131bd565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613204565b610ae0565b005b34801561030457600080fd5b5061030d610c21565b60405161031a9190613253565b60405180910390f35b34801561032f57600080fd5b5061034a6004803603810190610345919061326e565b610c38565b005b34801561035857600080fd5b50610373600480360381019061036e9190613326565b610f5a565b6040516103809190613253565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab9190613386565b611065565b6040516103be9291906133c6565b60405180910390f35b3480156103d357600080fd5b506103dc61109c565b6040516103e99190613408565b60405180910390f35b3480156103fe57600080fd5b506104196004803603810190610414919061314f565b6110a2565b005b34801561042757600080fd5b506104306111b5565b005b34801561043e57600080fd5b506104596004803603810190610454919061326e565b611250565b005b34801561046757600080fd5b50610482600480360381019061047d919061314f565b611270565b005b34801561049057600080fd5b506104996112dc565b6040516104a69190613043565b60405180910390f35b3480156104bb57600080fd5b506104d660048036038101906104d1919061314f565b6112ef565b6040516104e39190613043565b60405180910390f35b3480156104f857600080fd5b50610513600480360381019061050e919061314f565b611319565b60405161052091906131bd565b60405180910390f35b34801561053557600080fd5b50610550600480360381019061054b919061314f565b61132b565b005b34801561055e57600080fd5b5061057960048036038101906105749190613423565b61133d565b6040516105869190613253565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b19190613423565b611355565b6040516105c39190613253565b60405180910390f35b3480156105d857600080fd5b506105e161140d565b005b3480156105ef57600080fd5b5061060a6004803603810190610605919061347c565b611421565b005b34801561061857600080fd5b50610621611433565b60405161062e91906131bd565b60405180910390f35b34801561064357600080fd5b5061065e600480360381019061065991906134ed565b61145d565b005b34801561066c57600080fd5b5061067561147e565b60405161068291906130f7565b60405180910390f35b34801561069757600080fd5b506106b260048036038101906106ad919061365d565b611510565b005b3480156106c057600080fd5b506106db60048036038101906106d691906136d2565b611532565b005b3480156106e957600080fd5b5061070460048036038101906106ff9190613712565b6116a9565b005b34801561071257600080fd5b5061072d6004803603810190610728919061388a565b6119b3565b005b34801561073b57600080fd5b506107566004803603810190610751919061390d565b611a26565b6040516107639190613043565b60405180910390f35b34801561077857600080fd5b50610793600480360381019061078e919061314f565b611a3e565b6040516107a091906130f7565b60405180910390f35b3480156107b557600080fd5b506107be611bc8565b6040516107cb9190613253565b60405180910390f35b3480156107e057600080fd5b506107e9611bce565b6040516107f69190613253565b60405180910390f35b34801561080b57600080fd5b5061082660048036038101906108219190613981565b611bd4565b005b34801561083457600080fd5b5061084f600480360381019061084a91906139ae565b611bf9565b60405161085c9190613043565b60405180910390f35b34801561087157600080fd5b5061088c60048036038101906108879190613204565b611c8d565b005b34801561089a57600080fd5b506108b560048036038101906108b09190613423565b611cfc565b005b3480156108c357600080fd5b506108de60048036038101906108d99190613423565b611d7f565b6040516108eb9190613253565b60405180910390f35b61090e6004803603810190610909919061390d565b611d97565b005b6000632a55205a60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096b57506301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061099b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109cb5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546109e190613a1d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0d90613a1d565b8015610a5a5780601f10610a2f57610100808354040283529160200191610a5a565b820191906000526020600020905b815481529060010190602001808311610a3d57829003601f168201915b5050505050905090565b6000610a6f82611ed0565b610aa5576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610aeb82611319565b90508073ffffffffffffffffffffffffffffffffffffffff16610b0c611f2f565b73ffffffffffffffffffffffffffffffffffffffff1614610b6f57610b3881610b33611f2f565b611bf9565b610b6e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610c2b611f37565b6001546000540303905090565b6000610c4382611f40565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610caa576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610cb68461200c565b91509150610ccc8187610cc7611f2f565b61202e565b610d1857610ce186610cdc611f2f565b611bf9565b610d17576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610d7e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d8b8686866001612072565b8015610d9657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610e6485610e40888887612078565b7c0200000000000000000000000000000000000000000000000000000000176120a0565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610eea5760006001850190506000600460008381526020019081526020016000205403610ee8576000548114610ee7578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f5286868660016120cb565b505050505050565b600080610f656120d1565b83604051602001610f77929190613ab7565b6040516020818303038152906040528051906020012090506000610fdf868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f54846120d9565b90508015611057576000600a6000610ff56120d1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811461104b5780856110469190613b12565b61104d565b845b935050505061105e565b6000925050505b9392505050565b60008060006127106013548561107b9190613b46565b6110859190613bcf565b905061108f611433565b8192509250509250929050565b600f5481565b6110aa6120d1565b73ffffffffffffffffffffffffffffffffffffffff166110c982611319565b73ffffffffffffffffffffffffffffffffffffffff161461111f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111690613c72565b60405180910390fd5b60001515600c600083815260200190815260200160002060009054906101000a900460ff16151514611186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117d90613cde565b60405180910390fd5b6001600c600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6111bd6120f0565b6111c5611433565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561120a573d6000803e3d6000fd5b506000471461124e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124590613d4a565b60405180910390fd5b565b61126b838383604051806020016040528060008152506119b3565b505050565b6001600b600061127e6120d1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112c79190613d6a565b925050819055506112d981600161216e565b50565b601260009054906101000a900460ff1681565b6000600c600083815260200190815260200160002060009054906101000a900460ff169050919050565b600061132482611f40565b9050919050565b6113336120f0565b8060118190555050565b600a6020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113bc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6114156120f0565b61141f60006123c0565b565b6114296120f0565b80600f8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114656120f0565b806bffffffffffffffffffffffff166013819055505050565b60606003805461148d90613a1d565b80601f01602080910402602001604051908101604052809291908181526020018280546114b990613a1d565b80156115065780601f106114db57610100808354040283529160200191611506565b820191906000526020600020905b8154815290600101906020018083116114e957829003601f168201915b5050505050905090565b6115186120f0565b806014908051906020019061152e929190612eec565b5050565b61153a611f2f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361159e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006115ab611f2f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611658611f2f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161169d9190613043565b60405180910390a35050565b6116b16120f0565b60008451036116cf576040518060200160405280600081525061176f565b83601590805190602001906116e5929190612eec565b80546116f090613a1d565b80601f016020809104026020016040519081016040528092919081815260200182805461171c90613a1d565b80156117695780601f1061173e57610100808354040283529160200191611769565b820191906000526020600020905b81548152906001019060200180831161174c57829003601f168201915b50505050505b50600083510361178e576040518060200160405280600081525061182e565b82601690805190602001906117a4929190612eec565b80546117af90613a1d565b80601f01602080910402602001604051908101604052809291908181526020018280546117db90613a1d565b80156118285780601f106117fd57610100808354040283529160200191611828565b820191906000526020600020905b81548152906001019060200180831161180b57829003601f168201915b50505050505b50600081510361184d57604051806020016040528060008152506118ed565b8060179080519060200190611863929190612eec565b805461186e90613a1d565b80601f016020809104026020016040519081016040528092919081815260200182805461189a90613a1d565b80156118e75780601f106118bc576101008083540402835291602001916118e7565b820191906000526020600020905b8154815290600101906020018083116118ca57829003601f168201915b50505050505b50600082510361190c57604051806020016040528060008152506119ac565b8160189080519060200190611922929190612eec565b805461192d90613a1d565b80601f016020809104026020016040519081016040528092919081815260200182805461195990613a1d565b80156119a65780601f1061197b576101008083540402835291602001916119a6565b820191906000526020600020905b81548152906001019060200180831161198957829003601f168201915b50505050505b5050505050565b6119be848484610c38565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611a20576119e984848484612486565b611a1f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000611a34858585856125d6565b9050949350505050565b606060001515601260009054906101000a900460ff16151503611a6b57611a6482612794565b9050611bc3565b611a7482611ed0565b611ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaa90613e32565b60405180910390fd5b611ba16015611ac184612890565b60166014611ace87612890565b60186014611adb8a612890565b6017600c60008d815260200190815260200160002060009054906101000a900460ff16611b3d576040518060400160405280600d81526020017f224e6f7420436c61696d65642200000000000000000000000000000000000000815250611b74565b6040518060400160405280600981526020017f22436c61696d65642200000000000000000000000000000000000000000000008152505b604051602001611b8d9a999897969594939291906142d8565b6040516020818303038152906040526129f0565b604051602001611bb1919061446b565b60405160208183030381529060405290505b919050565b60105481565b60115481565b611bdc6120f0565b80601260006101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8060105481611c9a610c21565b611ca49190613d6a565b1115611ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdc906144d9565b60405180910390fd5b611ced6120f0565b611cf78383612b53565b505050565b611d046120f0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6a9061456b565b60405180910390fd5b611d7c816123c0565b50565b600b6020528060005260406000206000915090505481565b8060105481611da4610c21565b611dae9190613d6a565b1115611def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de6906144d9565b60405180910390fd5b600260095403611e34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2b906145d7565b60405180910390fd5b6002600981905550611e48858585856125d6565b50611e5282612b71565b5081600a6000611e606120d1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ea99190613d6a565b92505081905550611ec1611ebb6120d1565b83612b53565b60016009819055505050505050565b600081611edb611f37565b11158015611eea575060005482105b8015611f28575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b60008082905080611f4f611f37565b11611fd557600054811015611fd45760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611fd2575b60008103611fc8576004600083600190039350838152602001908152602001600020549050611f9e565b8092505050612007565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861208f868684612bcc565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6000826120e68584612bd5565b1490509392505050565b6120f86120d1565b73ffffffffffffffffffffffffffffffffffffffff16612116611433565b73ffffffffffffffffffffffffffffffffffffffff161461216c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216390614643565b60405180910390fd5b565b600061217983611f40565b9050600081905060008061218c8661200c565b9150915084156121f5576121a881846121a3611f2f565b61202e565b6121f4576121bd836121b8611f2f565b611bf9565b6121f3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612203836000886001612072565b801561220e57600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506122b68361227385600088612078565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176120a0565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085160361233c576000600187019050600060046000838152602001908152602001600020540361233a576000548114612339578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123a68360008860016120cb565b600160008154809291906001019190505550505050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026124ac611f2f565b8786866040518563ffffffff1660e01b81526004016124ce94939291906146b8565b6020604051808303816000875af192505050801561250a57506040513d601f19601f820116820180604052508101906125079190614719565b60015b612583573d806000811461253a576040519150601f19603f3d011682016040523d82523d6000602084013e61253f565b606091505b50600081510361257b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000806125e16120d1565b846040516020016125f3929190613ab7565b604051602081830303815290604052805190602001209050612659868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f54836120d9565b612698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268f90614792565b60405180910390fd5b600080600a60006126a76120d1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541461273357600a60006126f36120d1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612736565b60005b90508484826127459190613d6a565b1115612786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277d906147fe565b60405180910390fd5b600192505050949350505050565b606061286a60156127a484612890565b601660186017600c600089815260200190815260200160002060009054906101000a900460ff1661280a576040518060400160405280600d81526020017f224e6f7420436c61696d65642200000000000000000000000000000000000000815250612841565b6040518060400160405280600981526020017f22436c61696d65642200000000000000000000000000000000000000000000008152505b6040516020016128569695949392919061481e565b6040516020818303038152906040526129f0565b60405160200161287a919061446b565b6040516020818303038152906040529050919050565b6060600082036128d7576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129eb565b600082905060005b600082146129095780806128f290614931565b915050600a826129029190613bcf565b91506128df565b60008167ffffffffffffffff81111561292557612924613532565b5b6040519080825280601f01601f1916602001820160405280156129575781602001600182028036833780820191505090505b5090505b600085146129e4576001826129709190613b12565b9150600a8561297f9190614979565b603061298b9190613d6a565b60f81b8183815181106129a1576129a06149aa565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129dd9190613bcf565b945061295b565b8093505050505b919050565b60606000825103612a1257604051806020016040528060008152509050612b4e565b6000604051806060016040528060408152602001614a466040913990506000600360028551612a419190613d6a565b612a4b9190613bcf565b6004612a579190613b46565b67ffffffffffffffff811115612a7057612a6f613532565b5b6040519080825280601f01601f191660200182016040528015612aa25781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612b0e576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612ab3565b5050600386510660018114612b2a5760028114612b3d57612b45565b603d6001830353603d6002830353612b45565b603d60018303535b50505080925050505b919050565b612b6d828260405180602001604052806000815250612c2b565b5050565b600081601154612b819190613b46565b341015612bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bba90614a25565b60405180910390fd5b60019050919050565b60009392505050565b60008082905060005b8451811015612c2057612c0b82868381518110612bfe57612bfd6149aa565b5b6020026020010151612cc8565b91508080612c1890614931565b915050612bde565b508091505092915050565b612c358383612cf3565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612cc357600080549050600083820390505b612c756000868380600101945086612486565b612cab576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612c62578160005414612cc057600080fd5b50505b505050565b6000818310612ce057612cdb8284612ec5565b612ceb565b612cea8383612ec5565b5b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612d5f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203612d99576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612da66000848385612072565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612e1d83612e0e6000866000612078565b612e1785612edc565b176120a0565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612e4157806000819055505050612ec060008483856120cb565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b828054612ef890613a1d565b90600052602060002090601f016020900481019282612f1a5760008555612f61565b82601f10612f3357805160ff1916838001178555612f61565b82800160010185558215612f61579182015b82811115612f60578251825591602001919060010190612f45565b5b509050612f6e9190612f72565b5090565b5b80821115612f8b576000816000905550600101612f73565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612fd881612fa3565b8114612fe357600080fd5b50565b600081359050612ff581612fcf565b92915050565b60006020828403121561301157613010612f99565b5b600061301f84828501612fe6565b91505092915050565b60008115159050919050565b61303d81613028565b82525050565b60006020820190506130586000830184613034565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561309857808201518184015260208101905061307d565b838111156130a7576000848401525b50505050565b6000601f19601f8301169050919050565b60006130c98261305e565b6130d38185613069565b93506130e381856020860161307a565b6130ec816130ad565b840191505092915050565b6000602082019050818103600083015261311181846130be565b905092915050565b6000819050919050565b61312c81613119565b811461313757600080fd5b50565b60008135905061314981613123565b92915050565b60006020828403121561316557613164612f99565b5b60006131738482850161313a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006131a78261317c565b9050919050565b6131b78161319c565b82525050565b60006020820190506131d260008301846131ae565b92915050565b6131e18161319c565b81146131ec57600080fd5b50565b6000813590506131fe816131d8565b92915050565b6000806040838503121561321b5761321a612f99565b5b6000613229858286016131ef565b925050602061323a8582860161313a565b9150509250929050565b61324d81613119565b82525050565b60006020820190506132686000830184613244565b92915050565b60008060006060848603121561328757613286612f99565b5b6000613295868287016131ef565b93505060206132a6868287016131ef565b92505060406132b78682870161313a565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126132e6576132e56132c1565b5b8235905067ffffffffffffffff811115613303576133026132c6565b5b60208301915083602082028301111561331f5761331e6132cb565b5b9250929050565b60008060006040848603121561333f5761333e612f99565b5b600084013567ffffffffffffffff81111561335d5761335c612f9e565b5b613369868287016132d0565b9350935050602061337c8682870161313a565b9150509250925092565b6000806040838503121561339d5761339c612f99565b5b60006133ab8582860161313a565b92505060206133bc8582860161313a565b9150509250929050565b60006040820190506133db60008301856131ae565b6133e86020830184613244565b9392505050565b6000819050919050565b613402816133ef565b82525050565b600060208201905061341d60008301846133f9565b92915050565b60006020828403121561343957613438612f99565b5b6000613447848285016131ef565b91505092915050565b613459816133ef565b811461346457600080fd5b50565b60008135905061347681613450565b92915050565b60006020828403121561349257613491612f99565b5b60006134a084828501613467565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b6134ca816134a9565b81146134d557600080fd5b50565b6000813590506134e7816134c1565b92915050565b6000806040838503121561350457613503612f99565b5b6000613512858286016131ef565b9250506020613523858286016134d8565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61356a826130ad565b810181811067ffffffffffffffff8211171561358957613588613532565b5b80604052505050565b600061359c612f8f565b90506135a88282613561565b919050565b600067ffffffffffffffff8211156135c8576135c7613532565b5b6135d1826130ad565b9050602081019050919050565b82818337600083830152505050565b60006136006135fb846135ad565b613592565b90508281526020810184848401111561361c5761361b61352d565b5b6136278482856135de565b509392505050565b600082601f830112613644576136436132c1565b5b81356136548482602086016135ed565b91505092915050565b60006020828403121561367357613672612f99565b5b600082013567ffffffffffffffff81111561369157613690612f9e565b5b61369d8482850161362f565b91505092915050565b6136af81613028565b81146136ba57600080fd5b50565b6000813590506136cc816136a6565b92915050565b600080604083850312156136e9576136e8612f99565b5b60006136f7858286016131ef565b9250506020613708858286016136bd565b9150509250929050565b6000806000806080858703121561372c5761372b612f99565b5b600085013567ffffffffffffffff81111561374a57613749612f9e565b5b6137568782880161362f565b945050602085013567ffffffffffffffff81111561377757613776612f9e565b5b6137838782880161362f565b935050604085013567ffffffffffffffff8111156137a4576137a3612f9e565b5b6137b08782880161362f565b925050606085013567ffffffffffffffff8111156137d1576137d0612f9e565b5b6137dd8782880161362f565b91505092959194509250565b600067ffffffffffffffff82111561380457613803613532565b5b61380d826130ad565b9050602081019050919050565b600061382d613828846137e9565b613592565b9050828152602081018484840111156138495761384861352d565b5b6138548482856135de565b509392505050565b600082601f830112613871576138706132c1565b5b813561388184826020860161381a565b91505092915050565b600080600080608085870312156138a4576138a3612f99565b5b60006138b2878288016131ef565b94505060206138c3878288016131ef565b93505060406138d48782880161313a565b925050606085013567ffffffffffffffff8111156138f5576138f4612f9e565b5b6139018782880161385c565b91505092959194509250565b6000806000806060858703121561392757613926612f99565b5b600085013567ffffffffffffffff81111561394557613944612f9e565b5b613951878288016132d0565b945094505060206139648782880161313a565b92505060406139758782880161313a565b91505092959194509250565b60006020828403121561399757613996612f99565b5b60006139a5848285016136bd565b91505092915050565b600080604083850312156139c5576139c4612f99565b5b60006139d3858286016131ef565b92505060206139e4858286016131ef565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a3557607f821691505b602082108103613a4857613a476139ee565b5b50919050565b60008160601b9050919050565b6000613a6682613a4e565b9050919050565b6000613a7882613a5b565b9050919050565b613a90613a8b8261319c565b613a6d565b82525050565b6000819050919050565b613ab1613aac82613119565b613a96565b82525050565b6000613ac38285613a7f565b601482019150613ad38284613aa0565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b1d82613119565b9150613b2883613119565b925082821015613b3b57613b3a613ae3565b5b828203905092915050565b6000613b5182613119565b9150613b5c83613119565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b9557613b94613ae3565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613bda82613119565b9150613be583613119565b925082613bf557613bf4613ba0565b5b828204905092915050565b7f596f75206d757374206f776e20746f6b656e73207468617420796f7520636c6160008201527f696d000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c5c602283613069565b9150613c6782613c00565b604082019050919050565b60006020820190508181036000830152613c8b81613c4f565b9050919050565b7f536f636b20616c726561647920636c61696d6564000000000000000000000000600082015250565b6000613cc8601483613069565b9150613cd382613c92565b602082019050919050565b60006020820190508181036000830152613cf781613cbb565b9050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000613d34600f83613069565b9150613d3f82613cfe565b602082019050919050565b60006020820190508181036000830152613d6381613d27565b9050919050565b6000613d7582613119565b9150613d8083613119565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613db557613db4613ae3565b5b828201905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613e1c602f83613069565b9150613e2782613dc0565b604082019050919050565b60006020820190508181036000830152613e4b81613e0f565b9050919050565b600081905092915050565b7f7b00000000000000000000000000000000000000000000000000000000000000600082015250565b6000613e93600183613e52565b9150613e9e82613e5d565b600182019050919050565b7f226e616d65223a20220000000000000000000000000000000000000000000000600082015250565b6000613edf600983613e52565b9150613eea82613ea9565b600982019050919050565b60008190508160005260206000209050919050565b60008154613f1781613a1d565b613f218186613e52565b94506001821660008114613f3c5760018114613f4d57613f80565b60ff19831686528186019350613f80565b613f5685613ef5565b60005b83811015613f7857815481890152600182019150602081019050613f59565b838801955050505b50505092915050565b7f2023000000000000000000000000000000000000000000000000000000000000600082015250565b6000613fbf600283613e52565b9150613fca82613f89565b600282019050919050565b6000613fe08261305e565b613fea8185613e52565b9350613ffa81856020860161307a565b80840191505092915050565b7f222c200000000000000000000000000000000000000000000000000000000000600082015250565b600061403c600383613e52565b915061404782614006565b600382019050919050565b7f2265787465726e616c5f75726c223a2022000000000000000000000000000000600082015250565b6000614088601183613e52565b915061409382614052565b601182019050919050565b7f22696d616765223a202200000000000000000000000000000000000000000000600082015250565b60006140d4600a83613e52565b91506140df8261409e565b600a82019050919050565b7f22616e696d6174696f6e5f75726c223a20220000000000000000000000000000600082015250565b6000614120601283613e52565b915061412b826140ea565b601282019050919050565b7f2261747472696275746573223a205b0000000000000000000000000000000000600082015250565b600061416c600f83613e52565b915061417782614136565b600f82019050919050565b7f2274726169745f74797065223a2022536f636b20436c61696d2053746174757360008201527f222c000000000000000000000000000000000000000000000000000000000000602082015250565b60006141de602283613e52565b91506141e982614182565b602282019050919050565b7f2276616c7565223a200000000000000000000000000000000000000000000000600082015250565b600061422a600983613e52565b9150614235826141f4565b600982019050919050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614276600183613e52565b915061428182614240565b600182019050919050565b7f5d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006142c2600183613e52565b91506142cd8261428c565b600182019050919050565b60006142e382613e86565b91506142ee82613ed2565b91506142fa828d613f0a565b915061430582613fb2565b9150614311828c613fd5565b915061431c8261402f565b91506143278261407b565b9150614333828b613f0a565b915061433e8261402f565b9150614349826140c7565b9150614355828a613f0a565b91506143618289613fd5565b915061436d8288613f0a565b91506143788261402f565b915061438382614113565b915061438f8287613f0a565b915061439b8286613fd5565b91506143a78285613f0a565b91506143b28261402f565b91506143bd8261415f565b91506143c882613e86565b91506143d3826141d1565b91506143de8261421d565b91506143ea8284613fd5565b91506143f582614269565b9150614400826142b5565b915061440b82614269565b91508190509b9a5050505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614455601d83613e52565b91506144608261441f565b601d82019050919050565b600061447682614448565b91506144828284613fd5565b915081905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006144c3601483613069565b91506144ce8261448d565b602082019050919050565b600060208201905081810360008301526144f2816144b6565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614555602683613069565b9150614560826144f9565b604082019050919050565b6000602082019050818103600083015261458481614548565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006145c1601f83613069565b91506145cc8261458b565b602082019050919050565b600060208201905081810360008301526145f0816145b4565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061462d602083613069565b9150614638826145f7565b602082019050919050565b6000602082019050818103600083015261465c81614620565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061468a82614663565b614694818561466e565b93506146a481856020860161307a565b6146ad816130ad565b840191505092915050565b60006080820190506146cd60008301876131ae565b6146da60208301866131ae565b6146e76040830185613244565b81810360608301526146f9818461467f565b905095945050505050565b60008151905061471381612fcf565b92915050565b60006020828403121561472f5761472e612f99565b5b600061473d84828501614704565b91505092915050565b7f4e6f20636c61696d20696e207468652077686974656c69737421000000000000600082015250565b600061477c601a83613069565b915061478782614746565b602082019050919050565b600060208201905081810360008301526147ab8161476f565b9050919050565b7f457863656564656420796f75722077686974656c69737420616d6f756e742100600082015250565b60006147e8601f83613069565b91506147f3826147b2565b602082019050919050565b60006020820190508181036000830152614817816147db565b9050919050565b600061482982613e86565b915061483482613ed2565b91506148408289613f0a565b915061484b82613fb2565b91506148578288613fd5565b91506148628261402f565b915061486d8261407b565b91506148798287613f0a565b91506148848261402f565b915061488f826140c7565b915061489b8286613f0a565b91506148a68261402f565b91506148b182614113565b91506148bd8285613f0a565b91506148c88261402f565b91506148d38261415f565b91506148de82613e86565b91506148e9826141d1565b91506148f48261421d565b91506149008284613fd5565b915061490b82614269565b9150614916826142b5565b915061492182614269565b9150819050979650505050505050565b600061493c82613119565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361496e5761496d613ae3565b5b600182019050919050565b600061498482613119565b915061498f83613119565b92508261499f5761499e613ba0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e6f7420656e6f756768204554482070726f766964656420666f722066656500600082015250565b6000614a0f601f83613069565b9150614a1a826149d9565b602082019050919050565b60006020820190508181036000830152614a3e81614a02565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220ad45c54b1d1b4cd8c46d73dbb36dbbc63ae21a3862c606f6c77f00de3b4743e664736f6c634300080e0033697066733a2f2f62616679626569646576797637616879376c693269707334637a356575676c677773786273643337376b79716f33326b366b3332766979786373692f626c6f62697066733a2f2f6261667962656968687375703665767968756763377332337a7361656934716c723564346166706a6567637a7a6b6b6778726d65376f6e363333692f626c6f62ad91ce26a655a9ae34b8c7e483615ceb55b9e6c87881a5f6d26d6eb412a2d13a0000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c8063715018a611610123578063c13c852d116100ab578063e985e9c51161006f578063e985e9c514610828578063f254933d14610865578063f2fde38b1461088e578063fa6b9ded146108b7578063fb195490146108f457610225565b8063c13c852d1461072f578063c87b56dd1461076c578063d5abeb01146107a9578063ddca3f43146107d4578063e0a80853146107ff57610225565b806395d89b41116100f257806395d89b4114610660578063a0bcfc7f1461068b578063a22cb465146106b4578063b09d7a4a146106dd578063b88d4fde1461070657610225565b8063715018a6146105cc5780637cb64759146105e35780638da5cb5b1461060c5780638f2fc60b1461063757610225565b80633293cd07116101b1578063523edda711610175578063523edda7146104af5780636352211e146104ec57806369fe0e2d146105295780636a5a5eae1461055257806370a082311461058f57610225565b80633293cd07146103f25780633ccfd60b1461041b57806342842e0e1461043257806342966c681461045b578063518302271461048457610225565b806318160ddd116101f857806318160ddd146102f857806323b872dd14610323578063278b51a81461034c5780632a55205a146103895780632eb4a7ab146103c757610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612ffb565b610910565b60405161025e9190613043565b60405180910390f35b34801561027357600080fd5b5061027c6109d2565b60405161028991906130f7565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b4919061314f565b610a64565b6040516102c691906131bd565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613204565b610ae0565b005b34801561030457600080fd5b5061030d610c21565b60405161031a9190613253565b60405180910390f35b34801561032f57600080fd5b5061034a6004803603810190610345919061326e565b610c38565b005b34801561035857600080fd5b50610373600480360381019061036e9190613326565b610f5a565b6040516103809190613253565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab9190613386565b611065565b6040516103be9291906133c6565b60405180910390f35b3480156103d357600080fd5b506103dc61109c565b6040516103e99190613408565b60405180910390f35b3480156103fe57600080fd5b506104196004803603810190610414919061314f565b6110a2565b005b34801561042757600080fd5b506104306111b5565b005b34801561043e57600080fd5b506104596004803603810190610454919061326e565b611250565b005b34801561046757600080fd5b50610482600480360381019061047d919061314f565b611270565b005b34801561049057600080fd5b506104996112dc565b6040516104a69190613043565b60405180910390f35b3480156104bb57600080fd5b506104d660048036038101906104d1919061314f565b6112ef565b6040516104e39190613043565b60405180910390f35b3480156104f857600080fd5b50610513600480360381019061050e919061314f565b611319565b60405161052091906131bd565b60405180910390f35b34801561053557600080fd5b50610550600480360381019061054b919061314f565b61132b565b005b34801561055e57600080fd5b5061057960048036038101906105749190613423565b61133d565b6040516105869190613253565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b19190613423565b611355565b6040516105c39190613253565b60405180910390f35b3480156105d857600080fd5b506105e161140d565b005b3480156105ef57600080fd5b5061060a6004803603810190610605919061347c565b611421565b005b34801561061857600080fd5b50610621611433565b60405161062e91906131bd565b60405180910390f35b34801561064357600080fd5b5061065e600480360381019061065991906134ed565b61145d565b005b34801561066c57600080fd5b5061067561147e565b60405161068291906130f7565b60405180910390f35b34801561069757600080fd5b506106b260048036038101906106ad919061365d565b611510565b005b3480156106c057600080fd5b506106db60048036038101906106d691906136d2565b611532565b005b3480156106e957600080fd5b5061070460048036038101906106ff9190613712565b6116a9565b005b34801561071257600080fd5b5061072d6004803603810190610728919061388a565b6119b3565b005b34801561073b57600080fd5b506107566004803603810190610751919061390d565b611a26565b6040516107639190613043565b60405180910390f35b34801561077857600080fd5b50610793600480360381019061078e919061314f565b611a3e565b6040516107a091906130f7565b60405180910390f35b3480156107b557600080fd5b506107be611bc8565b6040516107cb9190613253565b60405180910390f35b3480156107e057600080fd5b506107e9611bce565b6040516107f69190613253565b60405180910390f35b34801561080b57600080fd5b5061082660048036038101906108219190613981565b611bd4565b005b34801561083457600080fd5b5061084f600480360381019061084a91906139ae565b611bf9565b60405161085c9190613043565b60405180910390f35b34801561087157600080fd5b5061088c60048036038101906108879190613204565b611c8d565b005b34801561089a57600080fd5b506108b560048036038101906108b09190613423565b611cfc565b005b3480156108c357600080fd5b506108de60048036038101906108d99190613423565b611d7f565b6040516108eb9190613253565b60405180910390f35b61090e6004803603810190610909919061390d565b611d97565b005b6000632a55205a60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096b57506301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061099b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109cb5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546109e190613a1d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0d90613a1d565b8015610a5a5780601f10610a2f57610100808354040283529160200191610a5a565b820191906000526020600020905b815481529060010190602001808311610a3d57829003601f168201915b5050505050905090565b6000610a6f82611ed0565b610aa5576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610aeb82611319565b90508073ffffffffffffffffffffffffffffffffffffffff16610b0c611f2f565b73ffffffffffffffffffffffffffffffffffffffff1614610b6f57610b3881610b33611f2f565b611bf9565b610b6e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610c2b611f37565b6001546000540303905090565b6000610c4382611f40565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610caa576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610cb68461200c565b91509150610ccc8187610cc7611f2f565b61202e565b610d1857610ce186610cdc611f2f565b611bf9565b610d17576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610d7e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d8b8686866001612072565b8015610d9657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610e6485610e40888887612078565b7c0200000000000000000000000000000000000000000000000000000000176120a0565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610eea5760006001850190506000600460008381526020019081526020016000205403610ee8576000548114610ee7578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f5286868660016120cb565b505050505050565b600080610f656120d1565b83604051602001610f77929190613ab7565b6040516020818303038152906040528051906020012090506000610fdf868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f54846120d9565b90508015611057576000600a6000610ff56120d1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811461104b5780856110469190613b12565b61104d565b845b935050505061105e565b6000925050505b9392505050565b60008060006127106013548561107b9190613b46565b6110859190613bcf565b905061108f611433565b8192509250509250929050565b600f5481565b6110aa6120d1565b73ffffffffffffffffffffffffffffffffffffffff166110c982611319565b73ffffffffffffffffffffffffffffffffffffffff161461111f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111690613c72565b60405180910390fd5b60001515600c600083815260200190815260200160002060009054906101000a900460ff16151514611186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117d90613cde565b60405180910390fd5b6001600c600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6111bd6120f0565b6111c5611433565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561120a573d6000803e3d6000fd5b506000471461124e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124590613d4a565b60405180910390fd5b565b61126b838383604051806020016040528060008152506119b3565b505050565b6001600b600061127e6120d1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112c79190613d6a565b925050819055506112d981600161216e565b50565b601260009054906101000a900460ff1681565b6000600c600083815260200190815260200160002060009054906101000a900460ff169050919050565b600061132482611f40565b9050919050565b6113336120f0565b8060118190555050565b600a6020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113bc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6114156120f0565b61141f60006123c0565b565b6114296120f0565b80600f8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114656120f0565b806bffffffffffffffffffffffff166013819055505050565b60606003805461148d90613a1d565b80601f01602080910402602001604051908101604052809291908181526020018280546114b990613a1d565b80156115065780601f106114db57610100808354040283529160200191611506565b820191906000526020600020905b8154815290600101906020018083116114e957829003601f168201915b5050505050905090565b6115186120f0565b806014908051906020019061152e929190612eec565b5050565b61153a611f2f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361159e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006115ab611f2f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611658611f2f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161169d9190613043565b60405180910390a35050565b6116b16120f0565b60008451036116cf576040518060200160405280600081525061176f565b83601590805190602001906116e5929190612eec565b80546116f090613a1d565b80601f016020809104026020016040519081016040528092919081815260200182805461171c90613a1d565b80156117695780601f1061173e57610100808354040283529160200191611769565b820191906000526020600020905b81548152906001019060200180831161174c57829003601f168201915b50505050505b50600083510361178e576040518060200160405280600081525061182e565b82601690805190602001906117a4929190612eec565b80546117af90613a1d565b80601f01602080910402602001604051908101604052809291908181526020018280546117db90613a1d565b80156118285780601f106117fd57610100808354040283529160200191611828565b820191906000526020600020905b81548152906001019060200180831161180b57829003601f168201915b50505050505b50600081510361184d57604051806020016040528060008152506118ed565b8060179080519060200190611863929190612eec565b805461186e90613a1d565b80601f016020809104026020016040519081016040528092919081815260200182805461189a90613a1d565b80156118e75780601f106118bc576101008083540402835291602001916118e7565b820191906000526020600020905b8154815290600101906020018083116118ca57829003601f168201915b50505050505b50600082510361190c57604051806020016040528060008152506119ac565b8160189080519060200190611922929190612eec565b805461192d90613a1d565b80601f016020809104026020016040519081016040528092919081815260200182805461195990613a1d565b80156119a65780601f1061197b576101008083540402835291602001916119a6565b820191906000526020600020905b81548152906001019060200180831161198957829003601f168201915b50505050505b5050505050565b6119be848484610c38565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611a20576119e984848484612486565b611a1f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000611a34858585856125d6565b9050949350505050565b606060001515601260009054906101000a900460ff16151503611a6b57611a6482612794565b9050611bc3565b611a7482611ed0565b611ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaa90613e32565b60405180910390fd5b611ba16015611ac184612890565b60166014611ace87612890565b60186014611adb8a612890565b6017600c60008d815260200190815260200160002060009054906101000a900460ff16611b3d576040518060400160405280600d81526020017f224e6f7420436c61696d65642200000000000000000000000000000000000000815250611b74565b6040518060400160405280600981526020017f22436c61696d65642200000000000000000000000000000000000000000000008152505b604051602001611b8d9a999897969594939291906142d8565b6040516020818303038152906040526129f0565b604051602001611bb1919061446b565b60405160208183030381529060405290505b919050565b60105481565b60115481565b611bdc6120f0565b80601260006101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8060105481611c9a610c21565b611ca49190613d6a565b1115611ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdc906144d9565b60405180910390fd5b611ced6120f0565b611cf78383612b53565b505050565b611d046120f0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6a9061456b565b60405180910390fd5b611d7c816123c0565b50565b600b6020528060005260406000206000915090505481565b8060105481611da4610c21565b611dae9190613d6a565b1115611def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de6906144d9565b60405180910390fd5b600260095403611e34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2b906145d7565b60405180910390fd5b6002600981905550611e48858585856125d6565b50611e5282612b71565b5081600a6000611e606120d1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ea99190613d6a565b92505081905550611ec1611ebb6120d1565b83612b53565b60016009819055505050505050565b600081611edb611f37565b11158015611eea575060005482105b8015611f28575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b60008082905080611f4f611f37565b11611fd557600054811015611fd45760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611fd2575b60008103611fc8576004600083600190039350838152602001908152602001600020549050611f9e565b8092505050612007565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861208f868684612bcc565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6000826120e68584612bd5565b1490509392505050565b6120f86120d1565b73ffffffffffffffffffffffffffffffffffffffff16612116611433565b73ffffffffffffffffffffffffffffffffffffffff161461216c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216390614643565b60405180910390fd5b565b600061217983611f40565b9050600081905060008061218c8661200c565b9150915084156121f5576121a881846121a3611f2f565b61202e565b6121f4576121bd836121b8611f2f565b611bf9565b6121f3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612203836000886001612072565b801561220e57600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506122b68361227385600088612078565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176120a0565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085160361233c576000600187019050600060046000838152602001908152602001600020540361233a576000548114612339578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123a68360008860016120cb565b600160008154809291906001019190505550505050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026124ac611f2f565b8786866040518563ffffffff1660e01b81526004016124ce94939291906146b8565b6020604051808303816000875af192505050801561250a57506040513d601f19601f820116820180604052508101906125079190614719565b60015b612583573d806000811461253a576040519150601f19603f3d011682016040523d82523d6000602084013e61253f565b606091505b50600081510361257b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000806125e16120d1565b846040516020016125f3929190613ab7565b604051602081830303815290604052805190602001209050612659868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f54836120d9565b612698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268f90614792565b60405180910390fd5b600080600a60006126a76120d1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541461273357600a60006126f36120d1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612736565b60005b90508484826127459190613d6a565b1115612786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277d906147fe565b60405180910390fd5b600192505050949350505050565b606061286a60156127a484612890565b601660186017600c600089815260200190815260200160002060009054906101000a900460ff1661280a576040518060400160405280600d81526020017f224e6f7420436c61696d65642200000000000000000000000000000000000000815250612841565b6040518060400160405280600981526020017f22436c61696d65642200000000000000000000000000000000000000000000008152505b6040516020016128569695949392919061481e565b6040516020818303038152906040526129f0565b60405160200161287a919061446b565b6040516020818303038152906040529050919050565b6060600082036128d7576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129eb565b600082905060005b600082146129095780806128f290614931565b915050600a826129029190613bcf565b91506128df565b60008167ffffffffffffffff81111561292557612924613532565b5b6040519080825280601f01601f1916602001820160405280156129575781602001600182028036833780820191505090505b5090505b600085146129e4576001826129709190613b12565b9150600a8561297f9190614979565b603061298b9190613d6a565b60f81b8183815181106129a1576129a06149aa565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129dd9190613bcf565b945061295b565b8093505050505b919050565b60606000825103612a1257604051806020016040528060008152509050612b4e565b6000604051806060016040528060408152602001614a466040913990506000600360028551612a419190613d6a565b612a4b9190613bcf565b6004612a579190613b46565b67ffffffffffffffff811115612a7057612a6f613532565b5b6040519080825280601f01601f191660200182016040528015612aa25781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612b0e576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612ab3565b5050600386510660018114612b2a5760028114612b3d57612b45565b603d6001830353603d6002830353612b45565b603d60018303535b50505080925050505b919050565b612b6d828260405180602001604052806000815250612c2b565b5050565b600081601154612b819190613b46565b341015612bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bba90614a25565b60405180910390fd5b60019050919050565b60009392505050565b60008082905060005b8451811015612c2057612c0b82868381518110612bfe57612bfd6149aa565b5b6020026020010151612cc8565b91508080612c1890614931565b915050612bde565b508091505092915050565b612c358383612cf3565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612cc357600080549050600083820390505b612c756000868380600101945086612486565b612cab576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612c62578160005414612cc057600080fd5b50505b505050565b6000818310612ce057612cdb8284612ec5565b612ceb565b612cea8383612ec5565b5b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612d5f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203612d99576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612da66000848385612072565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612e1d83612e0e6000866000612078565b612e1785612edc565b176120a0565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612e4157806000819055505050612ec060008483856120cb565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b828054612ef890613a1d565b90600052602060002090601f016020900481019282612f1a5760008555612f61565b82601f10612f3357805160ff1916838001178555612f61565b82800160010185558215612f61579182015b82811115612f60578251825591602001919060010190612f45565b5b509050612f6e9190612f72565b5090565b5b80821115612f8b576000816000905550600101612f73565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612fd881612fa3565b8114612fe357600080fd5b50565b600081359050612ff581612fcf565b92915050565b60006020828403121561301157613010612f99565b5b600061301f84828501612fe6565b91505092915050565b60008115159050919050565b61303d81613028565b82525050565b60006020820190506130586000830184613034565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561309857808201518184015260208101905061307d565b838111156130a7576000848401525b50505050565b6000601f19601f8301169050919050565b60006130c98261305e565b6130d38185613069565b93506130e381856020860161307a565b6130ec816130ad565b840191505092915050565b6000602082019050818103600083015261311181846130be565b905092915050565b6000819050919050565b61312c81613119565b811461313757600080fd5b50565b60008135905061314981613123565b92915050565b60006020828403121561316557613164612f99565b5b60006131738482850161313a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006131a78261317c565b9050919050565b6131b78161319c565b82525050565b60006020820190506131d260008301846131ae565b92915050565b6131e18161319c565b81146131ec57600080fd5b50565b6000813590506131fe816131d8565b92915050565b6000806040838503121561321b5761321a612f99565b5b6000613229858286016131ef565b925050602061323a8582860161313a565b9150509250929050565b61324d81613119565b82525050565b60006020820190506132686000830184613244565b92915050565b60008060006060848603121561328757613286612f99565b5b6000613295868287016131ef565b93505060206132a6868287016131ef565b92505060406132b78682870161313a565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126132e6576132e56132c1565b5b8235905067ffffffffffffffff811115613303576133026132c6565b5b60208301915083602082028301111561331f5761331e6132cb565b5b9250929050565b60008060006040848603121561333f5761333e612f99565b5b600084013567ffffffffffffffff81111561335d5761335c612f9e565b5b613369868287016132d0565b9350935050602061337c8682870161313a565b9150509250925092565b6000806040838503121561339d5761339c612f99565b5b60006133ab8582860161313a565b92505060206133bc8582860161313a565b9150509250929050565b60006040820190506133db60008301856131ae565b6133e86020830184613244565b9392505050565b6000819050919050565b613402816133ef565b82525050565b600060208201905061341d60008301846133f9565b92915050565b60006020828403121561343957613438612f99565b5b6000613447848285016131ef565b91505092915050565b613459816133ef565b811461346457600080fd5b50565b60008135905061347681613450565b92915050565b60006020828403121561349257613491612f99565b5b60006134a084828501613467565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b6134ca816134a9565b81146134d557600080fd5b50565b6000813590506134e7816134c1565b92915050565b6000806040838503121561350457613503612f99565b5b6000613512858286016131ef565b9250506020613523858286016134d8565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61356a826130ad565b810181811067ffffffffffffffff8211171561358957613588613532565b5b80604052505050565b600061359c612f8f565b90506135a88282613561565b919050565b600067ffffffffffffffff8211156135c8576135c7613532565b5b6135d1826130ad565b9050602081019050919050565b82818337600083830152505050565b60006136006135fb846135ad565b613592565b90508281526020810184848401111561361c5761361b61352d565b5b6136278482856135de565b509392505050565b600082601f830112613644576136436132c1565b5b81356136548482602086016135ed565b91505092915050565b60006020828403121561367357613672612f99565b5b600082013567ffffffffffffffff81111561369157613690612f9e565b5b61369d8482850161362f565b91505092915050565b6136af81613028565b81146136ba57600080fd5b50565b6000813590506136cc816136a6565b92915050565b600080604083850312156136e9576136e8612f99565b5b60006136f7858286016131ef565b9250506020613708858286016136bd565b9150509250929050565b6000806000806080858703121561372c5761372b612f99565b5b600085013567ffffffffffffffff81111561374a57613749612f9e565b5b6137568782880161362f565b945050602085013567ffffffffffffffff81111561377757613776612f9e565b5b6137838782880161362f565b935050604085013567ffffffffffffffff8111156137a4576137a3612f9e565b5b6137b08782880161362f565b925050606085013567ffffffffffffffff8111156137d1576137d0612f9e565b5b6137dd8782880161362f565b91505092959194509250565b600067ffffffffffffffff82111561380457613803613532565b5b61380d826130ad565b9050602081019050919050565b600061382d613828846137e9565b613592565b9050828152602081018484840111156138495761384861352d565b5b6138548482856135de565b509392505050565b600082601f830112613871576138706132c1565b5b813561388184826020860161381a565b91505092915050565b600080600080608085870312156138a4576138a3612f99565b5b60006138b2878288016131ef565b94505060206138c3878288016131ef565b93505060406138d48782880161313a565b925050606085013567ffffffffffffffff8111156138f5576138f4612f9e565b5b6139018782880161385c565b91505092959194509250565b6000806000806060858703121561392757613926612f99565b5b600085013567ffffffffffffffff81111561394557613944612f9e565b5b613951878288016132d0565b945094505060206139648782880161313a565b92505060406139758782880161313a565b91505092959194509250565b60006020828403121561399757613996612f99565b5b60006139a5848285016136bd565b91505092915050565b600080604083850312156139c5576139c4612f99565b5b60006139d3858286016131ef565b92505060206139e4858286016131ef565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a3557607f821691505b602082108103613a4857613a476139ee565b5b50919050565b60008160601b9050919050565b6000613a6682613a4e565b9050919050565b6000613a7882613a5b565b9050919050565b613a90613a8b8261319c565b613a6d565b82525050565b6000819050919050565b613ab1613aac82613119565b613a96565b82525050565b6000613ac38285613a7f565b601482019150613ad38284613aa0565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b1d82613119565b9150613b2883613119565b925082821015613b3b57613b3a613ae3565b5b828203905092915050565b6000613b5182613119565b9150613b5c83613119565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b9557613b94613ae3565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613bda82613119565b9150613be583613119565b925082613bf557613bf4613ba0565b5b828204905092915050565b7f596f75206d757374206f776e20746f6b656e73207468617420796f7520636c6160008201527f696d000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c5c602283613069565b9150613c6782613c00565b604082019050919050565b60006020820190508181036000830152613c8b81613c4f565b9050919050565b7f536f636b20616c726561647920636c61696d6564000000000000000000000000600082015250565b6000613cc8601483613069565b9150613cd382613c92565b602082019050919050565b60006020820190508181036000830152613cf781613cbb565b9050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000613d34600f83613069565b9150613d3f82613cfe565b602082019050919050565b60006020820190508181036000830152613d6381613d27565b9050919050565b6000613d7582613119565b9150613d8083613119565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613db557613db4613ae3565b5b828201905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613e1c602f83613069565b9150613e2782613dc0565b604082019050919050565b60006020820190508181036000830152613e4b81613e0f565b9050919050565b600081905092915050565b7f7b00000000000000000000000000000000000000000000000000000000000000600082015250565b6000613e93600183613e52565b9150613e9e82613e5d565b600182019050919050565b7f226e616d65223a20220000000000000000000000000000000000000000000000600082015250565b6000613edf600983613e52565b9150613eea82613ea9565b600982019050919050565b60008190508160005260206000209050919050565b60008154613f1781613a1d565b613f218186613e52565b94506001821660008114613f3c5760018114613f4d57613f80565b60ff19831686528186019350613f80565b613f5685613ef5565b60005b83811015613f7857815481890152600182019150602081019050613f59565b838801955050505b50505092915050565b7f2023000000000000000000000000000000000000000000000000000000000000600082015250565b6000613fbf600283613e52565b9150613fca82613f89565b600282019050919050565b6000613fe08261305e565b613fea8185613e52565b9350613ffa81856020860161307a565b80840191505092915050565b7f222c200000000000000000000000000000000000000000000000000000000000600082015250565b600061403c600383613e52565b915061404782614006565b600382019050919050565b7f2265787465726e616c5f75726c223a2022000000000000000000000000000000600082015250565b6000614088601183613e52565b915061409382614052565b601182019050919050565b7f22696d616765223a202200000000000000000000000000000000000000000000600082015250565b60006140d4600a83613e52565b91506140df8261409e565b600a82019050919050565b7f22616e696d6174696f6e5f75726c223a20220000000000000000000000000000600082015250565b6000614120601283613e52565b915061412b826140ea565b601282019050919050565b7f2261747472696275746573223a205b0000000000000000000000000000000000600082015250565b600061416c600f83613e52565b915061417782614136565b600f82019050919050565b7f2274726169745f74797065223a2022536f636b20436c61696d2053746174757360008201527f222c000000000000000000000000000000000000000000000000000000000000602082015250565b60006141de602283613e52565b91506141e982614182565b602282019050919050565b7f2276616c7565223a200000000000000000000000000000000000000000000000600082015250565b600061422a600983613e52565b9150614235826141f4565b600982019050919050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614276600183613e52565b915061428182614240565b600182019050919050565b7f5d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006142c2600183613e52565b91506142cd8261428c565b600182019050919050565b60006142e382613e86565b91506142ee82613ed2565b91506142fa828d613f0a565b915061430582613fb2565b9150614311828c613fd5565b915061431c8261402f565b91506143278261407b565b9150614333828b613f0a565b915061433e8261402f565b9150614349826140c7565b9150614355828a613f0a565b91506143618289613fd5565b915061436d8288613f0a565b91506143788261402f565b915061438382614113565b915061438f8287613f0a565b915061439b8286613fd5565b91506143a78285613f0a565b91506143b28261402f565b91506143bd8261415f565b91506143c882613e86565b91506143d3826141d1565b91506143de8261421d565b91506143ea8284613fd5565b91506143f582614269565b9150614400826142b5565b915061440b82614269565b91508190509b9a5050505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614455601d83613e52565b91506144608261441f565b601d82019050919050565b600061447682614448565b91506144828284613fd5565b915081905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006144c3601483613069565b91506144ce8261448d565b602082019050919050565b600060208201905081810360008301526144f2816144b6565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614555602683613069565b9150614560826144f9565b604082019050919050565b6000602082019050818103600083015261458481614548565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006145c1601f83613069565b91506145cc8261458b565b602082019050919050565b600060208201905081810360008301526145f0816145b4565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061462d602083613069565b9150614638826145f7565b602082019050919050565b6000602082019050818103600083015261465c81614620565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061468a82614663565b614694818561466e565b93506146a481856020860161307a565b6146ad816130ad565b840191505092915050565b60006080820190506146cd60008301876131ae565b6146da60208301866131ae565b6146e76040830185613244565b81810360608301526146f9818461467f565b905095945050505050565b60008151905061471381612fcf565b92915050565b60006020828403121561472f5761472e612f99565b5b600061473d84828501614704565b91505092915050565b7f4e6f20636c61696d20696e207468652077686974656c69737421000000000000600082015250565b600061477c601a83613069565b915061478782614746565b602082019050919050565b600060208201905081810360008301526147ab8161476f565b9050919050565b7f457863656564656420796f75722077686974656c69737420616d6f756e742100600082015250565b60006147e8601f83613069565b91506147f3826147b2565b602082019050919050565b60006020820190508181036000830152614817816147db565b9050919050565b600061482982613e86565b915061483482613ed2565b91506148408289613f0a565b915061484b82613fb2565b91506148578288613fd5565b91506148628261402f565b915061486d8261407b565b91506148798287613f0a565b91506148848261402f565b915061488f826140c7565b915061489b8286613f0a565b91506148a68261402f565b91506148b182614113565b91506148bd8285613f0a565b91506148c88261402f565b91506148d38261415f565b91506148de82613e86565b91506148e9826141d1565b91506148f48261421d565b91506149008284613fd5565b915061490b82614269565b9150614916826142b5565b915061492182614269565b9150819050979650505050505050565b600061493c82613119565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361496e5761496d613ae3565b5b600182019050919050565b600061498482613119565b915061498f83613119565b92508261499f5761499e613ba0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e6f7420656e6f756768204554482070726f766964656420666f722066656500600082015250565b6000614a0f601f83613069565b9150614a1a826149d9565b602082019050919050565b60006020820190508181036000830152614a3e81614a02565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220ad45c54b1d1b4cd8c46d73dbb36dbbc63ae21a3862c606f6c77f00de3b4743e664736f6c634300080e0033

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

ad91ce26a655a9ae34b8c7e483615ceb55b9e6c87881a5f6d26d6eb412a2d13a0000000000000000000000000000000000000000000000000000000000000000

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

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : ad91ce26a655a9ae34b8c7e483615ceb55b9e6c87881a5f6d26d6eb412a2d13a
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.