ETH Price: $3,318.18 (-4.39%)

Token

OHDAT Genesis Pass (OHDAT-GENESIS-PASS)
 

Overview

Max Total Supply

154 OHDAT-GENESIS-PASS

Holders

129

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
sishan.eth
Balance
1 OHDAT-GENESIS-PASS
0xde54227dc7cb1de999979f21548096d92b64827f
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:
NFT721A

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : NFT721AMUL.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract NFT721A is ERC721A, Ownable {
    using SafeMath for uint256;
    address public signer;
    mapping(string => bool) internal nonceMap;
    mapping(address => uint256) internal mintCountMap;
    string public baseUri;
    uint256 public maxCount;
    bool whiteListMintAvailable = false;
    uint256 public whiteListMintPrice = 300000000000000000;
    uint256 public individualWhiteListMintLimit = 1;
    bool mintAvailable = false;
    uint256 public safeMintPrice = 400000000000000000;
    uint256 public mintPrice = 500000000000000000;
    uint256 public individualMintLimit = 2;

    constructor() ERC721A("OHDAT Genesis Pass", "OHDAT-GENESIS-PASS") {}

    //******SET UP******
    function setMaxCount(uint256 _maxCount) public onlyOwner {
        require(_maxCount > 0, "the max id must more than 0!");
        maxCount = _maxCount;
    }

    function setWhiteListMintPrice(uint256 _whiteListMintPrice) public onlyOwner {
        require(_whiteListMintPrice > 0, "the price must more than 0!");
        whiteListMintPrice = _whiteListMintPrice;
    }

    function setSafeMintPrice(uint256 _safeMintPrice) public onlyOwner {
        require(_safeMintPrice > 0, "the price must more than 0!");
        safeMintPrice = _safeMintPrice;
    }


    function setMintPrice(uint256 _mintPrice) public onlyOwner {
        require(_mintPrice > 0, "the price must more than 0!");
        mintPrice = _mintPrice;
    }

    function setSigner(address _signer) public onlyOwner {
        signer = _signer;
    }

    function setBaseURI(string memory _newURI) public onlyOwner {
        baseUri = _newURI;
    }

    function setWhiteListMintAvailable(bool _whiteListMintAvailable) public onlyOwner {
        whiteListMintAvailable = _whiteListMintAvailable;
    }

    function setMintAvailable(bool _mintAvailable) public onlyOwner {
        mintAvailable = _mintAvailable;
    }

    function setIndividualWhiteListMintLimit(uint256 _individualWhiteListMintLimit) public onlyOwner {
        require(_individualWhiteListMintLimit > 0, "the individual white list mint limit must more than 0!");
        individualWhiteListMintLimit = _individualWhiteListMintLimit;
    }

    function setIndividualMintLimit(uint256 _individualMintLimit) public onlyOwner {
        require(_individualMintLimit > 0, "the individual mint limit must more than 0!");
        individualMintLimit = _individualMintLimit;
    }
    //******END SET UP******

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

    function withdraw() public payable onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    function whiteListMint(
        uint256 quantity,
        bytes32 hash,
        bytes memory signature,
        uint256 blockHeight,
        string memory nonce
    ) external payable {
        require(whiteListMintAvailable, "White list mint not available!");
        require(quantity > 0, "The quantity must more than 0!");
        require(
            _nextTokenId() + quantity <= maxCount,
            "Not enough stock!"
        );
        require(
            mintCountMap[msg.sender] + quantity <= individualWhiteListMintLimit,
            "You have reached individual white list mint limit!"
        );
        //require(blockHeight >= block.number, "The block has expired!");
        require(!nonceMap[nonce], "Nonce already exist!");
        require(hashMint(quantity, blockHeight, nonce, "ohdat_pass_white_list_mint") == hash, "Invalid hash!");
        require(matchAddressSigner(hash, signature), "Invalid signature!");

        uint256 totalPrice = quantity.mul(whiteListMintPrice);
        require(msg.value >= totalPrice, "Not enough money!");
        if (msg.value > totalPrice) {
            payable(msg.sender).transfer(msg.value - totalPrice);
        }

        _safeMint(msg.sender, quantity);
        nonceMap[nonce] = true;
        mintCountMap[msg.sender] = mintCountMap[msg.sender] + quantity;
    }

    function safeMint(
        uint256 quantity,
        bytes32 hash,
        bytes memory signature,
        uint256 blockHeight,
        string memory nonce
    ) external payable {
        require(mintAvailable, "Mint not available!");
        require(quantity > 0, "The quantity must more than 0!");
        require(
            _nextTokenId() + quantity <= maxCount,
            "Not enough stock!"
        );
        require(
            mintCountMap[msg.sender] + quantity <= individualMintLimit,
            "You have reached individual safe mint limit!"
        );
        //require(blockHeight >= block.number, "The block has expired!");
        require(!nonceMap[nonce], "Nonce already exist!");
        require(hashMint(quantity, blockHeight, nonce, "ohdat_pass_safe_mint") == hash, "Invalid hash!");
        require(matchAddressSigner(hash, signature), "Invalid signature!");

        uint256 totalPrice = quantity.mul(safeMintPrice);
        require(msg.value >= totalPrice, "Not enough money!");
        if (msg.value > totalPrice) {
            payable(msg.sender).transfer(msg.value - totalPrice);
        }

        _safeMint(msg.sender, quantity);
        nonceMap[nonce] = true;
        mintCountMap[msg.sender] = mintCountMap[msg.sender] + quantity;
    }

    function mint(uint256 quantity) external payable {
        require(mintAvailable, "Mint not available!");
        require(quantity > 0, "The quantity is less than 0!");
        require(
            _nextTokenId() + quantity <= maxCount,
            "Not enough stock!"
        );
        require(
            mintCountMap[msg.sender] + quantity <= individualMintLimit,
            "You have reached individual mint limit!"
        );

        uint256 totalPrice = quantity.mul(mintPrice);
        require(msg.value >= totalPrice, "Not enough money!");
        if (msg.value > totalPrice) {
            payable(msg.sender).transfer(msg.value - totalPrice);
        }

        _safeMint(msg.sender, quantity);
        mintCountMap[msg.sender] = mintCountMap[msg.sender] + quantity;
    }

    function airdrop(address to, uint256 quantity) public onlyOwner {
        require(quantity > 0, "The quantity is less than 0!");
        require(
            _nextTokenId() + quantity <= maxCount,
            "The quantity exceeds the stock!"
        );
        _safeMint(to, quantity);
    }

    function burn(uint256 tokenId) external {
        _burn(tokenId, true);
    }

    function hashMint(uint256 quantity, uint256 blockHeight, string memory nonce, string memory code)
    private
    view
    returns (bytes32)
    {
        bytes32 hash = keccak256(
            abi.encodePacked(
                "\x19Ethereum Signed Message:\n32",
                keccak256(
                    abi.encodePacked(msg.sender, quantity, blockHeight, nonce, code)
                )
            )
        );
        return hash;
    }

    function matchAddressSigner(bytes32 hash, bytes memory signature)
    internal
    view
    returns (bool)
    {
        return signer == recoverSigner(hash, signature);
    }

    function recoverSigner(
        bytes32 _ethSignedMessageHash,
        bytes memory _signature
    ) internal pure returns (address){
        (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature);
        return ecrecover(_ethSignedMessageHash, v, r, s);
    }

    function splitSignature(bytes memory sig)
    internal
    pure
    returns (
        bytes32 r,
        bytes32 s,
        uint8 v
    )
    {
        require(sig.length == 65, "Invalid signature length!");
        assembly {
            r := mload(add(sig, 32))
            s := mload(add(sig, 64))
            v := byte(0, mload(add(sig, 96)))
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard,
 * including the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at `_startTokenId()`
 * (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

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

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

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

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

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

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

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

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

    // The bit position of `extraData` in packed ownership.
    uint256 private constant BITPOS_EXTRA_DATA = 232;

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

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

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

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

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

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

    // Mapping from token ID to approved address.
    mapping(uint256 => address) private _tokenApprovals;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

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

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

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

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

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity);

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

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

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

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

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

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

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

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

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

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred.
     * This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred.
     * This includes minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

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

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

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

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

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

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

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

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 6 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"individualMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"individualWhiteListMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"blockHeight","type":"uint256"},{"internalType":"string","name":"nonce","type":"string"}],"name":"safeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"safeMintPrice","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_individualMintLimit","type":"uint256"}],"name":"setIndividualMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_individualWhiteListMintLimit","type":"uint256"}],"name":"setIndividualWhiteListMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxCount","type":"uint256"}],"name":"setMaxCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mintAvailable","type":"bool"}],"name":"setMintAvailable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_safeMintPrice","type":"uint256"}],"name":"setSafeMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_whiteListMintAvailable","type":"bool"}],"name":"setWhiteListMintAvailable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whiteListMintPrice","type":"uint256"}],"name":"setWhiteListMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"blockHeight","type":"uint256"},{"internalType":"string","name":"nonce","type":"string"}],"name":"whiteListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whiteListMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526000600e60006101000a81548160ff021916908315150217905550670429d069189e0000600f5560016010556000601160006101000a81548160ff02191690831515021790555067058d15e1762800006012556706f05b59d3b2000060135560026014553480156200007557600080fd5b506040518060400160405280601281526020017f4f484441542047656e65736973205061737300000000000000000000000000008152506040518060400160405280601281526020017f4f484441542d47454e455349532d5041535300000000000000000000000000008152508160029080519060200190620000fa92919062000225565b5080600390805190602001906200011392919062000225565b50620001246200015260201b60201c565b60008190555050506200014c620001406200015760201b60201c565b6200015f60201b60201c565b6200033a565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023390620002d5565b90600052602060002090601f016020900481019282620002575760008555620002a3565b82601f106200027257805160ff1916838001178555620002a3565b82800160010185558215620002a3579182015b82811115620002a257825182559160200191906001019062000285565b5b509050620002b29190620002b6565b5090565b5b80821115620002d1576000816000905550600101620002b7565b5090565b60006002820490506001821680620002ee57607f821691505b602082108114156200030557620003046200030b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6146e0806200034a6000396000f3fe6080604052600436106102465760003560e01c8063715018a611610139578063a35e617f116100b6578063d41341f41161007a578063d41341f414610815578063daf4613514610840578063e985e9c514610869578063f2fde38b146108a6578063f4a0a528146108cf578063f6fd63d4146108f857610246565b8063a35e617f14610732578063b88d4fde1461075b578063b927837414610784578063bf97ef1e146107ad578063c87b56dd146107d857610246565b80639abc8320116100fd5780639abc83201461066e5780639ada158a146106995780639ef2d87a146106c2578063a0712d68146106ed578063a22cb4651461070957610246565b8063715018a6146105bc578063785be529146105d35780638ba4cc3c146105ef5780638da5cb5b1461061857806395d89b411461064357610246565b806327e467c8116101c75780636352211e1161018b5780636352211e146104c55780636817c76c146105025780636c19e7831461052d5780636f501a231461055657806370a082311461057f57610246565b806327e467c8146104155780633ccfd60b1461044057806342842e0e1461044a57806342966c681461047357806355f804b31461049c57610246565b80631614cc881161020e5780631614cc881461034257806318160ddd1461036b578063238ac9331461039657806323b872dd146103c15780632785fc90146103ea57610246565b806301ffc9a71461024b57806306fdde031461028857806307ff4390146102b3578063081812fc146102dc578063095ea7b314610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613484565b610914565b60405161027f9190613b18565b60405180910390f35b34801561029457600080fd5b5061029d6109a6565b6040516102aa9190613b78565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613517565b610a38565b005b3480156102e857600080fd5b5061030360048036038101906102fe9190613517565b610a8d565b6040516103109190613ab1565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b919061341f565b610b09565b005b34801561034e57600080fd5b5061036960048036038101906103649190613517565b610c4a565b005b34801561037757600080fd5b50610380610c9f565b60405161038d9190613e1a565b60405180910390f35b3480156103a257600080fd5b506103ab610cb6565b6040516103b89190613ab1565b60405180910390f35b3480156103cd57600080fd5b506103e860048036038101906103e39190613319565b610cdc565b005b3480156103f657600080fd5b506103ff611001565b60405161040c9190613e1a565b60405180910390f35b34801561042157600080fd5b5061042a611007565b6040516104379190613e1a565b60405180910390f35b61044861100d565b005b34801561045657600080fd5b50610471600480360381019061046c9190613319565b61105e565b005b34801561047f57600080fd5b5061049a60048036038101906104959190613517565b61107e565b005b3480156104a857600080fd5b506104c360048036038101906104be91906134d6565b61108c565b005b3480156104d157600080fd5b506104ec60048036038101906104e79190613517565b6110ae565b6040516104f99190613ab1565b60405180910390f35b34801561050e57600080fd5b506105176110c0565b6040516105249190613e1a565b60405180910390f35b34801561053957600080fd5b50610554600480360381019061054f91906132b4565b6110c6565b005b34801561056257600080fd5b5061057d6004803603810190610578919061345b565b611112565b005b34801561058b57600080fd5b506105a660048036038101906105a191906132b4565b611137565b6040516105b39190613e1a565b60405180910390f35b3480156105c857600080fd5b506105d16111f0565b005b6105ed60048036038101906105e89190613540565b611204565b005b3480156105fb57600080fd5b506106166004803603810190610611919061341f565b611641565b005b34801561062457600080fd5b5061062d6116f1565b60405161063a9190613ab1565b60405180910390f35b34801561064f57600080fd5b5061065861171b565b6040516106659190613b78565b60405180910390f35b34801561067a57600080fd5b506106836117ad565b6040516106909190613b78565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb9190613517565b61183b565b005b3480156106ce57600080fd5b506106d7611890565b6040516106e49190613e1a565b60405180910390f35b61070760048036038101906107029190613517565b611896565b005b34801561071557600080fd5b50610730600480360381019061072b91906133e3565b611b61565b005b34801561073e57600080fd5b5061075960048036038101906107549190613517565b611cd9565b005b34801561076757600080fd5b50610782600480360381019061077d9190613368565b611d2e565b005b34801561079057600080fd5b506107ab60048036038101906107a69190613517565b611da1565b005b3480156107b957600080fd5b506107c2611df6565b6040516107cf9190613e1a565b60405180910390f35b3480156107e457600080fd5b506107ff60048036038101906107fa9190613517565b611dfc565b60405161080c9190613b78565b60405180910390f35b34801561082157600080fd5b5061082a611e9b565b6040516108379190613e1a565b60405180910390f35b34801561084c57600080fd5b506108676004803603810190610862919061345b565b611ea1565b005b34801561087557600080fd5b50610890600480360381019061088b91906132dd565b611ec6565b60405161089d9190613b18565b60405180910390f35b3480156108b257600080fd5b506108cd60048036038101906108c891906132b4565b611f5a565b005b3480156108db57600080fd5b506108f660048036038101906108f19190613517565b611fde565b005b610912600480360381019061090d9190613540565b612033565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061099f5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546109b5906140b0565b80601f01602080910402602001604051908101604052809291908181526020018280546109e1906140b0565b8015610a2e5780601f10610a0357610100808354040283529160200191610a2e565b820191906000526020600020905b815481529060010190602001808311610a1157829003601f168201915b5050505050905090565b610a40612470565b60008111610a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7a90613c7a565b60405180910390fd5b80600f8190555050565b6000610a98826124ee565b610ace576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b14826110ae565b90508073ffffffffffffffffffffffffffffffffffffffff16610b3561254d565b73ffffffffffffffffffffffffffffffffffffffff1614610b9857610b6181610b5c61254d565b611ec6565b610b97576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610c52612470565b60008111610c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8c90613bda565b60405180910390fd5b8060148190555050565b6000610ca9612555565b6001546000540303905090565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610ce78261255a565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d4e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610d5a84612628565b91509150610d708187610d6b61254d565b61264a565b610dbc57610d8586610d8061254d565b611ec6565b610dbb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610e23576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e30868686600161268e565b8015610e3b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610f0985610ee5888887612694565b7c0200000000000000000000000000000000000000000000000000000000176126bc565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610f91576000600185019050600060046000838152602001908152602001600020541415610f8f576000548114610f8e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ff986868660016126e7565b505050505050565b60105481565b60145481565b611015612470565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561105b573d6000803e3d6000fd5b50565b61107983838360405180602001604052806000815250611d2e565b505050565b6110898160016126ed565b50565b611094612470565b80600c90805190602001906110aa9291906130c3565b5050565b60006110b98261255a565b9050919050565b60135481565b6110ce612470565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61111a612470565b80601160006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561119f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6111f8612470565b6112026000612941565b565b601160009054906101000a900460ff16611253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124a90613cda565b60405180910390fd5b60008511611296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128d90613d9a565b60405180910390fd5b600d54856112a2612a07565b6112ac9190613eff565b11156112ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e490613cfa565b60405180910390fd5b60145485600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461133b9190613eff565b111561137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137390613dda565b60405180910390fd5b600a8160405161138c9190613a50565b908152602001604051809103902060009054906101000a900460ff16156113e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113df90613dba565b60405180910390fd5b8361142a8684846040518060400160405280601481526020017f6f686461745f706173735f736166655f6d696e74000000000000000000000000815250612a10565b1461146a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146190613b9a565b60405180910390fd5b6114748484612a76565b6114b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114aa90613d1a565b60405180910390fd5b60006114ca60125487612ada90919063ffffffff16565b90508034101561150f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150690613c3a565b60405180910390fd5b8034111561156a573373ffffffffffffffffffffffffffffffffffffffff166108fc823461153d9190613faf565b9081150290604051600060405180830381858888f19350505050158015611568573d6000803e3d6000fd5b505b6115743387612af0565b6001600a836040516115869190613a50565b908152602001604051809103902060006101000a81548160ff02191690831515021790555085600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115f69190613eff565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050505050565b611649612470565b6000811161168c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168390613c1a565b60405180910390fd5b600d5481611698612a07565b6116a29190613eff565b11156116e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116da90613bfa565b60405180910390fd5b6116ed8282612af0565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461172a906140b0565b80601f0160208091040260200160405190810160405280929190818152602001828054611756906140b0565b80156117a35780601f10611778576101008083540402835291602001916117a3565b820191906000526020600020905b81548152906001019060200180831161178657829003601f168201915b5050505050905090565b600c80546117ba906140b0565b80601f01602080910402602001604051908101604052809291908181526020018280546117e6906140b0565b80156118335780601f1061180857610100808354040283529160200191611833565b820191906000526020600020905b81548152906001019060200180831161181657829003601f168201915b505050505081565b611843612470565b60008111611886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187d90613cba565b60405180910390fd5b8060108190555050565b600d5481565b601160009054906101000a900460ff166118e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dc90613cda565b60405180910390fd5b60008111611928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191f90613c1a565b60405180910390fd5b600d5481611934612a07565b61193e9190613eff565b111561197f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197690613cfa565b60405180910390fd5b60145481600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119cd9190613eff565b1115611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0590613bba565b60405180910390fd5b6000611a2560135483612ada90919063ffffffff16565b905080341015611a6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6190613c3a565b60405180910390fd5b80341115611ac5573373ffffffffffffffffffffffffffffffffffffffff166108fc8234611a989190613faf565b9081150290604051600060405180830381858888f19350505050158015611ac3573d6000803e3d6000fd5b505b611acf3383612af0565b81600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b1a9190613eff565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b611b6961254d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bce576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611bdb61254d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c8861254d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ccd9190613b18565b60405180910390a35050565b611ce1612470565b60008111611d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1b90613c5a565b60405180910390fd5b80600d8190555050565b611d39848484610cdc565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611d9b57611d6484848484612b0e565b611d9a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611da9612470565b60008111611dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de390613c7a565b60405180910390fd5b8060128190555050565b600f5481565b6060611e07826124ee565b611e3d576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611e47612c6e565b9050600081511415611e685760405180602001604052806000815250611e93565b80611e7284612d00565b604051602001611e83929190613a67565b6040516020818303038152906040525b915050919050565b60125481565b611ea9612470565b80600e60006101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f62612470565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc990613c9a565b60405180910390fd5b611fdb81612941565b50565b611fe6612470565b60008111612029576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202090613c7a565b60405180910390fd5b8060138190555050565b600e60009054906101000a900460ff16612082576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207990613d5a565b60405180910390fd5b600085116120c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bc90613d9a565b60405180910390fd5b600d54856120d1612a07565b6120db9190613eff565b111561211c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211390613cfa565b60405180910390fd5b60105485600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461216a9190613eff565b11156121ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a290613dfa565b60405180910390fd5b600a816040516121bb9190613a50565b908152602001604051809103902060009054906101000a900460ff1615612217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220e90613dba565b60405180910390fd5b836122598684846040518060400160405280601a81526020017f6f686461745f706173735f77686974655f6c6973745f6d696e74000000000000815250612a10565b14612299576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229090613b9a565b60405180910390fd5b6122a38484612a76565b6122e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d990613d1a565b60405180910390fd5b60006122f9600f5487612ada90919063ffffffff16565b90508034101561233e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233590613c3a565b60405180910390fd5b80341115612399573373ffffffffffffffffffffffffffffffffffffffff166108fc823461236c9190613faf565b9081150290604051600060405180830381858888f19350505050158015612397573d6000803e3d6000fd5b505b6123a33387612af0565b6001600a836040516123b59190613a50565b908152602001604051809103902060006101000a81548160ff02191690831515021790555085600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124259190613eff565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050505050565b612478612d5a565b73ffffffffffffffffffffffffffffffffffffffff166124966116f1565b73ffffffffffffffffffffffffffffffffffffffff16146124ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e390613d3a565b60405180910390fd5b565b6000816124f9612555565b11158015612508575060005482105b8015612546575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080612569612555565b116125f1576000548110156125f05760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156125ee575b60008114156125e45760046000836001900393508381526020019081526020016000205490506125b9565b8092505050612623565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86126ab868684612d62565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60006126f88361255a565b9050600081905060008061270b86612628565b91509150841561277457612727818461272261254d565b61264a565b6127735761273c8361273761254d565b611ec6565b612772576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b61278283600088600161268e565b801561278d57600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612835836127f285600088612694565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176126bc565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851614156128bd5760006001870190506000600460008381526020019081526020016000205414156128bb5760005481146128ba578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129278360008860016126e7565b600160008154809291906001019190505550505050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905090565b6000803386868686604051602001612a2c9594939291906139f9565b60405160208183030381529060405280519060200120604051602001612a529190613a8b565b60405160208183030381529060405280519060200120905080915050949350505050565b6000612a828383612d6b565b73ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60008183612ae89190613f55565b905092915050565b612b0a828260405180602001604052806000815250612dda565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b3461254d565b8786866040518563ffffffff1660e01b8152600401612b569493929190613acc565b602060405180830381600087803b158015612b7057600080fd5b505af1925050508015612ba157506040513d601f19601f82011682018060405250810190612b9e91906134ad565b60015b612c1b573d8060008114612bd1576040519150601f19603f3d011682016040523d82523d6000602084013e612bd6565b606091505b50600081511415612c13576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600c8054612c7d906140b0565b80601f0160208091040260200160405190810160405280929190818152602001828054612ca9906140b0565b8015612cf65780601f10612ccb57610100808354040283529160200191612cf6565b820191906000526020600020905b815481529060010190602001808311612cd957829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015612d4657600183039250600a81066030018353600a81049050612d26565b508181036020830392508083525050919050565b600033905090565b60009392505050565b600080600080612d7a85612e77565b92509250925060018682858560405160008152602001604052604051612da39493929190613b33565b6020604051602081039080840390855afa158015612dc5573d6000803e3d6000fd5b50505060206040510351935050505092915050565b612de48383612edf565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612e7257600080549050600083820390505b612e246000868380600101945086612b0e565b612e5a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612e11578160005414612e6f57600080fd5b50505b505050565b60008060006041845114612ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb790613d7a565b60405180910390fd5b6020840151925060408401519150606084015160001a90509193909250565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f4c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612f87576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f94600084838561268e565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061300b83612ffc6000866000612694565b613005856130b3565b176126bc565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061302f578060008190555050506130ae60008483856126e7565b505050565b60006001821460e11b9050919050565b8280546130cf906140b0565b90600052602060002090601f0160209004810192826130f15760008555613138565b82601f1061310a57805160ff1916838001178555613138565b82800160010185558215613138579182015b8281111561313757825182559160200191906001019061311c565b5b5090506131459190613149565b5090565b5b8082111561316257600081600090555060010161314a565b5090565b600061317961317484613e5a565b613e35565b90508281526020810184848401111561319157600080fd5b61319c84828561406e565b509392505050565b60006131b76131b284613e8b565b613e35565b9050828152602081018484840111156131cf57600080fd5b6131da84828561406e565b509392505050565b6000813590506131f181614637565b92915050565b6000813590506132068161464e565b92915050565b60008135905061321b81614665565b92915050565b6000813590506132308161467c565b92915050565b6000815190506132458161467c565b92915050565b600082601f83011261325c57600080fd5b813561326c848260208601613166565b91505092915050565b600082601f83011261328657600080fd5b81356132968482602086016131a4565b91505092915050565b6000813590506132ae81614693565b92915050565b6000602082840312156132c657600080fd5b60006132d4848285016131e2565b91505092915050565b600080604083850312156132f057600080fd5b60006132fe858286016131e2565b925050602061330f858286016131e2565b9150509250929050565b60008060006060848603121561332e57600080fd5b600061333c868287016131e2565b935050602061334d868287016131e2565b925050604061335e8682870161329f565b9150509250925092565b6000806000806080858703121561337e57600080fd5b600061338c878288016131e2565b945050602061339d878288016131e2565b93505060406133ae8782880161329f565b925050606085013567ffffffffffffffff8111156133cb57600080fd5b6133d78782880161324b565b91505092959194509250565b600080604083850312156133f657600080fd5b6000613404858286016131e2565b9250506020613415858286016131f7565b9150509250929050565b6000806040838503121561343257600080fd5b6000613440858286016131e2565b92505060206134518582860161329f565b9150509250929050565b60006020828403121561346d57600080fd5b600061347b848285016131f7565b91505092915050565b60006020828403121561349657600080fd5b60006134a484828501613221565b91505092915050565b6000602082840312156134bf57600080fd5b60006134cd84828501613236565b91505092915050565b6000602082840312156134e857600080fd5b600082013567ffffffffffffffff81111561350257600080fd5b61350e84828501613275565b91505092915050565b60006020828403121561352957600080fd5b60006135378482850161329f565b91505092915050565b600080600080600060a0868803121561355857600080fd5b60006135668882890161329f565b95505060206135778882890161320c565b945050604086013567ffffffffffffffff81111561359457600080fd5b6135a08882890161324b565b93505060606135b18882890161329f565b925050608086013567ffffffffffffffff8111156135ce57600080fd5b6135da88828901613275565b9150509295509295909350565b6135f081613fe3565b82525050565b61360761360282613fe3565b614113565b82525050565b61361681613ff5565b82525050565b61362581614001565b82525050565b61363c61363782614001565b614125565b82525050565b600061364d82613ebc565b6136578185613ed2565b935061366781856020860161407d565b613670816141d8565b840191505092915050565b600061368682613ec7565b6136908185613ee3565b93506136a081856020860161407d565b6136a9816141d8565b840191505092915050565b60006136bf82613ec7565b6136c98185613ef4565b93506136d981856020860161407d565b80840191505092915050565b60006136f2600d83613ee3565b91506136fd826141f6565b602082019050919050565b6000613715602783613ee3565b91506137208261421f565b604082019050919050565b6000613738602b83613ee3565b91506137438261426e565b604082019050919050565b600061375b601f83613ee3565b9150613766826142bd565b602082019050919050565b600061377e601c83613ee3565b9150613789826142e6565b602082019050919050565b60006137a1601183613ee3565b91506137ac8261430f565b602082019050919050565b60006137c4601c83613ef4565b91506137cf82614338565b601c82019050919050565b60006137e7601c83613ee3565b91506137f282614361565b602082019050919050565b600061380a601b83613ee3565b91506138158261438a565b602082019050919050565b600061382d602683613ee3565b9150613838826143b3565b604082019050919050565b6000613850603683613ee3565b915061385b82614402565b604082019050919050565b6000613873601383613ee3565b915061387e82614451565b602082019050919050565b6000613896601183613ee3565b91506138a18261447a565b602082019050919050565b60006138b9601283613ee3565b91506138c4826144a3565b602082019050919050565b60006138dc602083613ee3565b91506138e7826144cc565b602082019050919050565b60006138ff601e83613ee3565b915061390a826144f5565b602082019050919050565b6000613922601983613ee3565b915061392d8261451e565b602082019050919050565b6000613945601e83613ee3565b915061395082614547565b602082019050919050565b6000613968601483613ee3565b915061397382614570565b602082019050919050565b600061398b602c83613ee3565b915061399682614599565b604082019050919050565b60006139ae603283613ee3565b91506139b9826145e8565b604082019050919050565b6139cd81614057565b82525050565b6139e46139df82614057565b614141565b82525050565b6139f381614061565b82525050565b6000613a0582886135f6565b601482019150613a1582876139d3565b602082019150613a2582866139d3565b602082019150613a3582856136b4565b9150613a4182846136b4565b91508190509695505050505050565b6000613a5c82846136b4565b915081905092915050565b6000613a7382856136b4565b9150613a7f82846136b4565b91508190509392505050565b6000613a96826137b7565b9150613aa2828461362b565b60208201915081905092915050565b6000602082019050613ac660008301846135e7565b92915050565b6000608082019050613ae160008301876135e7565b613aee60208301866135e7565b613afb60408301856139c4565b8181036060830152613b0d8184613642565b905095945050505050565b6000602082019050613b2d600083018461360d565b92915050565b6000608082019050613b48600083018761361c565b613b5560208301866139ea565b613b62604083018561361c565b613b6f606083018461361c565b95945050505050565b60006020820190508181036000830152613b92818461367b565b905092915050565b60006020820190508181036000830152613bb3816136e5565b9050919050565b60006020820190508181036000830152613bd381613708565b9050919050565b60006020820190508181036000830152613bf38161372b565b9050919050565b60006020820190508181036000830152613c138161374e565b9050919050565b60006020820190508181036000830152613c3381613771565b9050919050565b60006020820190508181036000830152613c5381613794565b9050919050565b60006020820190508181036000830152613c73816137da565b9050919050565b60006020820190508181036000830152613c93816137fd565b9050919050565b60006020820190508181036000830152613cb381613820565b9050919050565b60006020820190508181036000830152613cd381613843565b9050919050565b60006020820190508181036000830152613cf381613866565b9050919050565b60006020820190508181036000830152613d1381613889565b9050919050565b60006020820190508181036000830152613d33816138ac565b9050919050565b60006020820190508181036000830152613d53816138cf565b9050919050565b60006020820190508181036000830152613d73816138f2565b9050919050565b60006020820190508181036000830152613d9381613915565b9050919050565b60006020820190508181036000830152613db381613938565b9050919050565b60006020820190508181036000830152613dd38161395b565b9050919050565b60006020820190508181036000830152613df38161397e565b9050919050565b60006020820190508181036000830152613e13816139a1565b9050919050565b6000602082019050613e2f60008301846139c4565b92915050565b6000613e3f613e50565b9050613e4b82826140e2565b919050565b6000604051905090565b600067ffffffffffffffff821115613e7557613e746141a9565b5b613e7e826141d8565b9050602081019050919050565b600067ffffffffffffffff821115613ea657613ea56141a9565b5b613eaf826141d8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613f0a82614057565b9150613f1583614057565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f4a57613f4961414b565b5b828201905092915050565b6000613f6082614057565b9150613f6b83614057565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613fa457613fa361414b565b5b828202905092915050565b6000613fba82614057565b9150613fc583614057565b925082821015613fd857613fd761414b565b5b828203905092915050565b6000613fee82614037565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561409b578082015181840152602081019050614080565b838111156140aa576000848401525b50505050565b600060028204905060018216806140c857607f821691505b602082108114156140dc576140db61417a565b5b50919050565b6140eb826141d8565b810181811067ffffffffffffffff8211171561410a576141096141a9565b5b80604052505050565b600061411e8261412f565b9050919050565b6000819050919050565b600061413a826141e9565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f496e76616c696420686173682100000000000000000000000000000000000000600082015250565b7f596f752068617665207265616368656420696e646976696475616c206d696e7460008201527f206c696d69742100000000000000000000000000000000000000000000000000602082015250565b7f74686520696e646976696475616c206d696e74206c696d6974206d757374206d60008201527f6f7265207468616e203021000000000000000000000000000000000000000000602082015250565b7f546865207175616e746974792065786365656473207468652073746f636b2100600082015250565b7f546865207175616e74697479206973206c657373207468616e20302100000000600082015250565b7f4e6f7420656e6f756768206d6f6e657921000000000000000000000000000000600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f746865206d6178206964206d757374206d6f7265207468616e20302100000000600082015250565b7f746865207072696365206d757374206d6f7265207468616e2030210000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f74686520696e646976696475616c207768697465206c697374206d696e74206c60008201527f696d6974206d757374206d6f7265207468616e20302100000000000000000000602082015250565b7f4d696e74206e6f7420617661696c61626c652100000000000000000000000000600082015250565b7f4e6f7420656e6f7567682073746f636b21000000000000000000000000000000600082015250565b7f496e76616c6964207369676e6174757265210000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5768697465206c697374206d696e74206e6f7420617661696c61626c65210000600082015250565b7f496e76616c6964207369676e6174757265206c656e6774682100000000000000600082015250565b7f546865207175616e74697479206d757374206d6f7265207468616e2030210000600082015250565b7f4e6f6e636520616c726561647920657869737421000000000000000000000000600082015250565b7f596f752068617665207265616368656420696e646976696475616c207361666560008201527f206d696e74206c696d6974210000000000000000000000000000000000000000602082015250565b7f596f752068617665207265616368656420696e646976696475616c207768697460008201527f65206c697374206d696e74206c696d6974210000000000000000000000000000602082015250565b61464081613fe3565b811461464b57600080fd5b50565b61465781613ff5565b811461466257600080fd5b50565b61466e81614001565b811461467957600080fd5b50565b6146858161400b565b811461469057600080fd5b50565b61469c81614057565b81146146a757600080fd5b5056fea264697066735822122019cb56b109b265a92e55fc4251aa74827d64533ae3c71ab6f3c1e7cd85ef343064736f6c63430008040033

Deployed Bytecode

0x6080604052600436106102465760003560e01c8063715018a611610139578063a35e617f116100b6578063d41341f41161007a578063d41341f414610815578063daf4613514610840578063e985e9c514610869578063f2fde38b146108a6578063f4a0a528146108cf578063f6fd63d4146108f857610246565b8063a35e617f14610732578063b88d4fde1461075b578063b927837414610784578063bf97ef1e146107ad578063c87b56dd146107d857610246565b80639abc8320116100fd5780639abc83201461066e5780639ada158a146106995780639ef2d87a146106c2578063a0712d68146106ed578063a22cb4651461070957610246565b8063715018a6146105bc578063785be529146105d35780638ba4cc3c146105ef5780638da5cb5b1461061857806395d89b411461064357610246565b806327e467c8116101c75780636352211e1161018b5780636352211e146104c55780636817c76c146105025780636c19e7831461052d5780636f501a231461055657806370a082311461057f57610246565b806327e467c8146104155780633ccfd60b1461044057806342842e0e1461044a57806342966c681461047357806355f804b31461049c57610246565b80631614cc881161020e5780631614cc881461034257806318160ddd1461036b578063238ac9331461039657806323b872dd146103c15780632785fc90146103ea57610246565b806301ffc9a71461024b57806306fdde031461028857806307ff4390146102b3578063081812fc146102dc578063095ea7b314610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613484565b610914565b60405161027f9190613b18565b60405180910390f35b34801561029457600080fd5b5061029d6109a6565b6040516102aa9190613b78565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613517565b610a38565b005b3480156102e857600080fd5b5061030360048036038101906102fe9190613517565b610a8d565b6040516103109190613ab1565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b919061341f565b610b09565b005b34801561034e57600080fd5b5061036960048036038101906103649190613517565b610c4a565b005b34801561037757600080fd5b50610380610c9f565b60405161038d9190613e1a565b60405180910390f35b3480156103a257600080fd5b506103ab610cb6565b6040516103b89190613ab1565b60405180910390f35b3480156103cd57600080fd5b506103e860048036038101906103e39190613319565b610cdc565b005b3480156103f657600080fd5b506103ff611001565b60405161040c9190613e1a565b60405180910390f35b34801561042157600080fd5b5061042a611007565b6040516104379190613e1a565b60405180910390f35b61044861100d565b005b34801561045657600080fd5b50610471600480360381019061046c9190613319565b61105e565b005b34801561047f57600080fd5b5061049a60048036038101906104959190613517565b61107e565b005b3480156104a857600080fd5b506104c360048036038101906104be91906134d6565b61108c565b005b3480156104d157600080fd5b506104ec60048036038101906104e79190613517565b6110ae565b6040516104f99190613ab1565b60405180910390f35b34801561050e57600080fd5b506105176110c0565b6040516105249190613e1a565b60405180910390f35b34801561053957600080fd5b50610554600480360381019061054f91906132b4565b6110c6565b005b34801561056257600080fd5b5061057d6004803603810190610578919061345b565b611112565b005b34801561058b57600080fd5b506105a660048036038101906105a191906132b4565b611137565b6040516105b39190613e1a565b60405180910390f35b3480156105c857600080fd5b506105d16111f0565b005b6105ed60048036038101906105e89190613540565b611204565b005b3480156105fb57600080fd5b506106166004803603810190610611919061341f565b611641565b005b34801561062457600080fd5b5061062d6116f1565b60405161063a9190613ab1565b60405180910390f35b34801561064f57600080fd5b5061065861171b565b6040516106659190613b78565b60405180910390f35b34801561067a57600080fd5b506106836117ad565b6040516106909190613b78565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb9190613517565b61183b565b005b3480156106ce57600080fd5b506106d7611890565b6040516106e49190613e1a565b60405180910390f35b61070760048036038101906107029190613517565b611896565b005b34801561071557600080fd5b50610730600480360381019061072b91906133e3565b611b61565b005b34801561073e57600080fd5b5061075960048036038101906107549190613517565b611cd9565b005b34801561076757600080fd5b50610782600480360381019061077d9190613368565b611d2e565b005b34801561079057600080fd5b506107ab60048036038101906107a69190613517565b611da1565b005b3480156107b957600080fd5b506107c2611df6565b6040516107cf9190613e1a565b60405180910390f35b3480156107e457600080fd5b506107ff60048036038101906107fa9190613517565b611dfc565b60405161080c9190613b78565b60405180910390f35b34801561082157600080fd5b5061082a611e9b565b6040516108379190613e1a565b60405180910390f35b34801561084c57600080fd5b506108676004803603810190610862919061345b565b611ea1565b005b34801561087557600080fd5b50610890600480360381019061088b91906132dd565b611ec6565b60405161089d9190613b18565b60405180910390f35b3480156108b257600080fd5b506108cd60048036038101906108c891906132b4565b611f5a565b005b3480156108db57600080fd5b506108f660048036038101906108f19190613517565b611fde565b005b610912600480360381019061090d9190613540565b612033565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061099f5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546109b5906140b0565b80601f01602080910402602001604051908101604052809291908181526020018280546109e1906140b0565b8015610a2e5780601f10610a0357610100808354040283529160200191610a2e565b820191906000526020600020905b815481529060010190602001808311610a1157829003601f168201915b5050505050905090565b610a40612470565b60008111610a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7a90613c7a565b60405180910390fd5b80600f8190555050565b6000610a98826124ee565b610ace576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b14826110ae565b90508073ffffffffffffffffffffffffffffffffffffffff16610b3561254d565b73ffffffffffffffffffffffffffffffffffffffff1614610b9857610b6181610b5c61254d565b611ec6565b610b97576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610c52612470565b60008111610c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8c90613bda565b60405180910390fd5b8060148190555050565b6000610ca9612555565b6001546000540303905090565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610ce78261255a565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d4e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610d5a84612628565b91509150610d708187610d6b61254d565b61264a565b610dbc57610d8586610d8061254d565b611ec6565b610dbb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610e23576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e30868686600161268e565b8015610e3b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610f0985610ee5888887612694565b7c0200000000000000000000000000000000000000000000000000000000176126bc565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610f91576000600185019050600060046000838152602001908152602001600020541415610f8f576000548114610f8e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ff986868660016126e7565b505050505050565b60105481565b60145481565b611015612470565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561105b573d6000803e3d6000fd5b50565b61107983838360405180602001604052806000815250611d2e565b505050565b6110898160016126ed565b50565b611094612470565b80600c90805190602001906110aa9291906130c3565b5050565b60006110b98261255a565b9050919050565b60135481565b6110ce612470565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61111a612470565b80601160006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561119f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6111f8612470565b6112026000612941565b565b601160009054906101000a900460ff16611253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124a90613cda565b60405180910390fd5b60008511611296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128d90613d9a565b60405180910390fd5b600d54856112a2612a07565b6112ac9190613eff565b11156112ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e490613cfa565b60405180910390fd5b60145485600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461133b9190613eff565b111561137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137390613dda565b60405180910390fd5b600a8160405161138c9190613a50565b908152602001604051809103902060009054906101000a900460ff16156113e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113df90613dba565b60405180910390fd5b8361142a8684846040518060400160405280601481526020017f6f686461745f706173735f736166655f6d696e74000000000000000000000000815250612a10565b1461146a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146190613b9a565b60405180910390fd5b6114748484612a76565b6114b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114aa90613d1a565b60405180910390fd5b60006114ca60125487612ada90919063ffffffff16565b90508034101561150f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150690613c3a565b60405180910390fd5b8034111561156a573373ffffffffffffffffffffffffffffffffffffffff166108fc823461153d9190613faf565b9081150290604051600060405180830381858888f19350505050158015611568573d6000803e3d6000fd5b505b6115743387612af0565b6001600a836040516115869190613a50565b908152602001604051809103902060006101000a81548160ff02191690831515021790555085600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115f69190613eff565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050505050565b611649612470565b6000811161168c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168390613c1a565b60405180910390fd5b600d5481611698612a07565b6116a29190613eff565b11156116e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116da90613bfa565b60405180910390fd5b6116ed8282612af0565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461172a906140b0565b80601f0160208091040260200160405190810160405280929190818152602001828054611756906140b0565b80156117a35780601f10611778576101008083540402835291602001916117a3565b820191906000526020600020905b81548152906001019060200180831161178657829003601f168201915b5050505050905090565b600c80546117ba906140b0565b80601f01602080910402602001604051908101604052809291908181526020018280546117e6906140b0565b80156118335780601f1061180857610100808354040283529160200191611833565b820191906000526020600020905b81548152906001019060200180831161181657829003601f168201915b505050505081565b611843612470565b60008111611886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187d90613cba565b60405180910390fd5b8060108190555050565b600d5481565b601160009054906101000a900460ff166118e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dc90613cda565b60405180910390fd5b60008111611928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191f90613c1a565b60405180910390fd5b600d5481611934612a07565b61193e9190613eff565b111561197f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197690613cfa565b60405180910390fd5b60145481600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119cd9190613eff565b1115611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0590613bba565b60405180910390fd5b6000611a2560135483612ada90919063ffffffff16565b905080341015611a6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6190613c3a565b60405180910390fd5b80341115611ac5573373ffffffffffffffffffffffffffffffffffffffff166108fc8234611a989190613faf565b9081150290604051600060405180830381858888f19350505050158015611ac3573d6000803e3d6000fd5b505b611acf3383612af0565b81600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b1a9190613eff565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b611b6961254d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bce576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611bdb61254d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c8861254d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ccd9190613b18565b60405180910390a35050565b611ce1612470565b60008111611d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1b90613c5a565b60405180910390fd5b80600d8190555050565b611d39848484610cdc565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611d9b57611d6484848484612b0e565b611d9a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611da9612470565b60008111611dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de390613c7a565b60405180910390fd5b8060128190555050565b600f5481565b6060611e07826124ee565b611e3d576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611e47612c6e565b9050600081511415611e685760405180602001604052806000815250611e93565b80611e7284612d00565b604051602001611e83929190613a67565b6040516020818303038152906040525b915050919050565b60125481565b611ea9612470565b80600e60006101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f62612470565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc990613c9a565b60405180910390fd5b611fdb81612941565b50565b611fe6612470565b60008111612029576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202090613c7a565b60405180910390fd5b8060138190555050565b600e60009054906101000a900460ff16612082576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207990613d5a565b60405180910390fd5b600085116120c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bc90613d9a565b60405180910390fd5b600d54856120d1612a07565b6120db9190613eff565b111561211c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211390613cfa565b60405180910390fd5b60105485600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461216a9190613eff565b11156121ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a290613dfa565b60405180910390fd5b600a816040516121bb9190613a50565b908152602001604051809103902060009054906101000a900460ff1615612217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220e90613dba565b60405180910390fd5b836122598684846040518060400160405280601a81526020017f6f686461745f706173735f77686974655f6c6973745f6d696e74000000000000815250612a10565b14612299576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229090613b9a565b60405180910390fd5b6122a38484612a76565b6122e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d990613d1a565b60405180910390fd5b60006122f9600f5487612ada90919063ffffffff16565b90508034101561233e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233590613c3a565b60405180910390fd5b80341115612399573373ffffffffffffffffffffffffffffffffffffffff166108fc823461236c9190613faf565b9081150290604051600060405180830381858888f19350505050158015612397573d6000803e3d6000fd5b505b6123a33387612af0565b6001600a836040516123b59190613a50565b908152602001604051809103902060006101000a81548160ff02191690831515021790555085600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124259190613eff565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050505050565b612478612d5a565b73ffffffffffffffffffffffffffffffffffffffff166124966116f1565b73ffffffffffffffffffffffffffffffffffffffff16146124ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e390613d3a565b60405180910390fd5b565b6000816124f9612555565b11158015612508575060005482105b8015612546575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080612569612555565b116125f1576000548110156125f05760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156125ee575b60008114156125e45760046000836001900393508381526020019081526020016000205490506125b9565b8092505050612623565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86126ab868684612d62565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60006126f88361255a565b9050600081905060008061270b86612628565b91509150841561277457612727818461272261254d565b61264a565b6127735761273c8361273761254d565b611ec6565b612772576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b61278283600088600161268e565b801561278d57600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612835836127f285600088612694565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176126bc565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851614156128bd5760006001870190506000600460008381526020019081526020016000205414156128bb5760005481146128ba578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129278360008860016126e7565b600160008154809291906001019190505550505050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905090565b6000803386868686604051602001612a2c9594939291906139f9565b60405160208183030381529060405280519060200120604051602001612a529190613a8b565b60405160208183030381529060405280519060200120905080915050949350505050565b6000612a828383612d6b565b73ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60008183612ae89190613f55565b905092915050565b612b0a828260405180602001604052806000815250612dda565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b3461254d565b8786866040518563ffffffff1660e01b8152600401612b569493929190613acc565b602060405180830381600087803b158015612b7057600080fd5b505af1925050508015612ba157506040513d601f19601f82011682018060405250810190612b9e91906134ad565b60015b612c1b573d8060008114612bd1576040519150601f19603f3d011682016040523d82523d6000602084013e612bd6565b606091505b50600081511415612c13576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600c8054612c7d906140b0565b80601f0160208091040260200160405190810160405280929190818152602001828054612ca9906140b0565b8015612cf65780601f10612ccb57610100808354040283529160200191612cf6565b820191906000526020600020905b815481529060010190602001808311612cd957829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015612d4657600183039250600a81066030018353600a81049050612d26565b508181036020830392508083525050919050565b600033905090565b60009392505050565b600080600080612d7a85612e77565b92509250925060018682858560405160008152602001604052604051612da39493929190613b33565b6020604051602081039080840390855afa158015612dc5573d6000803e3d6000fd5b50505060206040510351935050505092915050565b612de48383612edf565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612e7257600080549050600083820390505b612e246000868380600101945086612b0e565b612e5a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612e11578160005414612e6f57600080fd5b50505b505050565b60008060006041845114612ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb790613d7a565b60405180910390fd5b6020840151925060408401519150606084015160001a90509193909250565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f4c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612f87576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f94600084838561268e565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061300b83612ffc6000866000612694565b613005856130b3565b176126bc565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061302f578060008190555050506130ae60008483856126e7565b505050565b60006001821460e11b9050919050565b8280546130cf906140b0565b90600052602060002090601f0160209004810192826130f15760008555613138565b82601f1061310a57805160ff1916838001178555613138565b82800160010185558215613138579182015b8281111561313757825182559160200191906001019061311c565b5b5090506131459190613149565b5090565b5b8082111561316257600081600090555060010161314a565b5090565b600061317961317484613e5a565b613e35565b90508281526020810184848401111561319157600080fd5b61319c84828561406e565b509392505050565b60006131b76131b284613e8b565b613e35565b9050828152602081018484840111156131cf57600080fd5b6131da84828561406e565b509392505050565b6000813590506131f181614637565b92915050565b6000813590506132068161464e565b92915050565b60008135905061321b81614665565b92915050565b6000813590506132308161467c565b92915050565b6000815190506132458161467c565b92915050565b600082601f83011261325c57600080fd5b813561326c848260208601613166565b91505092915050565b600082601f83011261328657600080fd5b81356132968482602086016131a4565b91505092915050565b6000813590506132ae81614693565b92915050565b6000602082840312156132c657600080fd5b60006132d4848285016131e2565b91505092915050565b600080604083850312156132f057600080fd5b60006132fe858286016131e2565b925050602061330f858286016131e2565b9150509250929050565b60008060006060848603121561332e57600080fd5b600061333c868287016131e2565b935050602061334d868287016131e2565b925050604061335e8682870161329f565b9150509250925092565b6000806000806080858703121561337e57600080fd5b600061338c878288016131e2565b945050602061339d878288016131e2565b93505060406133ae8782880161329f565b925050606085013567ffffffffffffffff8111156133cb57600080fd5b6133d78782880161324b565b91505092959194509250565b600080604083850312156133f657600080fd5b6000613404858286016131e2565b9250506020613415858286016131f7565b9150509250929050565b6000806040838503121561343257600080fd5b6000613440858286016131e2565b92505060206134518582860161329f565b9150509250929050565b60006020828403121561346d57600080fd5b600061347b848285016131f7565b91505092915050565b60006020828403121561349657600080fd5b60006134a484828501613221565b91505092915050565b6000602082840312156134bf57600080fd5b60006134cd84828501613236565b91505092915050565b6000602082840312156134e857600080fd5b600082013567ffffffffffffffff81111561350257600080fd5b61350e84828501613275565b91505092915050565b60006020828403121561352957600080fd5b60006135378482850161329f565b91505092915050565b600080600080600060a0868803121561355857600080fd5b60006135668882890161329f565b95505060206135778882890161320c565b945050604086013567ffffffffffffffff81111561359457600080fd5b6135a08882890161324b565b93505060606135b18882890161329f565b925050608086013567ffffffffffffffff8111156135ce57600080fd5b6135da88828901613275565b9150509295509295909350565b6135f081613fe3565b82525050565b61360761360282613fe3565b614113565b82525050565b61361681613ff5565b82525050565b61362581614001565b82525050565b61363c61363782614001565b614125565b82525050565b600061364d82613ebc565b6136578185613ed2565b935061366781856020860161407d565b613670816141d8565b840191505092915050565b600061368682613ec7565b6136908185613ee3565b93506136a081856020860161407d565b6136a9816141d8565b840191505092915050565b60006136bf82613ec7565b6136c98185613ef4565b93506136d981856020860161407d565b80840191505092915050565b60006136f2600d83613ee3565b91506136fd826141f6565b602082019050919050565b6000613715602783613ee3565b91506137208261421f565b604082019050919050565b6000613738602b83613ee3565b91506137438261426e565b604082019050919050565b600061375b601f83613ee3565b9150613766826142bd565b602082019050919050565b600061377e601c83613ee3565b9150613789826142e6565b602082019050919050565b60006137a1601183613ee3565b91506137ac8261430f565b602082019050919050565b60006137c4601c83613ef4565b91506137cf82614338565b601c82019050919050565b60006137e7601c83613ee3565b91506137f282614361565b602082019050919050565b600061380a601b83613ee3565b91506138158261438a565b602082019050919050565b600061382d602683613ee3565b9150613838826143b3565b604082019050919050565b6000613850603683613ee3565b915061385b82614402565b604082019050919050565b6000613873601383613ee3565b915061387e82614451565b602082019050919050565b6000613896601183613ee3565b91506138a18261447a565b602082019050919050565b60006138b9601283613ee3565b91506138c4826144a3565b602082019050919050565b60006138dc602083613ee3565b91506138e7826144cc565b602082019050919050565b60006138ff601e83613ee3565b915061390a826144f5565b602082019050919050565b6000613922601983613ee3565b915061392d8261451e565b602082019050919050565b6000613945601e83613ee3565b915061395082614547565b602082019050919050565b6000613968601483613ee3565b915061397382614570565b602082019050919050565b600061398b602c83613ee3565b915061399682614599565b604082019050919050565b60006139ae603283613ee3565b91506139b9826145e8565b604082019050919050565b6139cd81614057565b82525050565b6139e46139df82614057565b614141565b82525050565b6139f381614061565b82525050565b6000613a0582886135f6565b601482019150613a1582876139d3565b602082019150613a2582866139d3565b602082019150613a3582856136b4565b9150613a4182846136b4565b91508190509695505050505050565b6000613a5c82846136b4565b915081905092915050565b6000613a7382856136b4565b9150613a7f82846136b4565b91508190509392505050565b6000613a96826137b7565b9150613aa2828461362b565b60208201915081905092915050565b6000602082019050613ac660008301846135e7565b92915050565b6000608082019050613ae160008301876135e7565b613aee60208301866135e7565b613afb60408301856139c4565b8181036060830152613b0d8184613642565b905095945050505050565b6000602082019050613b2d600083018461360d565b92915050565b6000608082019050613b48600083018761361c565b613b5560208301866139ea565b613b62604083018561361c565b613b6f606083018461361c565b95945050505050565b60006020820190508181036000830152613b92818461367b565b905092915050565b60006020820190508181036000830152613bb3816136e5565b9050919050565b60006020820190508181036000830152613bd381613708565b9050919050565b60006020820190508181036000830152613bf38161372b565b9050919050565b60006020820190508181036000830152613c138161374e565b9050919050565b60006020820190508181036000830152613c3381613771565b9050919050565b60006020820190508181036000830152613c5381613794565b9050919050565b60006020820190508181036000830152613c73816137da565b9050919050565b60006020820190508181036000830152613c93816137fd565b9050919050565b60006020820190508181036000830152613cb381613820565b9050919050565b60006020820190508181036000830152613cd381613843565b9050919050565b60006020820190508181036000830152613cf381613866565b9050919050565b60006020820190508181036000830152613d1381613889565b9050919050565b60006020820190508181036000830152613d33816138ac565b9050919050565b60006020820190508181036000830152613d53816138cf565b9050919050565b60006020820190508181036000830152613d73816138f2565b9050919050565b60006020820190508181036000830152613d9381613915565b9050919050565b60006020820190508181036000830152613db381613938565b9050919050565b60006020820190508181036000830152613dd38161395b565b9050919050565b60006020820190508181036000830152613df38161397e565b9050919050565b60006020820190508181036000830152613e13816139a1565b9050919050565b6000602082019050613e2f60008301846139c4565b92915050565b6000613e3f613e50565b9050613e4b82826140e2565b919050565b6000604051905090565b600067ffffffffffffffff821115613e7557613e746141a9565b5b613e7e826141d8565b9050602081019050919050565b600067ffffffffffffffff821115613ea657613ea56141a9565b5b613eaf826141d8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613f0a82614057565b9150613f1583614057565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f4a57613f4961414b565b5b828201905092915050565b6000613f6082614057565b9150613f6b83614057565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613fa457613fa361414b565b5b828202905092915050565b6000613fba82614057565b9150613fc583614057565b925082821015613fd857613fd761414b565b5b828203905092915050565b6000613fee82614037565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561409b578082015181840152602081019050614080565b838111156140aa576000848401525b50505050565b600060028204905060018216806140c857607f821691505b602082108114156140dc576140db61417a565b5b50919050565b6140eb826141d8565b810181811067ffffffffffffffff8211171561410a576141096141a9565b5b80604052505050565b600061411e8261412f565b9050919050565b6000819050919050565b600061413a826141e9565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f496e76616c696420686173682100000000000000000000000000000000000000600082015250565b7f596f752068617665207265616368656420696e646976696475616c206d696e7460008201527f206c696d69742100000000000000000000000000000000000000000000000000602082015250565b7f74686520696e646976696475616c206d696e74206c696d6974206d757374206d60008201527f6f7265207468616e203021000000000000000000000000000000000000000000602082015250565b7f546865207175616e746974792065786365656473207468652073746f636b2100600082015250565b7f546865207175616e74697479206973206c657373207468616e20302100000000600082015250565b7f4e6f7420656e6f756768206d6f6e657921000000000000000000000000000000600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f746865206d6178206964206d757374206d6f7265207468616e20302100000000600082015250565b7f746865207072696365206d757374206d6f7265207468616e2030210000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f74686520696e646976696475616c207768697465206c697374206d696e74206c60008201527f696d6974206d757374206d6f7265207468616e20302100000000000000000000602082015250565b7f4d696e74206e6f7420617661696c61626c652100000000000000000000000000600082015250565b7f4e6f7420656e6f7567682073746f636b21000000000000000000000000000000600082015250565b7f496e76616c6964207369676e6174757265210000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5768697465206c697374206d696e74206e6f7420617661696c61626c65210000600082015250565b7f496e76616c6964207369676e6174757265206c656e6774682100000000000000600082015250565b7f546865207175616e74697479206d757374206d6f7265207468616e2030210000600082015250565b7f4e6f6e636520616c726561647920657869737421000000000000000000000000600082015250565b7f596f752068617665207265616368656420696e646976696475616c207361666560008201527f206d696e74206c696d6974210000000000000000000000000000000000000000602082015250565b7f596f752068617665207265616368656420696e646976696475616c207768697460008201527f65206c697374206d696e74206c696d6974210000000000000000000000000000602082015250565b61464081613fe3565b811461464b57600080fd5b50565b61465781613ff5565b811461466257600080fd5b50565b61466e81614001565b811461467957600080fd5b50565b6146858161400b565b811461469057600080fd5b50565b61469c81614057565b81146146a757600080fd5b5056fea264697066735822122019cb56b109b265a92e55fc4251aa74827d64533ae3c71ab6f3c1e7cd85ef343064736f6c63430008040033

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.