ETH Price: $3,893.53 (-0.57%)

Token

Lil Worms Kami (LILWORMS)
 

Overview

Max Total Supply

999 LILWORMS

Holders

117

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 LILWORMS
0x400bcb08aeda22862577ca2bd23c91af78a1ee6b
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:
LilWormsKami

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : lilwormskami.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.16;

import 'erc721a/contracts/extensions/ERC721AQueryable.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '../DefaultOperatorFilterer.sol';

contract LilWormsKami is ERC721AQueryable, Ownable, ReentrancyGuard,DefaultOperatorFilterer {

  using Strings for uint256;

  string public uriPrefix;
  string public uriSuffix = '.json';
  string public hiddenMetadataUri;
  
  uint256 public cost = 0.004 ether;
  uint256 public maxSupply =999;
  uint256 public maxMintAmountPerTx = 10;
  uint256 public maxFreeAmountPerTx = 1;
  uint256 public maxPerWallet = 20;
  uint256 public maxFreePerWallet = 1;
  uint256 public maxFreeAmount = 333;

  bool public paused = false;
  bool public revealed = true;

  constructor(
    string memory _tokenName,
    string memory _tokenSymbol,
    string memory _uriPrefix
  ) ERC721A(_tokenName, _tokenSymbol) {
    setUriPrefix (_uriPrefix);
    
  }
  modifier mintFreeCompliance(uint256 _mintAmount) {
    require(_mintAmount > 0 && _mintAmount <= maxFreeAmountPerTx, 'Invalid mint amount!');
    require(totalSupply() + _mintAmount <= maxFreeAmount, 'Max Free supply exceeded!');
    require(_numberMinted(msg.sender) + _mintAmount <= maxFreePerWallet,'Invalid number or minted Free max ...');
    require(tx.origin == msg.sender, 'Contract minters gets steaks...');
    _;
  }

  function freeMint(uint256 _mintAmount) public payable mintFreeCompliance(_mintAmount) {
      require(msg.value == 0, 'Put 0 in');
      require(!paused, 'The contract is paused!');
      _safeMint(_msgSender(), _mintAmount);
  }

  modifier mintCompliance(uint256 _mintAmount) {
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, 'Invalid mint amount!');
    require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!');
    require(_numberMinted(msg.sender) + _mintAmount <= maxPerWallet,'Invalid number or minted max ...');
    require(tx.origin == msg.sender, 'Contract minters gets no steaks...');
    _;
  }

  modifier mintPriceCompliance(uint256 _mintAmount) {
    require(msg.value >= cost * _mintAmount, 'Insufficient funds!');
    _;
  }


  function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) {
    require(!paused, 'The contract is paused!');

    _safeMint(_msgSender(), _mintAmount);
  }
  
  function mintForAddress(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount) onlyOwner {
    _safeMint(_receiver, _mintAmount);
  }

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

 function tokenURI(uint256 _tokenId) public view virtual override(ERC721A, IERC721A) returns (string memory) {
    require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token');

    if (revealed == false) {
      return hiddenMetadataUri;
    }

    string memory currentBaseURI = _baseURI();
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
        : '';
  }


  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }

  function setCost(uint256 _cost) public onlyOwner {
    cost = _cost;
  }

  function setMaxFreePerWallet (uint256 _maxFreePerWallet) public  onlyOwner {
    maxFreePerWallet = _maxFreePerWallet;
  }

  function setMaxFreeAmountPerTx (uint256 _maxFreeAmountPerTx) public onlyOwner{
    maxFreeAmountPerTx = _maxFreeAmountPerTx;
  }

  


  function setmaxPerWallet (uint256 _maxPerWallet) public onlyOwner {
    maxPerWallet = _maxPerWallet;
  }

  function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxMintAmountPerTx = _maxMintAmountPerTx;
  }

  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }

  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }

 // OperatorFilter overrides
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }



  function withdraw() public onlyOwner nonReentrant {
    // This will transfer the remaining contract balance to the owner.
    // Do not remove this otherwise you will not be able to withdraw the funds.
    // =============================================================================
    (bool os, ) = payable(owner()).call{value: address(this).balance}('');
    require(os);
    // =============================================================================
  }

  function _baseURI() internal view virtual override returns (string memory) {
    return uriPrefix;
  }
}

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

import {OperatorFilterer} from "./OperatorFilterer.sol";

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 3 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

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

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // 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 `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID 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 => TokenApprovalRef) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @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 virtual 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 virtual 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 virtual 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 virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual 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 virtual {
        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;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    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: [ERC165](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.
    }

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

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    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 '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

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

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

    /**
     * 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 initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public payable virtual override {
        address owner = ownerOf(tokenId);

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

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

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(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 `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns 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))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @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 virtual {
        uint256 startTokenId = _currentIndex;
        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 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _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 virtual {
        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 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 virtual {
        _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 Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

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

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(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++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        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 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 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;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @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 virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 8 of 13 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

File 9 of 13 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
        _;
    }
}

File 10 of 13 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

pragma solidity ^0.8.4;

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

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

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

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores 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 via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @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() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 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`,
     * 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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

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

    /**
     * @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](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 13 of 13 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"string","name":"_uriPrefix","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxFreeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeAmountPerTx","type":"uint256"}],"name":"setMaxFreeAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreePerWallet","type":"uint256"}],"name":"setMaxFreePerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setmaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b90816200004a91906200079e565b50660e35fa931a0000600d556103e7600e55600a600f5560016010556014601155600160125561014d6013556000601460006101000a81548160ff0219169083151502179055506001601460016101000a81548160ff021916908315150217905550348015620000b957600080fd5b5060405162005874380380620058748339818101604052810190620000df9190620009e9565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001848481600290816200010991906200079e565b5080600390816200011b91906200079e565b506200012c6200036d60201b60201c565b600081905550505062000154620001486200037660201b60201c565b6200037e60201b60201c565b600160098190555060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200035157801562000217576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001dd92919062000ae7565b600060405180830381600087803b158015620001f857600080fd5b505af11580156200020d573d6000803e3d6000fd5b5050505062000350565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002d1576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200029792919062000ae7565b600060405180830381600087803b158015620002b257600080fd5b505af1158015620002c7573d6000803e3d6000fd5b505050506200034f565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200031a919062000b14565b600060405180830381600087803b1580156200033557600080fd5b505af11580156200034a573d6000803e3d6000fd5b505050505b5b5b505062000364816200044460201b60201c565b50505062000bb4565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004546200046960201b60201c565b80600a90816200046591906200079e565b5050565b620004796200037660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200049f620004fa60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004f8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004ef9062000b92565b60405180910390fd5b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005a657607f821691505b602082108103620005bc57620005bb6200055e565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006267fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620005e7565b620006328683620005e7565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200067f6200067962000673846200064a565b62000654565b6200064a565b9050919050565b6000819050919050565b6200069b836200065e565b620006b3620006aa8262000686565b848454620005f4565b825550505050565b600090565b620006ca620006bb565b620006d781848462000690565b505050565b5b81811015620006ff57620006f3600082620006c0565b600181019050620006dd565b5050565b601f8211156200074e576200071881620005c2565b6200072384620005d7565b8101602085101562000733578190505b6200074b6200074285620005d7565b830182620006dc565b50505b505050565b600082821c905092915050565b6000620007736000198460080262000753565b1980831691505092915050565b60006200078e838362000760565b9150826002028217905092915050565b620007a98262000524565b67ffffffffffffffff811115620007c557620007c46200052f565b5b620007d182546200058d565b620007de82828562000703565b600060209050601f83116001811462000816576000841562000801578287015190505b6200080d858262000780565b8655506200087d565b601f1984166200082686620005c2565b60005b82811015620008505784890151825560018201915060208501945060208101905062000829565b868310156200087057848901516200086c601f89168262000760565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620008bf82620008a3565b810181811067ffffffffffffffff82111715620008e157620008e06200052f565b5b80604052505050565b6000620008f662000885565b9050620009048282620008b4565b919050565b600067ffffffffffffffff8211156200092757620009266200052f565b5b6200093282620008a3565b9050602081019050919050565b60005b838110156200095f57808201518184015260208101905062000942565b60008484015250505050565b6000620009826200097c8462000909565b620008ea565b905082815260208101848484011115620009a157620009a06200089e565b5b620009ae8482856200093f565b509392505050565b600082601f830112620009ce57620009cd62000899565b5b8151620009e08482602086016200096b565b91505092915050565b60008060006060848603121562000a055762000a046200088f565b5b600084015167ffffffffffffffff81111562000a265762000a2562000894565b5b62000a3486828701620009b6565b935050602084015167ffffffffffffffff81111562000a585762000a5762000894565b5b62000a6686828701620009b6565b925050604084015167ffffffffffffffff81111562000a8a5762000a8962000894565b5b62000a9886828701620009b6565b9150509250925092565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000acf8262000aa2565b9050919050565b62000ae18162000ac2565b82525050565b600060408201905062000afe600083018562000ad6565b62000b0d602083018462000ad6565b9392505050565b600060208201905062000b2b600083018462000ad6565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000b7a60208362000b31565b915062000b878262000b42565b602082019050919050565b6000602082019050818103600083015262000bad8162000b6b565b9050919050565b614cb08062000bc46000396000f3fe6080604052600436106102935760003560e01c806370a082311161015a578063a45ba8e7116100c1578063d5abeb011161007a578063d5abeb01146109b2578063e0a80853146109dd578063e985e9c514610a06578063efbd73f414610a43578063f2fde38b14610a6c578063f892c6e214610a9557610293565b8063a45ba8e71461089d578063a7027357146108c8578063b071401b146108f3578063b88d4fde1461091c578063c23dc68f14610938578063c87b56dd1461097557610293565b80638da5cb5b116101135780638da5cb5b1461079a57806394354fd0146107c557806395d89b41146107f057806399a2557a1461081b578063a0712d6814610858578063a22cb4651461087457610293565b806370a082311461069b578063715018a6146106d85780637b2f1595146106ef5780637c928fe9146107185780637ec4a659146107345780638462151c1461075d57610293565b806344a0d68a116101fe5780635c975abb116101b75780635c975abb1461058b57806360d3e1ae146105b657806362b99ad4146105df5780636352211e1461060a57806366e98261146106475780636d7c4a4b1461067257610293565b806344a0d68a1461047b578063453c2310146104a45780634fdd43cb146104cf57806351830227146104f85780635503a0e8146105235780635bbb21771461054e57610293565b806316c38b3c1161025057806316c38b3c146103ad57806318160ddd146103d657806323b872dd146104015780633ccfd60b1461041d57806341f434341461043457806342842e0e1461045f57610293565b806301ffc9a71461029857806306fdde03146102d5578063081812fc14610300578063095ea7b31461033d57806313faede61461035957806316ba10e014610384575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba91906134ab565b610ac0565b6040516102cc91906134f3565b60405180910390f35b3480156102e157600080fd5b506102ea610b52565b6040516102f7919061359e565b60405180910390f35b34801561030c57600080fd5b50610327600480360381019061032291906135f6565b610be4565b6040516103349190613664565b60405180910390f35b610357600480360381019061035291906136ab565b610c63565b005b34801561036557600080fd5b5061036e610da7565b60405161037b91906136fa565b60405180910390f35b34801561039057600080fd5b506103ab60048036038101906103a6919061384a565b610dad565b005b3480156103b957600080fd5b506103d460048036038101906103cf91906138bf565b610dc8565b005b3480156103e257600080fd5b506103eb610ded565b6040516103f891906136fa565b60405180910390f35b61041b600480360381019061041691906138ec565b610e04565b005b34801561042957600080fd5b50610432610f54565b005b34801561044057600080fd5b50610449610fec565b604051610456919061399e565b60405180910390f35b610479600480360381019061047491906138ec565b610ffe565b005b34801561048757600080fd5b506104a2600480360381019061049d91906135f6565b61114e565b005b3480156104b057600080fd5b506104b9611160565b6040516104c691906136fa565b60405180910390f35b3480156104db57600080fd5b506104f660048036038101906104f1919061384a565b611166565b005b34801561050457600080fd5b5061050d611181565b60405161051a91906134f3565b60405180910390f35b34801561052f57600080fd5b50610538611194565b604051610545919061359e565b60405180910390f35b34801561055a57600080fd5b5061057560048036038101906105709190613a19565b611222565b6040516105829190613bc9565b60405180910390f35b34801561059757600080fd5b506105a06112e5565b6040516105ad91906134f3565b60405180910390f35b3480156105c257600080fd5b506105dd60048036038101906105d891906135f6565b6112f8565b005b3480156105eb57600080fd5b506105f461130a565b604051610601919061359e565b60405180910390f35b34801561061657600080fd5b50610631600480360381019061062c91906135f6565b611398565b60405161063e9190613664565b60405180910390f35b34801561065357600080fd5b5061065c6113aa565b60405161066991906136fa565b60405180910390f35b34801561067e57600080fd5b50610699600480360381019061069491906135f6565b6113b0565b005b3480156106a757600080fd5b506106c260048036038101906106bd9190613beb565b6113c2565b6040516106cf91906136fa565b60405180910390f35b3480156106e457600080fd5b506106ed61147a565b005b3480156106fb57600080fd5b50610716600480360381019061071191906135f6565b61148e565b005b610732600480360381019061072d91906135f6565b6114a0565b005b34801561074057600080fd5b5061075b6004803603810190610756919061384a565b6116b7565b005b34801561076957600080fd5b50610784600480360381019061077f9190613beb565b6116d2565b6040516107919190613cd6565b60405180910390f35b3480156107a657600080fd5b506107af611815565b6040516107bc9190613664565b60405180910390f35b3480156107d157600080fd5b506107da61183f565b6040516107e791906136fa565b60405180910390f35b3480156107fc57600080fd5b50610805611845565b604051610812919061359e565b60405180910390f35b34801561082757600080fd5b50610842600480360381019061083d9190613cf8565b6118d7565b60405161084f9190613cd6565b60405180910390f35b610872600480360381019061086d91906135f6565b611ae3565b005b34801561088057600080fd5b5061089b60048036038101906108969190613d4b565b611d09565b005b3480156108a957600080fd5b506108b2611e14565b6040516108bf919061359e565b60405180910390f35b3480156108d457600080fd5b506108dd611ea2565b6040516108ea91906136fa565b60405180910390f35b3480156108ff57600080fd5b5061091a600480360381019061091591906135f6565b611ea8565b005b61093660048036038101906109319190613e2c565b611eba565b005b34801561094457600080fd5b5061095f600480360381019061095a91906135f6565b61200d565b60405161096c9190613f04565b60405180910390f35b34801561098157600080fd5b5061099c600480360381019061099791906135f6565b612077565b6040516109a9919061359e565b60405180910390f35b3480156109be57600080fd5b506109c76121cf565b6040516109d491906136fa565b60405180910390f35b3480156109e957600080fd5b50610a0460048036038101906109ff91906138bf565b6121d5565b005b348015610a1257600080fd5b50610a2d6004803603810190610a289190613f1f565b6121fa565b604051610a3a91906134f3565b60405180910390f35b348015610a4f57600080fd5b50610a6a6004803603810190610a659190613f5f565b61228e565b005b348015610a7857600080fd5b50610a936004803603810190610a8e9190613beb565b612414565b005b348015610aa157600080fd5b50610aaa612497565b604051610ab791906136fa565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b1b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b4b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b6190613fce565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8d90613fce565b8015610bda5780601f10610baf57610100808354040283529160200191610bda565b820191906000526020600020905b815481529060010190602001808311610bbd57829003601f168201915b5050505050905090565b6000610bef8261249d565b610c25576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c6e82611398565b90508073ffffffffffffffffffffffffffffffffffffffff16610c8f6124fc565b73ffffffffffffffffffffffffffffffffffffffff1614610cf257610cbb81610cb66124fc565b6121fa565b610cf1576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d5481565b610db5612504565b80600b9081610dc491906141a1565b5050565b610dd0612504565b80601460006101000a81548160ff02191690831515021790555050565b6000610df7612582565b6001546000540303905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610f42573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e7657610e7184848461258b565b610f4e565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610ebf929190614273565b602060405180830381865afa158015610edc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0091906142b1565b610f4157336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610f389190613664565b60405180910390fd5b5b610f4d84848461258b565b5b50505050565b610f5c612504565b610f646128ad565b6000610f6e611815565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f919061430f565b60006040518083038185875af1925050503d8060008114610fce576040519150601f19603f3d011682016040523d82523d6000602084013e610fd3565b606091505b5050905080610fe157600080fd5b50610fea6128fc565b565b6daaeb6d7670e522a718067333cd4e81565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561113c573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036110705761106b848484612906565b611148565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016110b9929190614273565b602060405180830381865afa1580156110d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fa91906142b1565b61113b57336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016111329190613664565b60405180910390fd5b5b611147848484612906565b5b50505050565b611156612504565b80600d8190555050565b60115481565b61116e612504565b80600c908161117d91906141a1565b5050565b601460019054906101000a900460ff1681565b600b80546111a190613fce565b80601f01602080910402602001604051908101604052809291908181526020018280546111cd90613fce565b801561121a5780601f106111ef5761010080835404028352916020019161121a565b820191906000526020600020905b8154815290600101906020018083116111fd57829003601f168201915b505050505081565b6060600083839050905060008167ffffffffffffffff8111156112485761124761371f565b5b60405190808252806020026020018201604052801561128157816020015b61126e6133f0565b8152602001906001900390816112665790505b50905060005b8281146112d9576112b08686838181106112a4576112a3614324565b5b9050602002013561200d565b8282815181106112c3576112c2614324565b5b6020026020010181905250806001019050611287565b50809250505092915050565b601460009054906101000a900460ff1681565b611300612504565b8060118190555050565b600a805461131790613fce565b80601f016020809104026020016040519081016040528092919081815260200182805461134390613fce565b80156113905780601f1061136557610100808354040283529160200191611390565b820191906000526020600020905b81548152906001019060200180831161137357829003601f168201915b505050505081565b60006113a382612926565b9050919050565b60105481565b6113b8612504565b8060128190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611429576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611482612504565b61148c60006129f2565b565b611496612504565b8060108190555050565b806000811180156114b357506010548111155b6114f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e99061439f565b60405180910390fd5b601354816114fe610ded565b61150891906143ee565b1115611549576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115409061446e565b60405180910390fd5b6012548161155633612ab8565b61156091906143ee565b11156115a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159890614500565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461160f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116069061456c565b60405180910390fd5b60003414611652576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611649906145d8565b60405180910390fd5b601460009054906101000a900460ff16156116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169990614644565b60405180910390fd5b6116b36116ad612b0f565b83612b17565b5050565b6116bf612504565b80600a90816116ce91906141a1565b5050565b606060008060006116e2856113c2565b905060008167ffffffffffffffff811115611700576116ff61371f565b5b60405190808252806020026020018201604052801561172e5781602001602082028036833780820191505090505b5090506117396133f0565b6000611743612582565b90505b8386146118075761175681612b35565b915081604001516117fc57600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146117a157816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036117fb57808387806001019850815181106117ee576117ed614324565b5b6020026020010181815250505b5b806001019050611746565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f5481565b60606003805461185490613fce565b80601f016020809104026020016040519081016040528092919081815260200182805461188090613fce565b80156118cd5780601f106118a2576101008083540402835291602001916118cd565b820191906000526020600020905b8154815290600101906020018083116118b057829003601f168201915b5050505050905090565b6060818310611912576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061191d612b60565b9050611927612582565b85101561193957611936612582565b94505b80841115611945578093505b6000611950876113c2565b90508486101561197357600086860390508181101561196d578091505b50611978565b600090505b60008167ffffffffffffffff8111156119945761199361371f565b5b6040519080825280602002602001820160405280156119c25781602001602082028036833780820191505090505b509050600082036119d95780945050505050611adc565b60006119e48861200d565b9050600081604001516119f957816000015190505b60008990505b888114158015611a0f5750848714155b15611ace57611a1d81612b35565b92508260400151611ac357600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611a6857826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ac25780848880600101995081518110611ab557611ab4614324565b5b6020026020010181815250505b5b8060010190506119ff565b508583528296505050505050505b9392505050565b80600081118015611af65750600f548111155b611b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2c9061439f565b60405180910390fd5b600e5481611b41610ded565b611b4b91906143ee565b1115611b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b83906146b0565b60405180910390fd5b60115481611b9933612ab8565b611ba391906143ee565b1115611be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdb9061471c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c49906147ae565b60405180910390fd5b8180600d54611c6191906147ce565b341015611ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9a9061485c565b60405180910390fd5b601460009054906101000a900460ff1615611cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cea90614644565b60405180910390fd5b611d04611cfe612b0f565b84612b17565b505050565b8060076000611d166124fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611dc36124fc565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e0891906134f3565b60405180910390a35050565b600c8054611e2190613fce565b80601f0160208091040260200160405190810160405280929190818152602001828054611e4d90613fce565b8015611e9a5780601f10611e6f57610100808354040283529160200191611e9a565b820191906000526020600020905b815481529060010190602001808311611e7d57829003601f168201915b505050505081565b60125481565b611eb0612504565b80600f8190555050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611ff9573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f2d57611f2885858585612b69565b612006565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611f76929190614273565b602060405180830381865afa158015611f93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb791906142b1565b611ff857336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611fef9190613664565b60405180910390fd5b5b61200585858585612b69565b5b5050505050565b6120156133f0565b61201d6133f0565b612025612582565b8310806120395750612035612b60565b8310155b156120475780915050612072565b61205083612b35565b90508060400151156120655780915050612072565b61206e83612bdc565b9150505b919050565b60606120828261249d565b6120c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b8906148ee565b60405180910390fd5b60001515601460019054906101000a900460ff1615150361216e57600c80546120e990613fce565b80601f016020809104026020016040519081016040528092919081815260200182805461211590613fce565b80156121625780601f1061213757610100808354040283529160200191612162565b820191906000526020600020905b81548152906001019060200180831161214557829003601f168201915b505050505090506121ca565b6000612178612bfc565b9050600081511161219857604051806020016040528060008152506121c6565b806121a284612c8e565b600b6040516020016121b6939291906149cd565b6040516020818303038152906040525b9150505b919050565b600e5481565b6121dd612504565b80601460016101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b816000811180156122a15750600f548111155b6122e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d79061439f565b60405180910390fd5b600e54816122ec610ded565b6122f691906143ee565b1115612337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232e906146b0565b60405180910390fd5b6011548161234433612ab8565b61234e91906143ee565b111561238f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123869061471c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146123fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f4906147ae565b60405180910390fd5b612405612504565b61240f8284612b17565b505050565b61241c612504565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361248b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248290614a70565b60405180910390fd5b612494816129f2565b50565b60135481565b6000816124a8612582565b111580156124b7575060005482105b80156124f5575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b61250c612b0f565b73ffffffffffffffffffffffffffffffffffffffff1661252a611815565b73ffffffffffffffffffffffffffffffffffffffff1614612580576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257790614adc565b60405180910390fd5b565b60006001905090565b600061259682612926565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146125fd576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061260984612d5c565b9150915061261f818761261a6124fc565b612d83565b61266b576126348661262f6124fc565b6121fa565b61266a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036126d1576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126de8686866001612dc7565b80156126e957600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506127b785612793888887612dcd565b7c020000000000000000000000000000000000000000000000000000000017612df5565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361283d576000600185019050600060046000838152602001908152602001600020540361283b57600054811461283a578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128a58686866001612e20565b505050505050565b6002600954036128f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e990614b48565b60405180910390fd5b6002600981905550565b6001600981905550565b61292183838360405180602001604052806000815250611eba565b505050565b60008082905080612935612582565b116129bb576000548110156129ba5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036129b8575b600081036129ae576004600083600190039350838152602001908152602001600020549050612984565b80925050506129ed565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600033905090565b612b31828260405180602001604052806000815250612e26565b5050565b612b3d6133f0565b612b596004600084815260200190815260200160002054612ec3565b9050919050565b60008054905090565b612b74848484610e04565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612bd657612b9f84848484612f79565b612bd5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b612be46133f0565b612bf5612bf083612926565b612ec3565b9050919050565b6060600a8054612c0b90613fce565b80601f0160208091040260200160405190810160405280929190818152602001828054612c3790613fce565b8015612c845780601f10612c5957610100808354040283529160200191612c84565b820191906000526020600020905b815481529060010190602001808311612c6757829003601f168201915b5050505050905090565b606060006001612c9d846130c9565b01905060008167ffffffffffffffff811115612cbc57612cbb61371f565b5b6040519080825280601f01601f191660200182016040528015612cee5781602001600182028036833780820191505090505b509050600082602001820190505b600115612d51578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612d4557612d44614b68565b5b04945060008503612cfc575b819350505050919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612de486868461321c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612e308383613225565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612ebe57600080549050600083820390505b612e706000868380600101945086612f79565b612ea6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612e5d578160005414612ebb57600080fd5b50505b505050565b612ecb6133f0565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f9f6124fc565b8786866040518563ffffffff1660e01b8152600401612fc19493929190614bec565b6020604051808303816000875af1925050508015612ffd57506040513d601f19601f82011682018060405250810190612ffa9190614c4d565b60015b613076573d806000811461302d576040519150601f19603f3d011682016040523d82523d6000602084013e613032565b606091505b50600081510361306e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613127577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161311d5761311c614b68565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613164576d04ee2d6d415b85acef8100000000838161315a57613159614b68565b5b0492506020810190505b662386f26fc10000831061319357662386f26fc10000838161318957613188614b68565b5b0492506010810190505b6305f5e10083106131bc576305f5e10083816131b2576131b1614b68565b5b0492506008810190505b61271083106131e15761271083816131d7576131d6614b68565b5b0492506004810190505b6064831061320457606483816131fa576131f9614b68565b5b0492506002810190505b600a8310613213576001810190505b80915050919050565b60009392505050565b60008054905060008203613265576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132726000848385612dc7565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506132e9836132da6000866000612dcd565b6132e3856133e0565b17612df5565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461338a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061334f565b50600082036133c5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506133db6000848385612e20565b505050565b60006001821460e11b9050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61348881613453565b811461349357600080fd5b50565b6000813590506134a58161347f565b92915050565b6000602082840312156134c1576134c0613449565b5b60006134cf84828501613496565b91505092915050565b60008115159050919050565b6134ed816134d8565b82525050565b600060208201905061350860008301846134e4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561354857808201518184015260208101905061352d565b60008484015250505050565b6000601f19601f8301169050919050565b60006135708261350e565b61357a8185613519565b935061358a81856020860161352a565b61359381613554565b840191505092915050565b600060208201905081810360008301526135b88184613565565b905092915050565b6000819050919050565b6135d3816135c0565b81146135de57600080fd5b50565b6000813590506135f0816135ca565b92915050565b60006020828403121561360c5761360b613449565b5b600061361a848285016135e1565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061364e82613623565b9050919050565b61365e81613643565b82525050565b60006020820190506136796000830184613655565b92915050565b61368881613643565b811461369357600080fd5b50565b6000813590506136a58161367f565b92915050565b600080604083850312156136c2576136c1613449565b5b60006136d085828601613696565b92505060206136e1858286016135e1565b9150509250929050565b6136f4816135c0565b82525050565b600060208201905061370f60008301846136eb565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61375782613554565b810181811067ffffffffffffffff821117156137765761377561371f565b5b80604052505050565b600061378961343f565b9050613795828261374e565b919050565b600067ffffffffffffffff8211156137b5576137b461371f565b5b6137be82613554565b9050602081019050919050565b82818337600083830152505050565b60006137ed6137e88461379a565b61377f565b9050828152602081018484840111156138095761380861371a565b5b6138148482856137cb565b509392505050565b600082601f83011261383157613830613715565b5b81356138418482602086016137da565b91505092915050565b6000602082840312156138605761385f613449565b5b600082013567ffffffffffffffff81111561387e5761387d61344e565b5b61388a8482850161381c565b91505092915050565b61389c816134d8565b81146138a757600080fd5b50565b6000813590506138b981613893565b92915050565b6000602082840312156138d5576138d4613449565b5b60006138e3848285016138aa565b91505092915050565b60008060006060848603121561390557613904613449565b5b600061391386828701613696565b935050602061392486828701613696565b9250506040613935868287016135e1565b9150509250925092565b6000819050919050565b600061396461395f61395a84613623565b61393f565b613623565b9050919050565b600061397682613949565b9050919050565b60006139888261396b565b9050919050565b6139988161397d565b82525050565b60006020820190506139b3600083018461398f565b92915050565b600080fd5b600080fd5b60008083601f8401126139d9576139d8613715565b5b8235905067ffffffffffffffff8111156139f6576139f56139b9565b5b602083019150836020820283011115613a1257613a116139be565b5b9250929050565b60008060208385031215613a3057613a2f613449565b5b600083013567ffffffffffffffff811115613a4e57613a4d61344e565b5b613a5a858286016139c3565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613a9b81613643565b82525050565b600067ffffffffffffffff82169050919050565b613abe81613aa1565b82525050565b613acd816134d8565b82525050565b600062ffffff82169050919050565b613aeb81613ad3565b82525050565b608082016000820151613b076000850182613a92565b506020820151613b1a6020850182613ab5565b506040820151613b2d6040850182613ac4565b506060820151613b406060850182613ae2565b50505050565b6000613b528383613af1565b60808301905092915050565b6000602082019050919050565b6000613b7682613a66565b613b808185613a71565b9350613b8b83613a82565b8060005b83811015613bbc578151613ba38882613b46565b9750613bae83613b5e565b925050600181019050613b8f565b5085935050505092915050565b60006020820190508181036000830152613be38184613b6b565b905092915050565b600060208284031215613c0157613c00613449565b5b6000613c0f84828501613696565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613c4d816135c0565b82525050565b6000613c5f8383613c44565b60208301905092915050565b6000602082019050919050565b6000613c8382613c18565b613c8d8185613c23565b9350613c9883613c34565b8060005b83811015613cc9578151613cb08882613c53565b9750613cbb83613c6b565b925050600181019050613c9c565b5085935050505092915050565b60006020820190508181036000830152613cf08184613c78565b905092915050565b600080600060608486031215613d1157613d10613449565b5b6000613d1f86828701613696565b9350506020613d30868287016135e1565b9250506040613d41868287016135e1565b9150509250925092565b60008060408385031215613d6257613d61613449565b5b6000613d7085828601613696565b9250506020613d81858286016138aa565b9150509250929050565b600067ffffffffffffffff821115613da657613da561371f565b5b613daf82613554565b9050602081019050919050565b6000613dcf613dca84613d8b565b61377f565b905082815260208101848484011115613deb57613dea61371a565b5b613df68482856137cb565b509392505050565b600082601f830112613e1357613e12613715565b5b8135613e23848260208601613dbc565b91505092915050565b60008060008060808587031215613e4657613e45613449565b5b6000613e5487828801613696565b9450506020613e6587828801613696565b9350506040613e76878288016135e1565b925050606085013567ffffffffffffffff811115613e9757613e9661344e565b5b613ea387828801613dfe565b91505092959194509250565b608082016000820151613ec56000850182613a92565b506020820151613ed86020850182613ab5565b506040820151613eeb6040850182613ac4565b506060820151613efe6060850182613ae2565b50505050565b6000608082019050613f196000830184613eaf565b92915050565b60008060408385031215613f3657613f35613449565b5b6000613f4485828601613696565b9250506020613f5585828601613696565b9150509250929050565b60008060408385031215613f7657613f75613449565b5b6000613f84858286016135e1565b9250506020613f9585828601613696565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fe657607f821691505b602082108103613ff957613ff8613f9f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026140617fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614024565b61406b8683614024565b95508019841693508086168417925050509392505050565b600061409e614099614094846135c0565b61393f565b6135c0565b9050919050565b6000819050919050565b6140b883614083565b6140cc6140c4826140a5565b848454614031565b825550505050565b600090565b6140e16140d4565b6140ec8184846140af565b505050565b5b81811015614110576141056000826140d9565b6001810190506140f2565b5050565b601f8211156141555761412681613fff565b61412f84614014565b8101602085101561413e578190505b61415261414a85614014565b8301826140f1565b50505b505050565b600082821c905092915050565b60006141786000198460080261415a565b1980831691505092915050565b60006141918383614167565b9150826002028217905092915050565b6141aa8261350e565b67ffffffffffffffff8111156141c3576141c261371f565b5b6141cd8254613fce565b6141d8828285614114565b600060209050601f83116001811461420b57600084156141f9578287015190505b6142038582614185565b86555061426b565b601f19841661421986613fff565b60005b828110156142415784890151825560018201915060208501945060208101905061421c565b8683101561425e578489015161425a601f891682614167565b8355505b6001600288020188555050505b505050505050565b60006040820190506142886000830185613655565b6142956020830184613655565b9392505050565b6000815190506142ab81613893565b92915050565b6000602082840312156142c7576142c6613449565b5b60006142d58482850161429c565b91505092915050565b600081905092915050565b50565b60006142f96000836142de565b9150614304826142e9565b600082019050919050565b600061431a826142ec565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000614389601483613519565b915061439482614353565b602082019050919050565b600060208201905081810360008301526143b88161437c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006143f9826135c0565b9150614404836135c0565b925082820190508082111561441c5761441b6143bf565b5b92915050565b7f4d6178204672656520737570706c792065786365656465642100000000000000600082015250565b6000614458601983613519565b915061446382614422565b602082019050919050565b600060208201905081810360008301526144878161444b565b9050919050565b7f496e76616c6964206e756d626572206f72206d696e7465642046726565206d6160008201527f78202e2e2e000000000000000000000000000000000000000000000000000000602082015250565b60006144ea602583613519565b91506144f58261448e565b604082019050919050565b60006020820190508181036000830152614519816144dd565b9050919050565b7f436f6e7472616374206d696e74657273206765747320737465616b732e2e2e00600082015250565b6000614556601f83613519565b915061456182614520565b602082019050919050565b6000602082019050818103600083015261458581614549565b9050919050565b7f507574203020696e000000000000000000000000000000000000000000000000600082015250565b60006145c2600883613519565b91506145cd8261458c565b602082019050919050565b600060208201905081810360008301526145f1816145b5565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b600061462e601783613519565b9150614639826145f8565b602082019050919050565b6000602082019050818103600083015261465d81614621565b9050919050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b600061469a601483613519565b91506146a582614664565b602082019050919050565b600060208201905081810360008301526146c98161468d565b9050919050565b7f496e76616c6964206e756d626572206f72206d696e746564206d6178202e2e2e600082015250565b6000614706602083613519565b9150614711826146d0565b602082019050919050565b60006020820190508181036000830152614735816146f9565b9050919050565b7f436f6e7472616374206d696e746572732067657473206e6f20737465616b732e60008201527f2e2e000000000000000000000000000000000000000000000000000000000000602082015250565b6000614798602283613519565b91506147a38261473c565b604082019050919050565b600060208201905081810360008301526147c78161478b565b9050919050565b60006147d9826135c0565b91506147e4836135c0565b92508282026147f2816135c0565b91508282048414831517614809576148086143bf565b5b5092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6000614846601383613519565b915061485182614810565b602082019050919050565b6000602082019050818103600083015261487581614839565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006148d8602f83613519565b91506148e38261487c565b604082019050919050565b60006020820190508181036000830152614907816148cb565b9050919050565b600081905092915050565b60006149248261350e565b61492e818561490e565b935061493e81856020860161352a565b80840191505092915050565b6000815461495781613fce565b614961818661490e565b9450600182166000811461497c5760018114614991576149c4565b60ff19831686528115158202860193506149c4565b61499a85613fff565b60005b838110156149bc5781548189015260018201915060208101905061499d565b838801955050505b50505092915050565b60006149d98286614919565b91506149e58285614919565b91506149f1828461494a565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a5a602683613519565b9150614a65826149fe565b604082019050919050565b60006020820190508181036000830152614a8981614a4d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614ac6602083613519565b9150614ad182614a90565b602082019050919050565b60006020820190508181036000830152614af581614ab9565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614b32601f83613519565b9150614b3d82614afc565b602082019050919050565b60006020820190508181036000830152614b6181614b25565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000614bbe82614b97565b614bc88185614ba2565b9350614bd881856020860161352a565b614be181613554565b840191505092915050565b6000608082019050614c016000830187613655565b614c0e6020830186613655565b614c1b60408301856136eb565b8181036060830152614c2d8184614bb3565b905095945050505050565b600081519050614c478161347f565b92915050565b600060208284031215614c6357614c62613449565b5b6000614c7184828501614c38565b9150509291505056fea26469706673582212208d072a7ebc4046d27e177dd7d1bccc36d7975d4636614884172ea127ed8547cd64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000e4c696c20576f726d73204b616d6900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084c494c574f524d530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d543852544d33724e45577355324547414b4c3264424b4a683357517572516e4768584248397a31794244716e0000000000000000000000

Deployed Bytecode

0x6080604052600436106102935760003560e01c806370a082311161015a578063a45ba8e7116100c1578063d5abeb011161007a578063d5abeb01146109b2578063e0a80853146109dd578063e985e9c514610a06578063efbd73f414610a43578063f2fde38b14610a6c578063f892c6e214610a9557610293565b8063a45ba8e71461089d578063a7027357146108c8578063b071401b146108f3578063b88d4fde1461091c578063c23dc68f14610938578063c87b56dd1461097557610293565b80638da5cb5b116101135780638da5cb5b1461079a57806394354fd0146107c557806395d89b41146107f057806399a2557a1461081b578063a0712d6814610858578063a22cb4651461087457610293565b806370a082311461069b578063715018a6146106d85780637b2f1595146106ef5780637c928fe9146107185780637ec4a659146107345780638462151c1461075d57610293565b806344a0d68a116101fe5780635c975abb116101b75780635c975abb1461058b57806360d3e1ae146105b657806362b99ad4146105df5780636352211e1461060a57806366e98261146106475780636d7c4a4b1461067257610293565b806344a0d68a1461047b578063453c2310146104a45780634fdd43cb146104cf57806351830227146104f85780635503a0e8146105235780635bbb21771461054e57610293565b806316c38b3c1161025057806316c38b3c146103ad57806318160ddd146103d657806323b872dd146104015780633ccfd60b1461041d57806341f434341461043457806342842e0e1461045f57610293565b806301ffc9a71461029857806306fdde03146102d5578063081812fc14610300578063095ea7b31461033d57806313faede61461035957806316ba10e014610384575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba91906134ab565b610ac0565b6040516102cc91906134f3565b60405180910390f35b3480156102e157600080fd5b506102ea610b52565b6040516102f7919061359e565b60405180910390f35b34801561030c57600080fd5b50610327600480360381019061032291906135f6565b610be4565b6040516103349190613664565b60405180910390f35b610357600480360381019061035291906136ab565b610c63565b005b34801561036557600080fd5b5061036e610da7565b60405161037b91906136fa565b60405180910390f35b34801561039057600080fd5b506103ab60048036038101906103a6919061384a565b610dad565b005b3480156103b957600080fd5b506103d460048036038101906103cf91906138bf565b610dc8565b005b3480156103e257600080fd5b506103eb610ded565b6040516103f891906136fa565b60405180910390f35b61041b600480360381019061041691906138ec565b610e04565b005b34801561042957600080fd5b50610432610f54565b005b34801561044057600080fd5b50610449610fec565b604051610456919061399e565b60405180910390f35b610479600480360381019061047491906138ec565b610ffe565b005b34801561048757600080fd5b506104a2600480360381019061049d91906135f6565b61114e565b005b3480156104b057600080fd5b506104b9611160565b6040516104c691906136fa565b60405180910390f35b3480156104db57600080fd5b506104f660048036038101906104f1919061384a565b611166565b005b34801561050457600080fd5b5061050d611181565b60405161051a91906134f3565b60405180910390f35b34801561052f57600080fd5b50610538611194565b604051610545919061359e565b60405180910390f35b34801561055a57600080fd5b5061057560048036038101906105709190613a19565b611222565b6040516105829190613bc9565b60405180910390f35b34801561059757600080fd5b506105a06112e5565b6040516105ad91906134f3565b60405180910390f35b3480156105c257600080fd5b506105dd60048036038101906105d891906135f6565b6112f8565b005b3480156105eb57600080fd5b506105f461130a565b604051610601919061359e565b60405180910390f35b34801561061657600080fd5b50610631600480360381019061062c91906135f6565b611398565b60405161063e9190613664565b60405180910390f35b34801561065357600080fd5b5061065c6113aa565b60405161066991906136fa565b60405180910390f35b34801561067e57600080fd5b50610699600480360381019061069491906135f6565b6113b0565b005b3480156106a757600080fd5b506106c260048036038101906106bd9190613beb565b6113c2565b6040516106cf91906136fa565b60405180910390f35b3480156106e457600080fd5b506106ed61147a565b005b3480156106fb57600080fd5b50610716600480360381019061071191906135f6565b61148e565b005b610732600480360381019061072d91906135f6565b6114a0565b005b34801561074057600080fd5b5061075b6004803603810190610756919061384a565b6116b7565b005b34801561076957600080fd5b50610784600480360381019061077f9190613beb565b6116d2565b6040516107919190613cd6565b60405180910390f35b3480156107a657600080fd5b506107af611815565b6040516107bc9190613664565b60405180910390f35b3480156107d157600080fd5b506107da61183f565b6040516107e791906136fa565b60405180910390f35b3480156107fc57600080fd5b50610805611845565b604051610812919061359e565b60405180910390f35b34801561082757600080fd5b50610842600480360381019061083d9190613cf8565b6118d7565b60405161084f9190613cd6565b60405180910390f35b610872600480360381019061086d91906135f6565b611ae3565b005b34801561088057600080fd5b5061089b60048036038101906108969190613d4b565b611d09565b005b3480156108a957600080fd5b506108b2611e14565b6040516108bf919061359e565b60405180910390f35b3480156108d457600080fd5b506108dd611ea2565b6040516108ea91906136fa565b60405180910390f35b3480156108ff57600080fd5b5061091a600480360381019061091591906135f6565b611ea8565b005b61093660048036038101906109319190613e2c565b611eba565b005b34801561094457600080fd5b5061095f600480360381019061095a91906135f6565b61200d565b60405161096c9190613f04565b60405180910390f35b34801561098157600080fd5b5061099c600480360381019061099791906135f6565b612077565b6040516109a9919061359e565b60405180910390f35b3480156109be57600080fd5b506109c76121cf565b6040516109d491906136fa565b60405180910390f35b3480156109e957600080fd5b50610a0460048036038101906109ff91906138bf565b6121d5565b005b348015610a1257600080fd5b50610a2d6004803603810190610a289190613f1f565b6121fa565b604051610a3a91906134f3565b60405180910390f35b348015610a4f57600080fd5b50610a6a6004803603810190610a659190613f5f565b61228e565b005b348015610a7857600080fd5b50610a936004803603810190610a8e9190613beb565b612414565b005b348015610aa157600080fd5b50610aaa612497565b604051610ab791906136fa565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b1b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b4b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b6190613fce565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8d90613fce565b8015610bda5780601f10610baf57610100808354040283529160200191610bda565b820191906000526020600020905b815481529060010190602001808311610bbd57829003601f168201915b5050505050905090565b6000610bef8261249d565b610c25576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c6e82611398565b90508073ffffffffffffffffffffffffffffffffffffffff16610c8f6124fc565b73ffffffffffffffffffffffffffffffffffffffff1614610cf257610cbb81610cb66124fc565b6121fa565b610cf1576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d5481565b610db5612504565b80600b9081610dc491906141a1565b5050565b610dd0612504565b80601460006101000a81548160ff02191690831515021790555050565b6000610df7612582565b6001546000540303905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610f42573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e7657610e7184848461258b565b610f4e565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610ebf929190614273565b602060405180830381865afa158015610edc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0091906142b1565b610f4157336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610f389190613664565b60405180910390fd5b5b610f4d84848461258b565b5b50505050565b610f5c612504565b610f646128ad565b6000610f6e611815565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f919061430f565b60006040518083038185875af1925050503d8060008114610fce576040519150601f19603f3d011682016040523d82523d6000602084013e610fd3565b606091505b5050905080610fe157600080fd5b50610fea6128fc565b565b6daaeb6d7670e522a718067333cd4e81565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561113c573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036110705761106b848484612906565b611148565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016110b9929190614273565b602060405180830381865afa1580156110d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fa91906142b1565b61113b57336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016111329190613664565b60405180910390fd5b5b611147848484612906565b5b50505050565b611156612504565b80600d8190555050565b60115481565b61116e612504565b80600c908161117d91906141a1565b5050565b601460019054906101000a900460ff1681565b600b80546111a190613fce565b80601f01602080910402602001604051908101604052809291908181526020018280546111cd90613fce565b801561121a5780601f106111ef5761010080835404028352916020019161121a565b820191906000526020600020905b8154815290600101906020018083116111fd57829003601f168201915b505050505081565b6060600083839050905060008167ffffffffffffffff8111156112485761124761371f565b5b60405190808252806020026020018201604052801561128157816020015b61126e6133f0565b8152602001906001900390816112665790505b50905060005b8281146112d9576112b08686838181106112a4576112a3614324565b5b9050602002013561200d565b8282815181106112c3576112c2614324565b5b6020026020010181905250806001019050611287565b50809250505092915050565b601460009054906101000a900460ff1681565b611300612504565b8060118190555050565b600a805461131790613fce565b80601f016020809104026020016040519081016040528092919081815260200182805461134390613fce565b80156113905780601f1061136557610100808354040283529160200191611390565b820191906000526020600020905b81548152906001019060200180831161137357829003601f168201915b505050505081565b60006113a382612926565b9050919050565b60105481565b6113b8612504565b8060128190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611429576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611482612504565b61148c60006129f2565b565b611496612504565b8060108190555050565b806000811180156114b357506010548111155b6114f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e99061439f565b60405180910390fd5b601354816114fe610ded565b61150891906143ee565b1115611549576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115409061446e565b60405180910390fd5b6012548161155633612ab8565b61156091906143ee565b11156115a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159890614500565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461160f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116069061456c565b60405180910390fd5b60003414611652576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611649906145d8565b60405180910390fd5b601460009054906101000a900460ff16156116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169990614644565b60405180910390fd5b6116b36116ad612b0f565b83612b17565b5050565b6116bf612504565b80600a90816116ce91906141a1565b5050565b606060008060006116e2856113c2565b905060008167ffffffffffffffff811115611700576116ff61371f565b5b60405190808252806020026020018201604052801561172e5781602001602082028036833780820191505090505b5090506117396133f0565b6000611743612582565b90505b8386146118075761175681612b35565b915081604001516117fc57600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146117a157816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036117fb57808387806001019850815181106117ee576117ed614324565b5b6020026020010181815250505b5b806001019050611746565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f5481565b60606003805461185490613fce565b80601f016020809104026020016040519081016040528092919081815260200182805461188090613fce565b80156118cd5780601f106118a2576101008083540402835291602001916118cd565b820191906000526020600020905b8154815290600101906020018083116118b057829003601f168201915b5050505050905090565b6060818310611912576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061191d612b60565b9050611927612582565b85101561193957611936612582565b94505b80841115611945578093505b6000611950876113c2565b90508486101561197357600086860390508181101561196d578091505b50611978565b600090505b60008167ffffffffffffffff8111156119945761199361371f565b5b6040519080825280602002602001820160405280156119c25781602001602082028036833780820191505090505b509050600082036119d95780945050505050611adc565b60006119e48861200d565b9050600081604001516119f957816000015190505b60008990505b888114158015611a0f5750848714155b15611ace57611a1d81612b35565b92508260400151611ac357600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611a6857826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ac25780848880600101995081518110611ab557611ab4614324565b5b6020026020010181815250505b5b8060010190506119ff565b508583528296505050505050505b9392505050565b80600081118015611af65750600f548111155b611b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2c9061439f565b60405180910390fd5b600e5481611b41610ded565b611b4b91906143ee565b1115611b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b83906146b0565b60405180910390fd5b60115481611b9933612ab8565b611ba391906143ee565b1115611be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdb9061471c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c49906147ae565b60405180910390fd5b8180600d54611c6191906147ce565b341015611ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9a9061485c565b60405180910390fd5b601460009054906101000a900460ff1615611cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cea90614644565b60405180910390fd5b611d04611cfe612b0f565b84612b17565b505050565b8060076000611d166124fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611dc36124fc565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e0891906134f3565b60405180910390a35050565b600c8054611e2190613fce565b80601f0160208091040260200160405190810160405280929190818152602001828054611e4d90613fce565b8015611e9a5780601f10611e6f57610100808354040283529160200191611e9a565b820191906000526020600020905b815481529060010190602001808311611e7d57829003601f168201915b505050505081565b60125481565b611eb0612504565b80600f8190555050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611ff9573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f2d57611f2885858585612b69565b612006565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611f76929190614273565b602060405180830381865afa158015611f93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb791906142b1565b611ff857336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611fef9190613664565b60405180910390fd5b5b61200585858585612b69565b5b5050505050565b6120156133f0565b61201d6133f0565b612025612582565b8310806120395750612035612b60565b8310155b156120475780915050612072565b61205083612b35565b90508060400151156120655780915050612072565b61206e83612bdc565b9150505b919050565b60606120828261249d565b6120c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b8906148ee565b60405180910390fd5b60001515601460019054906101000a900460ff1615150361216e57600c80546120e990613fce565b80601f016020809104026020016040519081016040528092919081815260200182805461211590613fce565b80156121625780601f1061213757610100808354040283529160200191612162565b820191906000526020600020905b81548152906001019060200180831161214557829003601f168201915b505050505090506121ca565b6000612178612bfc565b9050600081511161219857604051806020016040528060008152506121c6565b806121a284612c8e565b600b6040516020016121b6939291906149cd565b6040516020818303038152906040525b9150505b919050565b600e5481565b6121dd612504565b80601460016101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b816000811180156122a15750600f548111155b6122e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d79061439f565b60405180910390fd5b600e54816122ec610ded565b6122f691906143ee565b1115612337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232e906146b0565b60405180910390fd5b6011548161234433612ab8565b61234e91906143ee565b111561238f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123869061471c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146123fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f4906147ae565b60405180910390fd5b612405612504565b61240f8284612b17565b505050565b61241c612504565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361248b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248290614a70565b60405180910390fd5b612494816129f2565b50565b60135481565b6000816124a8612582565b111580156124b7575060005482105b80156124f5575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b61250c612b0f565b73ffffffffffffffffffffffffffffffffffffffff1661252a611815565b73ffffffffffffffffffffffffffffffffffffffff1614612580576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257790614adc565b60405180910390fd5b565b60006001905090565b600061259682612926565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146125fd576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061260984612d5c565b9150915061261f818761261a6124fc565b612d83565b61266b576126348661262f6124fc565b6121fa565b61266a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036126d1576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126de8686866001612dc7565b80156126e957600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506127b785612793888887612dcd565b7c020000000000000000000000000000000000000000000000000000000017612df5565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361283d576000600185019050600060046000838152602001908152602001600020540361283b57600054811461283a578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128a58686866001612e20565b505050505050565b6002600954036128f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e990614b48565b60405180910390fd5b6002600981905550565b6001600981905550565b61292183838360405180602001604052806000815250611eba565b505050565b60008082905080612935612582565b116129bb576000548110156129ba5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036129b8575b600081036129ae576004600083600190039350838152602001908152602001600020549050612984565b80925050506129ed565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600033905090565b612b31828260405180602001604052806000815250612e26565b5050565b612b3d6133f0565b612b596004600084815260200190815260200160002054612ec3565b9050919050565b60008054905090565b612b74848484610e04565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612bd657612b9f84848484612f79565b612bd5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b612be46133f0565b612bf5612bf083612926565b612ec3565b9050919050565b6060600a8054612c0b90613fce565b80601f0160208091040260200160405190810160405280929190818152602001828054612c3790613fce565b8015612c845780601f10612c5957610100808354040283529160200191612c84565b820191906000526020600020905b815481529060010190602001808311612c6757829003601f168201915b5050505050905090565b606060006001612c9d846130c9565b01905060008167ffffffffffffffff811115612cbc57612cbb61371f565b5b6040519080825280601f01601f191660200182016040528015612cee5781602001600182028036833780820191505090505b509050600082602001820190505b600115612d51578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612d4557612d44614b68565b5b04945060008503612cfc575b819350505050919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612de486868461321c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612e308383613225565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612ebe57600080549050600083820390505b612e706000868380600101945086612f79565b612ea6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612e5d578160005414612ebb57600080fd5b50505b505050565b612ecb6133f0565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f9f6124fc565b8786866040518563ffffffff1660e01b8152600401612fc19493929190614bec565b6020604051808303816000875af1925050508015612ffd57506040513d601f19601f82011682018060405250810190612ffa9190614c4d565b60015b613076573d806000811461302d576040519150601f19603f3d011682016040523d82523d6000602084013e613032565b606091505b50600081510361306e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613127577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161311d5761311c614b68565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613164576d04ee2d6d415b85acef8100000000838161315a57613159614b68565b5b0492506020810190505b662386f26fc10000831061319357662386f26fc10000838161318957613188614b68565b5b0492506010810190505b6305f5e10083106131bc576305f5e10083816131b2576131b1614b68565b5b0492506008810190505b61271083106131e15761271083816131d7576131d6614b68565b5b0492506004810190505b6064831061320457606483816131fa576131f9614b68565b5b0492506002810190505b600a8310613213576001810190505b80915050919050565b60009392505050565b60008054905060008203613265576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132726000848385612dc7565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506132e9836132da6000866000612dcd565b6132e3856133e0565b17612df5565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461338a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061334f565b50600082036133c5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506133db6000848385612e20565b505050565b60006001821460e11b9050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61348881613453565b811461349357600080fd5b50565b6000813590506134a58161347f565b92915050565b6000602082840312156134c1576134c0613449565b5b60006134cf84828501613496565b91505092915050565b60008115159050919050565b6134ed816134d8565b82525050565b600060208201905061350860008301846134e4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561354857808201518184015260208101905061352d565b60008484015250505050565b6000601f19601f8301169050919050565b60006135708261350e565b61357a8185613519565b935061358a81856020860161352a565b61359381613554565b840191505092915050565b600060208201905081810360008301526135b88184613565565b905092915050565b6000819050919050565b6135d3816135c0565b81146135de57600080fd5b50565b6000813590506135f0816135ca565b92915050565b60006020828403121561360c5761360b613449565b5b600061361a848285016135e1565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061364e82613623565b9050919050565b61365e81613643565b82525050565b60006020820190506136796000830184613655565b92915050565b61368881613643565b811461369357600080fd5b50565b6000813590506136a58161367f565b92915050565b600080604083850312156136c2576136c1613449565b5b60006136d085828601613696565b92505060206136e1858286016135e1565b9150509250929050565b6136f4816135c0565b82525050565b600060208201905061370f60008301846136eb565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61375782613554565b810181811067ffffffffffffffff821117156137765761377561371f565b5b80604052505050565b600061378961343f565b9050613795828261374e565b919050565b600067ffffffffffffffff8211156137b5576137b461371f565b5b6137be82613554565b9050602081019050919050565b82818337600083830152505050565b60006137ed6137e88461379a565b61377f565b9050828152602081018484840111156138095761380861371a565b5b6138148482856137cb565b509392505050565b600082601f83011261383157613830613715565b5b81356138418482602086016137da565b91505092915050565b6000602082840312156138605761385f613449565b5b600082013567ffffffffffffffff81111561387e5761387d61344e565b5b61388a8482850161381c565b91505092915050565b61389c816134d8565b81146138a757600080fd5b50565b6000813590506138b981613893565b92915050565b6000602082840312156138d5576138d4613449565b5b60006138e3848285016138aa565b91505092915050565b60008060006060848603121561390557613904613449565b5b600061391386828701613696565b935050602061392486828701613696565b9250506040613935868287016135e1565b9150509250925092565b6000819050919050565b600061396461395f61395a84613623565b61393f565b613623565b9050919050565b600061397682613949565b9050919050565b60006139888261396b565b9050919050565b6139988161397d565b82525050565b60006020820190506139b3600083018461398f565b92915050565b600080fd5b600080fd5b60008083601f8401126139d9576139d8613715565b5b8235905067ffffffffffffffff8111156139f6576139f56139b9565b5b602083019150836020820283011115613a1257613a116139be565b5b9250929050565b60008060208385031215613a3057613a2f613449565b5b600083013567ffffffffffffffff811115613a4e57613a4d61344e565b5b613a5a858286016139c3565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613a9b81613643565b82525050565b600067ffffffffffffffff82169050919050565b613abe81613aa1565b82525050565b613acd816134d8565b82525050565b600062ffffff82169050919050565b613aeb81613ad3565b82525050565b608082016000820151613b076000850182613a92565b506020820151613b1a6020850182613ab5565b506040820151613b2d6040850182613ac4565b506060820151613b406060850182613ae2565b50505050565b6000613b528383613af1565b60808301905092915050565b6000602082019050919050565b6000613b7682613a66565b613b808185613a71565b9350613b8b83613a82565b8060005b83811015613bbc578151613ba38882613b46565b9750613bae83613b5e565b925050600181019050613b8f565b5085935050505092915050565b60006020820190508181036000830152613be38184613b6b565b905092915050565b600060208284031215613c0157613c00613449565b5b6000613c0f84828501613696565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613c4d816135c0565b82525050565b6000613c5f8383613c44565b60208301905092915050565b6000602082019050919050565b6000613c8382613c18565b613c8d8185613c23565b9350613c9883613c34565b8060005b83811015613cc9578151613cb08882613c53565b9750613cbb83613c6b565b925050600181019050613c9c565b5085935050505092915050565b60006020820190508181036000830152613cf08184613c78565b905092915050565b600080600060608486031215613d1157613d10613449565b5b6000613d1f86828701613696565b9350506020613d30868287016135e1565b9250506040613d41868287016135e1565b9150509250925092565b60008060408385031215613d6257613d61613449565b5b6000613d7085828601613696565b9250506020613d81858286016138aa565b9150509250929050565b600067ffffffffffffffff821115613da657613da561371f565b5b613daf82613554565b9050602081019050919050565b6000613dcf613dca84613d8b565b61377f565b905082815260208101848484011115613deb57613dea61371a565b5b613df68482856137cb565b509392505050565b600082601f830112613e1357613e12613715565b5b8135613e23848260208601613dbc565b91505092915050565b60008060008060808587031215613e4657613e45613449565b5b6000613e5487828801613696565b9450506020613e6587828801613696565b9350506040613e76878288016135e1565b925050606085013567ffffffffffffffff811115613e9757613e9661344e565b5b613ea387828801613dfe565b91505092959194509250565b608082016000820151613ec56000850182613a92565b506020820151613ed86020850182613ab5565b506040820151613eeb6040850182613ac4565b506060820151613efe6060850182613ae2565b50505050565b6000608082019050613f196000830184613eaf565b92915050565b60008060408385031215613f3657613f35613449565b5b6000613f4485828601613696565b9250506020613f5585828601613696565b9150509250929050565b60008060408385031215613f7657613f75613449565b5b6000613f84858286016135e1565b9250506020613f9585828601613696565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fe657607f821691505b602082108103613ff957613ff8613f9f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026140617fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614024565b61406b8683614024565b95508019841693508086168417925050509392505050565b600061409e614099614094846135c0565b61393f565b6135c0565b9050919050565b6000819050919050565b6140b883614083565b6140cc6140c4826140a5565b848454614031565b825550505050565b600090565b6140e16140d4565b6140ec8184846140af565b505050565b5b81811015614110576141056000826140d9565b6001810190506140f2565b5050565b601f8211156141555761412681613fff565b61412f84614014565b8101602085101561413e578190505b61415261414a85614014565b8301826140f1565b50505b505050565b600082821c905092915050565b60006141786000198460080261415a565b1980831691505092915050565b60006141918383614167565b9150826002028217905092915050565b6141aa8261350e565b67ffffffffffffffff8111156141c3576141c261371f565b5b6141cd8254613fce565b6141d8828285614114565b600060209050601f83116001811461420b57600084156141f9578287015190505b6142038582614185565b86555061426b565b601f19841661421986613fff565b60005b828110156142415784890151825560018201915060208501945060208101905061421c565b8683101561425e578489015161425a601f891682614167565b8355505b6001600288020188555050505b505050505050565b60006040820190506142886000830185613655565b6142956020830184613655565b9392505050565b6000815190506142ab81613893565b92915050565b6000602082840312156142c7576142c6613449565b5b60006142d58482850161429c565b91505092915050565b600081905092915050565b50565b60006142f96000836142de565b9150614304826142e9565b600082019050919050565b600061431a826142ec565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000614389601483613519565b915061439482614353565b602082019050919050565b600060208201905081810360008301526143b88161437c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006143f9826135c0565b9150614404836135c0565b925082820190508082111561441c5761441b6143bf565b5b92915050565b7f4d6178204672656520737570706c792065786365656465642100000000000000600082015250565b6000614458601983613519565b915061446382614422565b602082019050919050565b600060208201905081810360008301526144878161444b565b9050919050565b7f496e76616c6964206e756d626572206f72206d696e7465642046726565206d6160008201527f78202e2e2e000000000000000000000000000000000000000000000000000000602082015250565b60006144ea602583613519565b91506144f58261448e565b604082019050919050565b60006020820190508181036000830152614519816144dd565b9050919050565b7f436f6e7472616374206d696e74657273206765747320737465616b732e2e2e00600082015250565b6000614556601f83613519565b915061456182614520565b602082019050919050565b6000602082019050818103600083015261458581614549565b9050919050565b7f507574203020696e000000000000000000000000000000000000000000000000600082015250565b60006145c2600883613519565b91506145cd8261458c565b602082019050919050565b600060208201905081810360008301526145f1816145b5565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b600061462e601783613519565b9150614639826145f8565b602082019050919050565b6000602082019050818103600083015261465d81614621565b9050919050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b600061469a601483613519565b91506146a582614664565b602082019050919050565b600060208201905081810360008301526146c98161468d565b9050919050565b7f496e76616c6964206e756d626572206f72206d696e746564206d6178202e2e2e600082015250565b6000614706602083613519565b9150614711826146d0565b602082019050919050565b60006020820190508181036000830152614735816146f9565b9050919050565b7f436f6e7472616374206d696e746572732067657473206e6f20737465616b732e60008201527f2e2e000000000000000000000000000000000000000000000000000000000000602082015250565b6000614798602283613519565b91506147a38261473c565b604082019050919050565b600060208201905081810360008301526147c78161478b565b9050919050565b60006147d9826135c0565b91506147e4836135c0565b92508282026147f2816135c0565b91508282048414831517614809576148086143bf565b5b5092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6000614846601383613519565b915061485182614810565b602082019050919050565b6000602082019050818103600083015261487581614839565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006148d8602f83613519565b91506148e38261487c565b604082019050919050565b60006020820190508181036000830152614907816148cb565b9050919050565b600081905092915050565b60006149248261350e565b61492e818561490e565b935061493e81856020860161352a565b80840191505092915050565b6000815461495781613fce565b614961818661490e565b9450600182166000811461497c5760018114614991576149c4565b60ff19831686528115158202860193506149c4565b61499a85613fff565b60005b838110156149bc5781548189015260018201915060208101905061499d565b838801955050505b50505092915050565b60006149d98286614919565b91506149e58285614919565b91506149f1828461494a565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a5a602683613519565b9150614a65826149fe565b604082019050919050565b60006020820190508181036000830152614a8981614a4d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614ac6602083613519565b9150614ad182614a90565b602082019050919050565b60006020820190508181036000830152614af581614ab9565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614b32601f83613519565b9150614b3d82614afc565b602082019050919050565b60006020820190508181036000830152614b6181614b25565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000614bbe82614b97565b614bc88185614ba2565b9350614bd881856020860161352a565b614be181613554565b840191505092915050565b6000608082019050614c016000830187613655565b614c0e6020830186613655565b614c1b60408301856136eb565b8181036060830152614c2d8184614bb3565b905095945050505050565b600081519050614c478161347f565b92915050565b600060208284031215614c6357614c62613449565b5b6000614c7184828501614c38565b9150509291505056fea26469706673582212208d072a7ebc4046d27e177dd7d1bccc36d7975d4636614884172ea127ed8547cd64736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000e4c696c20576f726d73204b616d6900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084c494c574f524d530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d543852544d33724e45577355324547414b4c3264424b4a683357517572516e4768584248397a31794244716e0000000000000000000000

-----Decoded View---------------
Arg [0] : _tokenName (string): Lil Worms Kami
Arg [1] : _tokenSymbol (string): LILWORMS
Arg [2] : _uriPrefix (string): ipfs://QmT8RTM3rNEWsU2EGAKL2dBKJh3WQurQnGhXBH9z1yBDqn

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [4] : 4c696c20576f726d73204b616d69000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [6] : 4c494c574f524d53000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [8] : 697066733a2f2f516d543852544d33724e45577355324547414b4c3264424b4a
Arg [9] : 683357517572516e4768584248397a31794244716e0000000000000000000000


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.