ETH Price: $3,412.83 (+2.00%)

Token

SanuQN (SQN)
 

Overview

Max Total Supply

10,000 SQN

Holders

953

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 SQN
0xaee8bc27cf274ed496799f978e0c9d420bcb0aa8
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:
SanuQNContract

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : sanuqn.sol
// SPDX-License-Identifier: MIT
// Copyright (c) 2022 Keisuke OHNO

/*

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

*/

pragma solidity >=0.7.0 <0.9.0;

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

abstract contract Minter is Ownable {
    mapping(address => bool) public minters;
    modifier onlyMinter { require(minters[msg.sender], "Not Minter!"); _; }
    function setMinter(address address_, bool bool_) external onlyOwner {
        minters[address_] = bool_;
    }
    function isMinter(address address_) internal view returns(bool) {
        return minters[address_];
    }
}

abstract contract Burner is Ownable {
    mapping(address => bool) public burners;
    modifier onlyBurner { require(burners[msg.sender], "Not Burner!"); _; }
    function setBurner(address address_, bool bool_) external onlyOwner {
        burners[address_] = bool_;
    }
    function isBurner(address address_) internal view returns(bool) {
        return burners[address_];
    }
}

//on chain metadata interface
interface iOCM {
  function tokenURI(uint256 _tokenId) external view returns (string memory);
}


contract SanuQNContract is ERC721A, Ownable, Minter, Burner {

    iOCM public OCM;
    bool public useOnChainMetadata = false;


    string baseURI;
    string public baseExtension = ".json";
    uint256 public cost = 1000000000000000;
    uint256 public maxSupply = 10000;
    uint256 public maxMintAmount = 200;
    bool public paused = true;
    bool public onlyWhitelisted = true;
    bool public preSale = true; //true = pre sale  ; false = public sale

    mapping(address => uint256) public whitelistMintedAmount;
    bytes32 public merkleRoot;
    address public constant withdrawAddress = 0x62aa1F53eB91d2Bb89aF32348f372B2c4CBD5F82;

    constructor(
    ) ERC721A("SanuQN", "SQN") {
        setBaseURI("https://data.zqn.wtf/sanuqn/metadata/");
        setMerkleRoot(0x32da4f9f9fc5fa8c8280603635253f88da8d9602fbebcb342c4e4cd815dc6902);
        _safeMint(0x3616dB871945a156Ec8Dd9Bd6b62c443E77EdD42, 200);
        _safeMint(0xdEcf4B112d4120B6998e5020a6B4819E490F7db6, 100);
        _safeMint(0x62aa1F53eB91d2Bb89aF32348f372B2c4CBD5F82, 200);
        _safeMint(0x621Ce1f1fe318aCA560aD96c083918Fbd89b7D6B, 20);
        _safeMint(0x033602CDD751F7AC33ae0e76e5ce20a144967907, 20);
        _safeMint(0x2014be1d423035142daA05Bde65268F75429Fb1a, 20);
    }

    //modifier
    modifier callerIsUser() {
        require(tx.origin == msg.sender, 'The caller is another contract.');
        _;
    }

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

    //pre sale 1 
    //onlyWhitelisted=true
    //presale=true

    //pre sale 2
    //onlyWhitelisted=true
    //presale=false

    //public sale
    //onlyWhitelisted=false
    //presale=false

    // public
    function mint(uint256 _mintAmount , uint256 _maxMintAmount , bytes32[] calldata _merkleProof) public payable callerIsUser{
        require(!paused, "the contract is paused");
        require(0 < _mintAmount, "need to mint at least 1 NFT");
        require(_mintAmount <= maxMintAmount, "max mint amount per session exceeded");
        require(totalSupply() + _mintAmount <= maxSupply, "max NFT limit exceeded");
        require(cost * _mintAmount <= msg.value, "insufficient funds");

        if(onlyWhitelisted == true) {
            bytes32 leaf = keccak256(abi.encodePacked(msg.sender, _maxMintAmount));
            require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "user is not whitelisted");
            if(preSale == true){
                require(_mintAmount <= _maxMintAmount - whitelistMintedAmount[msg.sender] , "max NFT per address exceeded");
            }
        }
        //check end

        if(onlyWhitelisted == true) {
            if(preSale == true){
                whitelistMintedAmount[msg.sender] += _mintAmount;
            }
        }
        _safeMint(msg.sender, _mintAmount);
    }

    function airdropMint(address[] calldata _airdropAddresses , uint256[] memory _UserMintAmount) public onlyOwner{
        uint256 _mintAmount = 0;
        for (uint256 i = 0; i < _UserMintAmount.length; i++) {
            _mintAmount += _UserMintAmount[i];
        }
        require(0 < _mintAmount , "need to mint at least 1 NFT");
        require(totalSupply() + _mintAmount <= maxSupply, "max NFT limit exceeded");

        for (uint256 i = 0; i < _UserMintAmount.length; i++) {
            _safeMint(_airdropAddresses[i], _UserMintAmount[i] );
        }
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        if (useOnChainMetadata) {
            return OCM.tokenURI(tokenId);
        } else {
            return string(abi.encodePacked(ERC721A.tokenURI(tokenId), baseExtension));
        }
    }

    function walletOfOwner(address _address) public view returns (uint256[] memory) {
        uint256 ownerTokenCount = balanceOf(_address);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = 1;
        uint256 ownedTokenIndex = 0;
        while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
            address currentTokenOwner = ownerOf(currentTokenId);

            if (currentTokenOwner == _address) {
                ownedTokenIds[ownedTokenIndex] = currentTokenId;
                ownedTokenIndex++;
            }
            currentTokenId++;
        }
        return ownedTokenIds;
    }

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


    //only burner or minter
    function externalMint(address _address , uint256 _amount ) external payable onlyMinter{
        require( _nextTokenId() -1 + _amount <= maxSupply , "max NFT limit exceeded");
        _safeMint( _address, _amount );
    }

    function externalBurn(address _address, uint256[] memory _burnTokenIds) external onlyBurner{
        for (uint256 i = 0; i < _burnTokenIds.length; i++) {
            uint256 tokenId = _burnTokenIds[i];
            require(_address == ownerOf(tokenId) , "Owner is different");

            _burn(tokenId);
        }        
    }



    //only owner
    function setMaxSupply(uint256 _maxSupply) public onlyOwner() {
        maxSupply = _maxSupply;
    }

    function setOCM(address _address) public onlyOwner() {
        OCM = iOCM(_address);
    }

    function setUseOnChainMetadata(bool _useOnChainMetadata) public onlyOwner() {
        useOnChainMetadata = _useOnChainMetadata;
    }

    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }

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

    function setOnlyWhitelisted(bool _state) public onlyOwner {
        onlyWhitelisted = _state;
    }

    function setMaxMintAmount(uint256 _newMaxMintAmount) public onlyOwner {
        maxMintAmount = _newMaxMintAmount;
    }
  
    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    function setBaseExtension(string memory _newBaseExtension) public onlyOwner {
        baseExtension = _newBaseExtension;
    }

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

    function setPreSale(bool _state) public onlyOwner {
        preSale = _state;
    }
 
    function withdraw() public onlyOwner {
        (bool os, ) = payable(withdrawAddress).call{value: address(this).balance}('');
        require(os);
    }


}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 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 4 of 6 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

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

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

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

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

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

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

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

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

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

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

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

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

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

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

    // The next token ID to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

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

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

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

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

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

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

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

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

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

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

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 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":"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":[],"name":"OCM","outputs":[{"internalType":"contract iOCM","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_airdropAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_UserMintAmount","type":"uint256[]"}],"name":"airdropMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"burners","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256[]","name":"_burnTokenIds","type":"uint256[]"}],"name":"externalBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"externalMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setOCM","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_useOnChainMetadata","type":"bool"}],"name":"setUseOnChainMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"useOnChainMetadata","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040526000600b60146101000a81548160ff0219169083151502179055506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600d90805190602001906200006c92919062000998565b5066038d7ea4c68000600e55612710600f5560c86010556001601160006101000a81548160ff0219169083151502179055506001601160016101000a81548160ff0219169083151502179055506001601160026101000a81548160ff021916908315150217905550348015620000e157600080fd5b506040518060400160405280600681526020017f53616e75514e00000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f53514e000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200016692919062000998565b5080600390805190602001906200017f92919062000998565b50620001906200030660201b60201c565b6000819055505050620001b8620001ac6200030f60201b60201c565b6200031760201b60201c565b620001e26040518060600160405280602581526020016200546e60259139620003dd60201b60201c565b620002167f32da4f9f9fc5fa8c8280603635253f88da8d9602fbebcb342c4e4cd815dc690260001b6200040960201b60201c565b6200023d733616db871945a156ec8dd9bd6b62c443e77edd4260c86200042360201b60201c565b6200026473decf4b112d4120b6998e5020a6b4819e490f7db660646200042360201b60201c565b6200028b7362aa1f53eb91d2bb89af32348f372b2c4cbd5f8260c86200042360201b60201c565b620002b273621ce1f1fe318aca560ad96c083918fbd89b7d6b60146200042360201b60201c565b620002d973033602cdd751f7ac33ae0e76e5ce20a14496790760146200042360201b60201c565b62000300732014be1d423035142daa05bde65268f75429fb1a60146200042360201b60201c565b62000d1c565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003ed6200044960201b60201c565b80600c90805190602001906200040592919062000998565b5050565b620004196200044960201b60201c565b8060138190555050565b62000445828260405180602001604052806000815250620004da60201b60201c565b5050565b620004596200030f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200047f6200058b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004d8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004cf9062000b6f565b60405180910390fd5b565b620004ec8383620005b560201b60201c565b60008373ffffffffffffffffffffffffffffffffffffffff163b146200058657600080549050600083820390505b6200053560008683806001019450866200079e60201b60201c565b6200056c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106200051a5781600054146200058357600080fd5b50505b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000805490506000821415620005f7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200060c60008483856200091060201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506200069b836200067d60008660006200091660201b60201c565b6200068e856200094660201b60201c565b176200095660201b60201c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146200073e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905062000701565b5060008214156200077b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506200079960008483856200098160201b60201c565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620007cc6200098760201b60201c565b8786866040518563ffffffff1660e01b8152600401620007f0949392919062000b1b565b602060405180830381600087803b1580156200080b57600080fd5b505af19250505080156200083f57506040513d601f19601f820116820180604052508101906200083c919062000a5f565b60015b620008bd573d806000811462000872576040519150601f19603f3d011682016040523d82523d6000602084013e62000877565b606091505b50600081511415620008b5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b60008060e883901c905060e8620009358686846200098f60201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b60009392505050565b828054620009a69062000c5e565b90600052602060002090601f016020900481019282620009ca576000855562000a16565b82601f10620009e557805160ff191683800117855562000a16565b8280016001018555821562000a16579182015b8281111562000a15578251825591602001919060010190620009f8565b5b50905062000a25919062000a29565b5090565b5b8082111562000a4457600081600090555060010162000a2a565b5090565b60008151905062000a598162000d02565b92915050565b60006020828403121562000a785762000a7762000cc3565b5b600062000a888482850162000a48565b91505092915050565b62000a9c8162000bbe565b82525050565b600062000aaf8262000b91565b62000abb818562000b9c565b935062000acd81856020860162000c28565b62000ad88162000cc8565b840191505092915050565b600062000af260208362000bad565b915062000aff8262000cd9565b602082019050919050565b62000b158162000c1e565b82525050565b600060808201905062000b32600083018762000a91565b62000b41602083018662000a91565b62000b50604083018562000b0a565b818103606083015262000b64818462000aa2565b905095945050505050565b6000602082019050818103600083015262000b8a8162000ae3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600062000bcb8262000bfe565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000c4857808201518184015260208101905062000c2b565b8381111562000c58576000848401525b50505050565b6000600282049050600182168062000c7757607f821691505b6020821081141562000c8e5762000c8d62000c94565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b62000d0d8162000bd2565b811462000d1957600080fd5b50565b6147428062000d2c6000396000f3fe6080604052600436106102c95760003560e01c80635c975abb11610175578063af60698b116100dc578063da3ef23f11610095578063e985e9c51161006f578063e985e9c514610a78578063ea23dc5114610ab5578063f2fde38b14610ade578063f46eccc414610b07576102c9565b8063da3ef23f14610a0a578063e420fb9d14610a33578063e6d37b8814610a5c576102c9565b8063af60698b14610909578063b88d4fde14610932578063c66828621461094e578063c87b56dd14610979578063cf456ae7146109b6578063d5abeb01146109df576102c9565b80638da5cb5b1161012e5780638da5cb5b1461081857806395d89b411461084357806398f687031461086e57806399f98898146108995780639c70b512146108b5578063a22cb465146108e0576102c9565b80635c975abb1461070a5780636352211e146107355780636f8b44b01461077257806370a082311461079b578063715018a6146107d85780637cb64759146107ef576102c9565b806318160ddd116102345780633c952764116101ed578063438b6300116101c7578063438b63001461065057806344a0d68a1461068d57806355f804b3146106b65780635a7adf7f146106df576102c9565b80633c952764146105f45780633ccfd60b1461061d57806342842e0e14610634576102c9565b806318160ddd146104f15780631fac2a351461051c578063239c70ae1461055957806323b872dd14610584578063279a669e146105a05780632eb4a7ab146105c9576102c9565b8063095ea7b311610286578063095ea7b3146104025780630d895ee11461041e5780630d95ccc914610447578063125eb42c1461047057806313faede61461049b5780631581b600146104c6576102c9565b806301ffc9a7146102ce57806302329a291461030b57806303d41e0e1461033457806306fdde0314610371578063081812fc1461039c578063088a4ed0146103d9575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f09190613663565b610b44565b6040516103029190613d0c565b60405180910390f35b34801561031757600080fd5b50610332600480360381019061032d9190613609565b610bd6565b005b34801561034057600080fd5b5061035b6004803603810190610356919061336e565b610bfb565b6040516103689190613d0c565b60405180910390f35b34801561037d57600080fd5b50610386610c1b565b6040516103939190613d5d565b60405180910390f35b3480156103a857600080fd5b506103c360048036038101906103be919061374f565b610cad565b6040516103d09190613c83565b60405180910390f35b3480156103e557600080fd5b5061040060048036038101906103fb919061374f565b610d2c565b005b61041c6004803603810190610417919061354d565b610d3e565b005b34801561042a57600080fd5b506104456004803603810190610440919061350d565b610e82565b005b34801561045357600080fd5b5061046e60048036038101906104699190613609565b610ee5565b005b34801561047c57600080fd5b50610485610f0a565b6040516104929190613d42565b60405180910390f35b3480156104a757600080fd5b506104b0610f30565b6040516104bd9190613f1f565b60405180910390f35b3480156104d257600080fd5b506104db610f36565b6040516104e89190613c83565b60405180910390f35b3480156104fd57600080fd5b50610506610f4e565b6040516105139190613f1f565b60405180910390f35b34801561052857600080fd5b50610543600480360381019061053e919061336e565b610f65565b6040516105509190613f1f565b60405180910390f35b34801561056557600080fd5b5061056e610f7d565b60405161057b9190613f1f565b60405180910390f35b61059e600480360381019061059991906133db565b610f83565b005b3480156105ac57600080fd5b506105c760048036038101906105c2919061358d565b6112a8565b005b3480156105d557600080fd5b506105de611404565b6040516105eb9190613d27565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613609565b61140a565b005b34801561062957600080fd5b5061063261142f565b005b61064e600480360381019061064991906133db565b6114c4565b005b34801561065c57600080fd5b506106776004803603810190610672919061336e565b6114e4565b6040516106849190613cea565b60405180910390f35b34801561069957600080fd5b506106b460048036038101906106af919061374f565b6115ef565b005b3480156106c257600080fd5b506106dd60048036038101906106d891906136bd565b611601565b005b3480156106eb57600080fd5b506106f4611623565b6040516107019190613d0c565b60405180910390f35b34801561071657600080fd5b5061071f611636565b60405161072c9190613d0c565b60405180910390f35b34801561074157600080fd5b5061075c6004803603810190610757919061374f565b611649565b6040516107699190613c83565b60405180910390f35b34801561077e57600080fd5b506107996004803603810190610794919061374f565b61165b565b005b3480156107a757600080fd5b506107c260048036038101906107bd919061336e565b61166d565b6040516107cf9190613f1f565b60405180910390f35b3480156107e457600080fd5b506107ed611726565b005b3480156107fb57600080fd5b5061081660048036038101906108119190613636565b61173a565b005b34801561082457600080fd5b5061082d61174c565b60405161083a9190613c83565b60405180910390f35b34801561084f57600080fd5b50610858611776565b6040516108659190613d5d565b60405180910390f35b34801561087a57600080fd5b50610883611808565b6040516108909190613d0c565b60405180910390f35b6108b360048036038101906108ae919061354d565b61181b565b005b3480156108c157600080fd5b506108ca611918565b6040516108d79190613d0c565b60405180910390f35b3480156108ec57600080fd5b506109076004803603810190610902919061350d565b61192b565b005b34801561091557600080fd5b50610930600480360381019061092b91906134b1565b611a36565b005b61094c6004803603810190610947919061342e565b611b85565b005b34801561095a57600080fd5b50610963611bf8565b6040516109709190613d5d565b60405180910390f35b34801561098557600080fd5b506109a0600480360381019061099b919061374f565b611c86565b6040516109ad9190613d5d565b60405180910390f35b3480156109c257600080fd5b506109dd60048036038101906109d8919061350d565b611d87565b005b3480156109eb57600080fd5b506109f4611dea565b604051610a019190613f1f565b60405180910390f35b348015610a1657600080fd5b50610a316004803603810190610a2c91906136bd565b611df0565b005b348015610a3f57600080fd5b50610a5a6004803603810190610a559190613609565b611e12565b005b610a766004803603810190610a71919061377c565b611e37565b005b348015610a8457600080fd5b50610a9f6004803603810190610a9a919061339b565b612246565b604051610aac9190613d0c565b60405180910390f35b348015610ac157600080fd5b50610adc6004803603810190610ad7919061336e565b6122da565b005b348015610aea57600080fd5b50610b056004803603810190610b00919061336e565b612326565b005b348015610b1357600080fd5b50610b2e6004803603810190610b29919061336e565b6123aa565b604051610b3b9190613d0c565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b9f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bcf5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610bde6123ca565b80601160006101000a81548160ff02191690831515021790555050565b600a6020528060005260406000206000915054906101000a900460ff1681565b606060028054610c2a90614263565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5690614263565b8015610ca35780601f10610c7857610100808354040283529160200191610ca3565b820191906000526020600020905b815481529060010190602001808311610c8657829003601f168201915b5050505050905090565b6000610cb882612448565b610cee576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610d346123ca565b8060108190555050565b6000610d4982611649565b90508073ffffffffffffffffffffffffffffffffffffffff16610d6a6124a7565b73ffffffffffffffffffffffffffffffffffffffff1614610dcd57610d9681610d916124a7565b612246565b610dcc576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610e8a6123ca565b80600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610eed6123ca565b80601160026101000a81548160ff02191690831515021790555050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b7362aa1f53eb91d2bb89af32348f372b2c4cbd5f8281565b6000610f586124af565b6001546000540303905090565b60126020528060005260406000206000915090505481565b60105481565b6000610f8e826124b8565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ff5576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061100184612586565b9150915061101781876110126124a7565b6125ad565b6110635761102c866110276124a7565b612246565b611062576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156110ca576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110d786868660016125f1565b80156110e257600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506111b08561118c8888876125f7565b7c02000000000000000000000000000000000000000000000000000000001761261f565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611238576000600185019050600060046000838152602001908152602001600020541415611236576000548114611235578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112a0868686600161264a565b505050505050565b6112b06123ca565b6000805b82518110156112f8578281815181106112d0576112cf61439b565b5b6020026020010151826112e39190614089565b915080806112f0906142c6565b9150506112b4565b508060001061133c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133390613eff565b60405180910390fd5b600f5481611348610f4e565b6113529190614089565b1115611393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138a90613e3f565b60405180910390fd5b60005b82518110156113fd576113ea8585838181106113b5576113b461439b565b5b90506020020160208101906113ca919061336e565b8483815181106113dd576113dc61439b565b5b6020026020010151612650565b80806113f5906142c6565b915050611396565b5050505050565b60135481565b6114126123ca565b80601160016101000a81548160ff02191690831515021790555050565b6114376123ca565b60007362aa1f53eb91d2bb89af32348f372b2c4cbd5f8273ffffffffffffffffffffffffffffffffffffffff164760405161147190613c6e565b60006040518083038185875af1925050503d80600081146114ae576040519150601f19603f3d011682016040523d82523d6000602084013e6114b3565b606091505b50509050806114c157600080fd5b50565b6114df83838360405180602001604052806000815250611b85565b505050565b606060006114f18361166d565b905060008167ffffffffffffffff81111561150f5761150e6143ca565b5b60405190808252806020026020018201604052801561153d5781602001602082028036833780820191505090505b50905060006001905060005b838110801561155a5750600f548211155b156115e357600061156a83611649565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115cf57828483815181106115b4576115b361439b565b5b60200260200101818152505081806115cb906142c6565b9250505b82806115da906142c6565b93505050611549565b82945050505050919050565b6115f76123ca565b80600e8190555050565b6116096123ca565b80600c908051906020019061161f929190612fb3565b5050565b601160029054906101000a900460ff1681565b601160009054906101000a900460ff1681565b6000611654826124b8565b9050919050565b6116636123ca565b80600f8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116d5576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61172e6123ca565b611738600061266e565b565b6117426123ca565b8060138190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461178590614263565b80601f01602080910402602001604051908101604052809291908181526020018280546117b190614263565b80156117fe5780601f106117d3576101008083540402835291602001916117fe565b820191906000526020600020905b8154815290600101906020018083116117e157829003601f168201915b5050505050905090565b600b60149054906101000a900460ff1681565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166118a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189e90613d9f565b60405180910390fd5b600f548160016118b5612734565b6118bf9190614139565b6118c99190614089565b111561190a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190190613e3f565b60405180910390fd5b6119148282612650565b5050565b601160019054906101000a900460ff1681565b80600760006119386124a7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119e56124a7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a2a9190613d0c565b60405180910390a35050565b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab990613dff565b60405180910390fd5b60005b8151811015611b80576000828281518110611ae357611ae261439b565b5b60200260200101519050611af681611649565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614611b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5a90613d7f565b60405180910390fd5b611b6c8161273d565b508080611b78906142c6565b915050611ac5565b505050565b611b90848484610f83565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611bf257611bbb8484848461274b565b611bf1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600d8054611c0590614263565b80601f0160208091040260200160405190810160405280929190818152602001828054611c3190614263565b8015611c7e5780601f10611c5357610100808354040283529160200191611c7e565b820191906000526020600020905b815481529060010190602001808311611c6157829003601f168201915b505050505081565b6060600b60149054906101000a900460ff1615611d5457600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b8152600401611cf89190613f1f565b60006040518083038186803b158015611d1057600080fd5b505afa158015611d24573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611d4d9190613706565b9050611d82565b611d5d826128ab565b600d604051602001611d70929190613c4a565b60405160208183030381529060405290505b919050565b611d8f6123ca565b80600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600f5481565b611df86123ca565b80600d9080519060200190611e0e929190612fb3565b5050565b611e1a6123ca565b80600b60146101000a81548160ff02191690831515021790555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9c90613dbf565b60405180910390fd5b601160009054906101000a900460ff1615611ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eec90613e9f565b60405180910390fd5b83600010611f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2f90613eff565b60405180910390fd5b601054841115611f7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7490613e5f565b60405180910390fd5b600f5484611f89610f4e565b611f939190614089565b1115611fd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcb90613e3f565b60405180910390fd5b3484600e54611fe391906140df565b1115612024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201b90613ebf565b60405180910390fd5b60011515601160019054906101000a900460ff16151514156121a65760003384604051602001612055929190613bfa565b6040516020818303038152906040528051906020012090506120bb838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506013548361294a565b6120fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f190613edf565b60405180910390fd5b60011515601160029054906101000a900460ff16151514156121a457601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054846121619190614139565b8511156121a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219a90613e1f565b60405180910390fd5b5b505b60011515601160019054906101000a900460ff16151514156122365760011515601160029054906101000a900460ff16151514156122355783601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461222d9190614089565b925050819055505b5b6122403385612650565b50505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122e26123ca565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61232e6123ca565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561239e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239590613ddf565b60405180910390fd5b6123a78161266e565b50565b60096020528060005260406000206000915054906101000a900460ff1681565b6123d2612961565b73ffffffffffffffffffffffffffffffffffffffff166123f061174c565b73ffffffffffffffffffffffffffffffffffffffff1614612446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243d90613e7f565b60405180910390fd5b565b6000816124536124af565b11158015612462575060005482105b80156124a0575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600080829050806124c76124af565b1161254f5760005481101561254e5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561254c575b6000811415612542576004600083600190039350838152602001908152602001600020549050612517565b8092505050612581565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861260e868684612969565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61266a828260405180602001604052806000815250612972565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905090565b612748816000612a0f565b50565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127716124a7565b8786866040518563ffffffff1660e01b81526004016127939493929190613c9e565b602060405180830381600087803b1580156127ad57600080fd5b505af19250505080156127de57506040513d601f19601f820116820180604052508101906127db9190613690565b60015b612858573d806000811461280e576040519150601f19603f3d011682016040523d82523d6000602084013e612813565b606091505b50600081511415612850576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606128b682612448565b6128ec576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006128f6612c63565b90506000815114156129175760405180602001604052806000815250612942565b8061292184612cf5565b604051602001612932929190613c26565b6040516020818303038152906040525b915050919050565b6000826129578584612d4e565b1490509392505050565b600033905090565b60009392505050565b61297c8383612da4565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612a0a57600080549050600083820390505b6129bc600086838060010194508661274b565b6129f2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106129a9578160005414612a0757600080fd5b50505b505050565b6000612a1a836124b8565b90506000819050600080612a2d86612586565b915091508415612a9657612a498184612a446124a7565b6125ad565b612a9557612a5e83612a596124a7565b612246565b612a94576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612aa48360008860016125f1565b8015612aaf57600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612b5783612b14856000886125f7565b7c02000000000000000000000000000000000000000000000000000000007c0100000000000000000000000000000000000000000000000000000000171761261f565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085161415612bdf576000600187019050600060046000838152602001908152602001600020541415612bdd576000548114612bdc578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c4983600088600161264a565b600160008154809291906001019190505550505050505050565b6060600c8054612c7290614263565b80601f0160208091040260200160405190810160405280929190818152602001828054612c9e90614263565b8015612ceb5780601f10612cc057610100808354040283529160200191612ceb565b820191906000526020600020905b815481529060010190602001808311612cce57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115612d3957600184039350600a81066030018453600a8104905080612d3457612d39565b612d0e565b50828103602084039350808452505050919050565b60008082905060005b8451811015612d9957612d8482868381518110612d7757612d7661439b565b5b6020026020010151612f61565b91508080612d91906142c6565b915050612d57565b508091505092915050565b6000805490506000821415612de5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612df260008483856125f1565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612e6983612e5a60008660006125f7565b612e6385612f8c565b1761261f565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612f0a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612ecf565b506000821415612f46576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612f5c600084838561264a565b505050565b6000818310612f7957612f748284612f9c565b612f84565b612f838383612f9c565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b828054612fbf90614263565b90600052602060002090601f016020900481019282612fe15760008555613028565b82601f10612ffa57805160ff1916838001178555613028565b82800160010185558215613028579182015b8281111561302757825182559160200191906001019061300c565b5b5090506130359190613039565b5090565b5b8082111561305257600081600090555060010161303a565b5090565b600061306961306484613f5f565b613f3a565b9050808382526020820190508285602086028201111561308c5761308b614403565b5b60005b858110156130bc57816130a28882613359565b84526020840193506020830192505060018101905061308f565b5050509392505050565b60006130d96130d484613f8b565b613f3a565b9050828152602081018484840111156130f5576130f4614408565b5b613100848285614221565b509392505050565b600061311b61311684613fbc565b613f3a565b90508281526020810184848401111561313757613136614408565b5b613142848285614221565b509392505050565b600061315d61315884613fbc565b613f3a565b90508281526020810184848401111561317957613178614408565b5b613184848285614230565b509392505050565b60008135905061319b81614699565b92915050565b60008083601f8401126131b7576131b66143fe565b5b8235905067ffffffffffffffff8111156131d4576131d36143f9565b5b6020830191508360208202830111156131f0576131ef614403565b5b9250929050565b60008083601f84011261320d5761320c6143fe565b5b8235905067ffffffffffffffff81111561322a576132296143f9565b5b60208301915083602082028301111561324657613245614403565b5b9250929050565b600082601f830112613262576132616143fe565b5b8135613272848260208601613056565b91505092915050565b60008135905061328a816146b0565b92915050565b60008135905061329f816146c7565b92915050565b6000813590506132b4816146de565b92915050565b6000815190506132c9816146de565b92915050565b600082601f8301126132e4576132e36143fe565b5b81356132f48482602086016130c6565b91505092915050565b600082601f830112613312576133116143fe565b5b8135613322848260208601613108565b91505092915050565b600082601f8301126133405761333f6143fe565b5b815161335084826020860161314a565b91505092915050565b600081359050613368816146f5565b92915050565b60006020828403121561338457613383614412565b5b60006133928482850161318c565b91505092915050565b600080604083850312156133b2576133b1614412565b5b60006133c08582860161318c565b92505060206133d18582860161318c565b9150509250929050565b6000806000606084860312156133f4576133f3614412565b5b60006134028682870161318c565b93505060206134138682870161318c565b925050604061342486828701613359565b9150509250925092565b6000806000806080858703121561344857613447614412565b5b60006134568782880161318c565b94505060206134678782880161318c565b935050604061347887828801613359565b925050606085013567ffffffffffffffff8111156134995761349861440d565b5b6134a5878288016132cf565b91505092959194509250565b600080604083850312156134c8576134c7614412565b5b60006134d68582860161318c565b925050602083013567ffffffffffffffff8111156134f7576134f661440d565b5b6135038582860161324d565b9150509250929050565b6000806040838503121561352457613523614412565b5b60006135328582860161318c565b92505060206135438582860161327b565b9150509250929050565b6000806040838503121561356457613563614412565b5b60006135728582860161318c565b925050602061358385828601613359565b9150509250929050565b6000806000604084860312156135a6576135a5614412565b5b600084013567ffffffffffffffff8111156135c4576135c361440d565b5b6135d0868287016131a1565b9350935050602084013567ffffffffffffffff8111156135f3576135f261440d565b5b6135ff8682870161324d565b9150509250925092565b60006020828403121561361f5761361e614412565b5b600061362d8482850161327b565b91505092915050565b60006020828403121561364c5761364b614412565b5b600061365a84828501613290565b91505092915050565b60006020828403121561367957613678614412565b5b6000613687848285016132a5565b91505092915050565b6000602082840312156136a6576136a5614412565b5b60006136b4848285016132ba565b91505092915050565b6000602082840312156136d3576136d2614412565b5b600082013567ffffffffffffffff8111156136f1576136f061440d565b5b6136fd848285016132fd565b91505092915050565b60006020828403121561371c5761371b614412565b5b600082015167ffffffffffffffff81111561373a5761373961440d565b5b6137468482850161332b565b91505092915050565b60006020828403121561376557613764614412565b5b600061377384828501613359565b91505092915050565b6000806000806060858703121561379657613795614412565b5b60006137a487828801613359565b94505060206137b587828801613359565b935050604085013567ffffffffffffffff8111156137d6576137d561440d565b5b6137e2878288016131f7565b925092505092959194509250565b60006137fc8383613bc5565b60208301905092915050565b6138118161416d565b82525050565b6138286138238261416d565b61430f565b82525050565b600061383982614012565b6138438185614040565b935061384e83613fed565b8060005b8381101561387f57815161386688826137f0565b975061387183614033565b925050600181019050613852565b5085935050505092915050565b6138958161417f565b82525050565b6138a48161418b565b82525050565b60006138b58261401d565b6138bf8185614051565b93506138cf818560208601614230565b6138d881614417565b840191505092915050565b6138ec816141eb565b82525050565b60006138fd82614028565b613907818561406d565b9350613917818560208601614230565b61392081614417565b840191505092915050565b600061393682614028565b613940818561407e565b9350613950818560208601614230565b80840191505092915050565b6000815461396981614263565b613973818661407e565b9450600182166000811461398e576001811461399f576139d2565b60ff198316865281860193506139d2565b6139a885613ffd565b60005b838110156139ca578154818901526001820191506020810190506139ab565b838801955050505b50505092915050565b60006139e860128361406d565b91506139f382614435565b602082019050919050565b6000613a0b600b8361406d565b9150613a168261445e565b602082019050919050565b6000613a2e601f8361406d565b9150613a3982614487565b602082019050919050565b6000613a5160268361406d565b9150613a5c826144b0565b604082019050919050565b6000613a74600b8361406d565b9150613a7f826144ff565b602082019050919050565b6000613a97601c8361406d565b9150613aa282614528565b602082019050919050565b6000613aba60168361406d565b9150613ac582614551565b602082019050919050565b6000613add60248361406d565b9150613ae88261457a565b604082019050919050565b6000613b0060208361406d565b9150613b0b826145c9565b602082019050919050565b6000613b2360168361406d565b9150613b2e826145f2565b602082019050919050565b6000613b46600083614062565b9150613b518261461b565b600082019050919050565b6000613b6960128361406d565b9150613b748261461e565b602082019050919050565b6000613b8c60178361406d565b9150613b9782614647565b602082019050919050565b6000613baf601b8361406d565b9150613bba82614670565b602082019050919050565b613bce816141e1565b82525050565b613bdd816141e1565b82525050565b613bf4613bef826141e1565b614333565b82525050565b6000613c068285613817565b601482019150613c168284613be3565b6020820191508190509392505050565b6000613c32828561392b565b9150613c3e828461392b565b91508190509392505050565b6000613c56828561392b565b9150613c62828461395c565b91508190509392505050565b6000613c7982613b39565b9150819050919050565b6000602082019050613c986000830184613808565b92915050565b6000608082019050613cb36000830187613808565b613cc06020830186613808565b613ccd6040830185613bd4565b8181036060830152613cdf81846138aa565b905095945050505050565b60006020820190508181036000830152613d04818461382e565b905092915050565b6000602082019050613d21600083018461388c565b92915050565b6000602082019050613d3c600083018461389b565b92915050565b6000602082019050613d5760008301846138e3565b92915050565b60006020820190508181036000830152613d7781846138f2565b905092915050565b60006020820190508181036000830152613d98816139db565b9050919050565b60006020820190508181036000830152613db8816139fe565b9050919050565b60006020820190508181036000830152613dd881613a21565b9050919050565b60006020820190508181036000830152613df881613a44565b9050919050565b60006020820190508181036000830152613e1881613a67565b9050919050565b60006020820190508181036000830152613e3881613a8a565b9050919050565b60006020820190508181036000830152613e5881613aad565b9050919050565b60006020820190508181036000830152613e7881613ad0565b9050919050565b60006020820190508181036000830152613e9881613af3565b9050919050565b60006020820190508181036000830152613eb881613b16565b9050919050565b60006020820190508181036000830152613ed881613b5c565b9050919050565b60006020820190508181036000830152613ef881613b7f565b9050919050565b60006020820190508181036000830152613f1881613ba2565b9050919050565b6000602082019050613f346000830184613bd4565b92915050565b6000613f44613f55565b9050613f508282614295565b919050565b6000604051905090565b600067ffffffffffffffff821115613f7a57613f796143ca565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613fa657613fa56143ca565b5b613faf82614417565b9050602081019050919050565b600067ffffffffffffffff821115613fd757613fd66143ca565b5b613fe082614417565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614094826141e1565b915061409f836141e1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140d4576140d361433d565b5b828201905092915050565b60006140ea826141e1565b91506140f5836141e1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561412e5761412d61433d565b5b828202905092915050565b6000614144826141e1565b915061414f836141e1565b9250828210156141625761416161433d565b5b828203905092915050565b6000614178826141c1565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006141f6826141fd565b9050919050565b60006142088261420f565b9050919050565b600061421a826141c1565b9050919050565b82818337600083830152505050565b60005b8381101561424e578082015181840152602081019050614233565b8381111561425d576000848401525b50505050565b6000600282049050600182168061427b57607f821691505b6020821081141561428f5761428e61436c565b5b50919050565b61429e82614417565b810181811067ffffffffffffffff821117156142bd576142bc6143ca565b5b80604052505050565b60006142d1826141e1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156143045761430361433d565b5b600182019050919050565b600061431a82614321565b9050919050565b600061432c82614428565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e657220697320646966666572656e740000000000000000000000000000600082015250565b7f4e6f74204d696e74657221000000000000000000000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f74204275726e657221000000000000000000000000000000000000000000600082015250565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f75736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b6146a28161416d565b81146146ad57600080fd5b50565b6146b98161417f565b81146146c457600080fd5b50565b6146d08161418b565b81146146db57600080fd5b50565b6146e781614195565b81146146f257600080fd5b50565b6146fe816141e1565b811461470957600080fd5b5056fea2646970667358221220e9dcd038c7605c83765ccc51538aa65f006b41bf45c16b54b372d570e4abf3b064736f6c6343000807003368747470733a2f2f646174612e7a716e2e7774662f73616e75716e2f6d657461646174612f

Deployed Bytecode

0x6080604052600436106102c95760003560e01c80635c975abb11610175578063af60698b116100dc578063da3ef23f11610095578063e985e9c51161006f578063e985e9c514610a78578063ea23dc5114610ab5578063f2fde38b14610ade578063f46eccc414610b07576102c9565b8063da3ef23f14610a0a578063e420fb9d14610a33578063e6d37b8814610a5c576102c9565b8063af60698b14610909578063b88d4fde14610932578063c66828621461094e578063c87b56dd14610979578063cf456ae7146109b6578063d5abeb01146109df576102c9565b80638da5cb5b1161012e5780638da5cb5b1461081857806395d89b411461084357806398f687031461086e57806399f98898146108995780639c70b512146108b5578063a22cb465146108e0576102c9565b80635c975abb1461070a5780636352211e146107355780636f8b44b01461077257806370a082311461079b578063715018a6146107d85780637cb64759146107ef576102c9565b806318160ddd116102345780633c952764116101ed578063438b6300116101c7578063438b63001461065057806344a0d68a1461068d57806355f804b3146106b65780635a7adf7f146106df576102c9565b80633c952764146105f45780633ccfd60b1461061d57806342842e0e14610634576102c9565b806318160ddd146104f15780631fac2a351461051c578063239c70ae1461055957806323b872dd14610584578063279a669e146105a05780632eb4a7ab146105c9576102c9565b8063095ea7b311610286578063095ea7b3146104025780630d895ee11461041e5780630d95ccc914610447578063125eb42c1461047057806313faede61461049b5780631581b600146104c6576102c9565b806301ffc9a7146102ce57806302329a291461030b57806303d41e0e1461033457806306fdde0314610371578063081812fc1461039c578063088a4ed0146103d9575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f09190613663565b610b44565b6040516103029190613d0c565b60405180910390f35b34801561031757600080fd5b50610332600480360381019061032d9190613609565b610bd6565b005b34801561034057600080fd5b5061035b6004803603810190610356919061336e565b610bfb565b6040516103689190613d0c565b60405180910390f35b34801561037d57600080fd5b50610386610c1b565b6040516103939190613d5d565b60405180910390f35b3480156103a857600080fd5b506103c360048036038101906103be919061374f565b610cad565b6040516103d09190613c83565b60405180910390f35b3480156103e557600080fd5b5061040060048036038101906103fb919061374f565b610d2c565b005b61041c6004803603810190610417919061354d565b610d3e565b005b34801561042a57600080fd5b506104456004803603810190610440919061350d565b610e82565b005b34801561045357600080fd5b5061046e60048036038101906104699190613609565b610ee5565b005b34801561047c57600080fd5b50610485610f0a565b6040516104929190613d42565b60405180910390f35b3480156104a757600080fd5b506104b0610f30565b6040516104bd9190613f1f565b60405180910390f35b3480156104d257600080fd5b506104db610f36565b6040516104e89190613c83565b60405180910390f35b3480156104fd57600080fd5b50610506610f4e565b6040516105139190613f1f565b60405180910390f35b34801561052857600080fd5b50610543600480360381019061053e919061336e565b610f65565b6040516105509190613f1f565b60405180910390f35b34801561056557600080fd5b5061056e610f7d565b60405161057b9190613f1f565b60405180910390f35b61059e600480360381019061059991906133db565b610f83565b005b3480156105ac57600080fd5b506105c760048036038101906105c2919061358d565b6112a8565b005b3480156105d557600080fd5b506105de611404565b6040516105eb9190613d27565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613609565b61140a565b005b34801561062957600080fd5b5061063261142f565b005b61064e600480360381019061064991906133db565b6114c4565b005b34801561065c57600080fd5b506106776004803603810190610672919061336e565b6114e4565b6040516106849190613cea565b60405180910390f35b34801561069957600080fd5b506106b460048036038101906106af919061374f565b6115ef565b005b3480156106c257600080fd5b506106dd60048036038101906106d891906136bd565b611601565b005b3480156106eb57600080fd5b506106f4611623565b6040516107019190613d0c565b60405180910390f35b34801561071657600080fd5b5061071f611636565b60405161072c9190613d0c565b60405180910390f35b34801561074157600080fd5b5061075c6004803603810190610757919061374f565b611649565b6040516107699190613c83565b60405180910390f35b34801561077e57600080fd5b506107996004803603810190610794919061374f565b61165b565b005b3480156107a757600080fd5b506107c260048036038101906107bd919061336e565b61166d565b6040516107cf9190613f1f565b60405180910390f35b3480156107e457600080fd5b506107ed611726565b005b3480156107fb57600080fd5b5061081660048036038101906108119190613636565b61173a565b005b34801561082457600080fd5b5061082d61174c565b60405161083a9190613c83565b60405180910390f35b34801561084f57600080fd5b50610858611776565b6040516108659190613d5d565b60405180910390f35b34801561087a57600080fd5b50610883611808565b6040516108909190613d0c565b60405180910390f35b6108b360048036038101906108ae919061354d565b61181b565b005b3480156108c157600080fd5b506108ca611918565b6040516108d79190613d0c565b60405180910390f35b3480156108ec57600080fd5b506109076004803603810190610902919061350d565b61192b565b005b34801561091557600080fd5b50610930600480360381019061092b91906134b1565b611a36565b005b61094c6004803603810190610947919061342e565b611b85565b005b34801561095a57600080fd5b50610963611bf8565b6040516109709190613d5d565b60405180910390f35b34801561098557600080fd5b506109a0600480360381019061099b919061374f565b611c86565b6040516109ad9190613d5d565b60405180910390f35b3480156109c257600080fd5b506109dd60048036038101906109d8919061350d565b611d87565b005b3480156109eb57600080fd5b506109f4611dea565b604051610a019190613f1f565b60405180910390f35b348015610a1657600080fd5b50610a316004803603810190610a2c91906136bd565b611df0565b005b348015610a3f57600080fd5b50610a5a6004803603810190610a559190613609565b611e12565b005b610a766004803603810190610a71919061377c565b611e37565b005b348015610a8457600080fd5b50610a9f6004803603810190610a9a919061339b565b612246565b604051610aac9190613d0c565b60405180910390f35b348015610ac157600080fd5b50610adc6004803603810190610ad7919061336e565b6122da565b005b348015610aea57600080fd5b50610b056004803603810190610b00919061336e565b612326565b005b348015610b1357600080fd5b50610b2e6004803603810190610b29919061336e565b6123aa565b604051610b3b9190613d0c565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b9f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bcf5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610bde6123ca565b80601160006101000a81548160ff02191690831515021790555050565b600a6020528060005260406000206000915054906101000a900460ff1681565b606060028054610c2a90614263565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5690614263565b8015610ca35780601f10610c7857610100808354040283529160200191610ca3565b820191906000526020600020905b815481529060010190602001808311610c8657829003601f168201915b5050505050905090565b6000610cb882612448565b610cee576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610d346123ca565b8060108190555050565b6000610d4982611649565b90508073ffffffffffffffffffffffffffffffffffffffff16610d6a6124a7565b73ffffffffffffffffffffffffffffffffffffffff1614610dcd57610d9681610d916124a7565b612246565b610dcc576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610e8a6123ca565b80600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610eed6123ca565b80601160026101000a81548160ff02191690831515021790555050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b7362aa1f53eb91d2bb89af32348f372b2c4cbd5f8281565b6000610f586124af565b6001546000540303905090565b60126020528060005260406000206000915090505481565b60105481565b6000610f8e826124b8565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ff5576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061100184612586565b9150915061101781876110126124a7565b6125ad565b6110635761102c866110276124a7565b612246565b611062576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156110ca576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110d786868660016125f1565b80156110e257600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506111b08561118c8888876125f7565b7c02000000000000000000000000000000000000000000000000000000001761261f565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611238576000600185019050600060046000838152602001908152602001600020541415611236576000548114611235578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112a0868686600161264a565b505050505050565b6112b06123ca565b6000805b82518110156112f8578281815181106112d0576112cf61439b565b5b6020026020010151826112e39190614089565b915080806112f0906142c6565b9150506112b4565b508060001061133c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133390613eff565b60405180910390fd5b600f5481611348610f4e565b6113529190614089565b1115611393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138a90613e3f565b60405180910390fd5b60005b82518110156113fd576113ea8585838181106113b5576113b461439b565b5b90506020020160208101906113ca919061336e565b8483815181106113dd576113dc61439b565b5b6020026020010151612650565b80806113f5906142c6565b915050611396565b5050505050565b60135481565b6114126123ca565b80601160016101000a81548160ff02191690831515021790555050565b6114376123ca565b60007362aa1f53eb91d2bb89af32348f372b2c4cbd5f8273ffffffffffffffffffffffffffffffffffffffff164760405161147190613c6e565b60006040518083038185875af1925050503d80600081146114ae576040519150601f19603f3d011682016040523d82523d6000602084013e6114b3565b606091505b50509050806114c157600080fd5b50565b6114df83838360405180602001604052806000815250611b85565b505050565b606060006114f18361166d565b905060008167ffffffffffffffff81111561150f5761150e6143ca565b5b60405190808252806020026020018201604052801561153d5781602001602082028036833780820191505090505b50905060006001905060005b838110801561155a5750600f548211155b156115e357600061156a83611649565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115cf57828483815181106115b4576115b361439b565b5b60200260200101818152505081806115cb906142c6565b9250505b82806115da906142c6565b93505050611549565b82945050505050919050565b6115f76123ca565b80600e8190555050565b6116096123ca565b80600c908051906020019061161f929190612fb3565b5050565b601160029054906101000a900460ff1681565b601160009054906101000a900460ff1681565b6000611654826124b8565b9050919050565b6116636123ca565b80600f8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116d5576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61172e6123ca565b611738600061266e565b565b6117426123ca565b8060138190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461178590614263565b80601f01602080910402602001604051908101604052809291908181526020018280546117b190614263565b80156117fe5780601f106117d3576101008083540402835291602001916117fe565b820191906000526020600020905b8154815290600101906020018083116117e157829003601f168201915b5050505050905090565b600b60149054906101000a900460ff1681565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166118a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189e90613d9f565b60405180910390fd5b600f548160016118b5612734565b6118bf9190614139565b6118c99190614089565b111561190a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190190613e3f565b60405180910390fd5b6119148282612650565b5050565b601160019054906101000a900460ff1681565b80600760006119386124a7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119e56124a7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a2a9190613d0c565b60405180910390a35050565b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab990613dff565b60405180910390fd5b60005b8151811015611b80576000828281518110611ae357611ae261439b565b5b60200260200101519050611af681611649565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614611b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5a90613d7f565b60405180910390fd5b611b6c8161273d565b508080611b78906142c6565b915050611ac5565b505050565b611b90848484610f83565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611bf257611bbb8484848461274b565b611bf1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600d8054611c0590614263565b80601f0160208091040260200160405190810160405280929190818152602001828054611c3190614263565b8015611c7e5780601f10611c5357610100808354040283529160200191611c7e565b820191906000526020600020905b815481529060010190602001808311611c6157829003601f168201915b505050505081565b6060600b60149054906101000a900460ff1615611d5457600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b8152600401611cf89190613f1f565b60006040518083038186803b158015611d1057600080fd5b505afa158015611d24573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611d4d9190613706565b9050611d82565b611d5d826128ab565b600d604051602001611d70929190613c4a565b60405160208183030381529060405290505b919050565b611d8f6123ca565b80600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600f5481565b611df86123ca565b80600d9080519060200190611e0e929190612fb3565b5050565b611e1a6123ca565b80600b60146101000a81548160ff02191690831515021790555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9c90613dbf565b60405180910390fd5b601160009054906101000a900460ff1615611ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eec90613e9f565b60405180910390fd5b83600010611f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2f90613eff565b60405180910390fd5b601054841115611f7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7490613e5f565b60405180910390fd5b600f5484611f89610f4e565b611f939190614089565b1115611fd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcb90613e3f565b60405180910390fd5b3484600e54611fe391906140df565b1115612024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201b90613ebf565b60405180910390fd5b60011515601160019054906101000a900460ff16151514156121a65760003384604051602001612055929190613bfa565b6040516020818303038152906040528051906020012090506120bb838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506013548361294a565b6120fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f190613edf565b60405180910390fd5b60011515601160029054906101000a900460ff16151514156121a457601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054846121619190614139565b8511156121a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219a90613e1f565b60405180910390fd5b5b505b60011515601160019054906101000a900460ff16151514156122365760011515601160029054906101000a900460ff16151514156122355783601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461222d9190614089565b925050819055505b5b6122403385612650565b50505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122e26123ca565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61232e6123ca565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561239e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239590613ddf565b60405180910390fd5b6123a78161266e565b50565b60096020528060005260406000206000915054906101000a900460ff1681565b6123d2612961565b73ffffffffffffffffffffffffffffffffffffffff166123f061174c565b73ffffffffffffffffffffffffffffffffffffffff1614612446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243d90613e7f565b60405180910390fd5b565b6000816124536124af565b11158015612462575060005482105b80156124a0575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600080829050806124c76124af565b1161254f5760005481101561254e5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561254c575b6000811415612542576004600083600190039350838152602001908152602001600020549050612517565b8092505050612581565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861260e868684612969565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61266a828260405180602001604052806000815250612972565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905090565b612748816000612a0f565b50565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127716124a7565b8786866040518563ffffffff1660e01b81526004016127939493929190613c9e565b602060405180830381600087803b1580156127ad57600080fd5b505af19250505080156127de57506040513d601f19601f820116820180604052508101906127db9190613690565b60015b612858573d806000811461280e576040519150601f19603f3d011682016040523d82523d6000602084013e612813565b606091505b50600081511415612850576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606128b682612448565b6128ec576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006128f6612c63565b90506000815114156129175760405180602001604052806000815250612942565b8061292184612cf5565b604051602001612932929190613c26565b6040516020818303038152906040525b915050919050565b6000826129578584612d4e565b1490509392505050565b600033905090565b60009392505050565b61297c8383612da4565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612a0a57600080549050600083820390505b6129bc600086838060010194508661274b565b6129f2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106129a9578160005414612a0757600080fd5b50505b505050565b6000612a1a836124b8565b90506000819050600080612a2d86612586565b915091508415612a9657612a498184612a446124a7565b6125ad565b612a9557612a5e83612a596124a7565b612246565b612a94576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612aa48360008860016125f1565b8015612aaf57600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612b5783612b14856000886125f7565b7c02000000000000000000000000000000000000000000000000000000007c0100000000000000000000000000000000000000000000000000000000171761261f565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085161415612bdf576000600187019050600060046000838152602001908152602001600020541415612bdd576000548114612bdc578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c4983600088600161264a565b600160008154809291906001019190505550505050505050565b6060600c8054612c7290614263565b80601f0160208091040260200160405190810160405280929190818152602001828054612c9e90614263565b8015612ceb5780601f10612cc057610100808354040283529160200191612ceb565b820191906000526020600020905b815481529060010190602001808311612cce57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115612d3957600184039350600a81066030018453600a8104905080612d3457612d39565b612d0e565b50828103602084039350808452505050919050565b60008082905060005b8451811015612d9957612d8482868381518110612d7757612d7661439b565b5b6020026020010151612f61565b91508080612d91906142c6565b915050612d57565b508091505092915050565b6000805490506000821415612de5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612df260008483856125f1565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612e6983612e5a60008660006125f7565b612e6385612f8c565b1761261f565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612f0a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612ecf565b506000821415612f46576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612f5c600084838561264a565b505050565b6000818310612f7957612f748284612f9c565b612f84565b612f838383612f9c565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b828054612fbf90614263565b90600052602060002090601f016020900481019282612fe15760008555613028565b82601f10612ffa57805160ff1916838001178555613028565b82800160010185558215613028579182015b8281111561302757825182559160200191906001019061300c565b5b5090506130359190613039565b5090565b5b8082111561305257600081600090555060010161303a565b5090565b600061306961306484613f5f565b613f3a565b9050808382526020820190508285602086028201111561308c5761308b614403565b5b60005b858110156130bc57816130a28882613359565b84526020840193506020830192505060018101905061308f565b5050509392505050565b60006130d96130d484613f8b565b613f3a565b9050828152602081018484840111156130f5576130f4614408565b5b613100848285614221565b509392505050565b600061311b61311684613fbc565b613f3a565b90508281526020810184848401111561313757613136614408565b5b613142848285614221565b509392505050565b600061315d61315884613fbc565b613f3a565b90508281526020810184848401111561317957613178614408565b5b613184848285614230565b509392505050565b60008135905061319b81614699565b92915050565b60008083601f8401126131b7576131b66143fe565b5b8235905067ffffffffffffffff8111156131d4576131d36143f9565b5b6020830191508360208202830111156131f0576131ef614403565b5b9250929050565b60008083601f84011261320d5761320c6143fe565b5b8235905067ffffffffffffffff81111561322a576132296143f9565b5b60208301915083602082028301111561324657613245614403565b5b9250929050565b600082601f830112613262576132616143fe565b5b8135613272848260208601613056565b91505092915050565b60008135905061328a816146b0565b92915050565b60008135905061329f816146c7565b92915050565b6000813590506132b4816146de565b92915050565b6000815190506132c9816146de565b92915050565b600082601f8301126132e4576132e36143fe565b5b81356132f48482602086016130c6565b91505092915050565b600082601f830112613312576133116143fe565b5b8135613322848260208601613108565b91505092915050565b600082601f8301126133405761333f6143fe565b5b815161335084826020860161314a565b91505092915050565b600081359050613368816146f5565b92915050565b60006020828403121561338457613383614412565b5b60006133928482850161318c565b91505092915050565b600080604083850312156133b2576133b1614412565b5b60006133c08582860161318c565b92505060206133d18582860161318c565b9150509250929050565b6000806000606084860312156133f4576133f3614412565b5b60006134028682870161318c565b93505060206134138682870161318c565b925050604061342486828701613359565b9150509250925092565b6000806000806080858703121561344857613447614412565b5b60006134568782880161318c565b94505060206134678782880161318c565b935050604061347887828801613359565b925050606085013567ffffffffffffffff8111156134995761349861440d565b5b6134a5878288016132cf565b91505092959194509250565b600080604083850312156134c8576134c7614412565b5b60006134d68582860161318c565b925050602083013567ffffffffffffffff8111156134f7576134f661440d565b5b6135038582860161324d565b9150509250929050565b6000806040838503121561352457613523614412565b5b60006135328582860161318c565b92505060206135438582860161327b565b9150509250929050565b6000806040838503121561356457613563614412565b5b60006135728582860161318c565b925050602061358385828601613359565b9150509250929050565b6000806000604084860312156135a6576135a5614412565b5b600084013567ffffffffffffffff8111156135c4576135c361440d565b5b6135d0868287016131a1565b9350935050602084013567ffffffffffffffff8111156135f3576135f261440d565b5b6135ff8682870161324d565b9150509250925092565b60006020828403121561361f5761361e614412565b5b600061362d8482850161327b565b91505092915050565b60006020828403121561364c5761364b614412565b5b600061365a84828501613290565b91505092915050565b60006020828403121561367957613678614412565b5b6000613687848285016132a5565b91505092915050565b6000602082840312156136a6576136a5614412565b5b60006136b4848285016132ba565b91505092915050565b6000602082840312156136d3576136d2614412565b5b600082013567ffffffffffffffff8111156136f1576136f061440d565b5b6136fd848285016132fd565b91505092915050565b60006020828403121561371c5761371b614412565b5b600082015167ffffffffffffffff81111561373a5761373961440d565b5b6137468482850161332b565b91505092915050565b60006020828403121561376557613764614412565b5b600061377384828501613359565b91505092915050565b6000806000806060858703121561379657613795614412565b5b60006137a487828801613359565b94505060206137b587828801613359565b935050604085013567ffffffffffffffff8111156137d6576137d561440d565b5b6137e2878288016131f7565b925092505092959194509250565b60006137fc8383613bc5565b60208301905092915050565b6138118161416d565b82525050565b6138286138238261416d565b61430f565b82525050565b600061383982614012565b6138438185614040565b935061384e83613fed565b8060005b8381101561387f57815161386688826137f0565b975061387183614033565b925050600181019050613852565b5085935050505092915050565b6138958161417f565b82525050565b6138a48161418b565b82525050565b60006138b58261401d565b6138bf8185614051565b93506138cf818560208601614230565b6138d881614417565b840191505092915050565b6138ec816141eb565b82525050565b60006138fd82614028565b613907818561406d565b9350613917818560208601614230565b61392081614417565b840191505092915050565b600061393682614028565b613940818561407e565b9350613950818560208601614230565b80840191505092915050565b6000815461396981614263565b613973818661407e565b9450600182166000811461398e576001811461399f576139d2565b60ff198316865281860193506139d2565b6139a885613ffd565b60005b838110156139ca578154818901526001820191506020810190506139ab565b838801955050505b50505092915050565b60006139e860128361406d565b91506139f382614435565b602082019050919050565b6000613a0b600b8361406d565b9150613a168261445e565b602082019050919050565b6000613a2e601f8361406d565b9150613a3982614487565b602082019050919050565b6000613a5160268361406d565b9150613a5c826144b0565b604082019050919050565b6000613a74600b8361406d565b9150613a7f826144ff565b602082019050919050565b6000613a97601c8361406d565b9150613aa282614528565b602082019050919050565b6000613aba60168361406d565b9150613ac582614551565b602082019050919050565b6000613add60248361406d565b9150613ae88261457a565b604082019050919050565b6000613b0060208361406d565b9150613b0b826145c9565b602082019050919050565b6000613b2360168361406d565b9150613b2e826145f2565b602082019050919050565b6000613b46600083614062565b9150613b518261461b565b600082019050919050565b6000613b6960128361406d565b9150613b748261461e565b602082019050919050565b6000613b8c60178361406d565b9150613b9782614647565b602082019050919050565b6000613baf601b8361406d565b9150613bba82614670565b602082019050919050565b613bce816141e1565b82525050565b613bdd816141e1565b82525050565b613bf4613bef826141e1565b614333565b82525050565b6000613c068285613817565b601482019150613c168284613be3565b6020820191508190509392505050565b6000613c32828561392b565b9150613c3e828461392b565b91508190509392505050565b6000613c56828561392b565b9150613c62828461395c565b91508190509392505050565b6000613c7982613b39565b9150819050919050565b6000602082019050613c986000830184613808565b92915050565b6000608082019050613cb36000830187613808565b613cc06020830186613808565b613ccd6040830185613bd4565b8181036060830152613cdf81846138aa565b905095945050505050565b60006020820190508181036000830152613d04818461382e565b905092915050565b6000602082019050613d21600083018461388c565b92915050565b6000602082019050613d3c600083018461389b565b92915050565b6000602082019050613d5760008301846138e3565b92915050565b60006020820190508181036000830152613d7781846138f2565b905092915050565b60006020820190508181036000830152613d98816139db565b9050919050565b60006020820190508181036000830152613db8816139fe565b9050919050565b60006020820190508181036000830152613dd881613a21565b9050919050565b60006020820190508181036000830152613df881613a44565b9050919050565b60006020820190508181036000830152613e1881613a67565b9050919050565b60006020820190508181036000830152613e3881613a8a565b9050919050565b60006020820190508181036000830152613e5881613aad565b9050919050565b60006020820190508181036000830152613e7881613ad0565b9050919050565b60006020820190508181036000830152613e9881613af3565b9050919050565b60006020820190508181036000830152613eb881613b16565b9050919050565b60006020820190508181036000830152613ed881613b5c565b9050919050565b60006020820190508181036000830152613ef881613b7f565b9050919050565b60006020820190508181036000830152613f1881613ba2565b9050919050565b6000602082019050613f346000830184613bd4565b92915050565b6000613f44613f55565b9050613f508282614295565b919050565b6000604051905090565b600067ffffffffffffffff821115613f7a57613f796143ca565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613fa657613fa56143ca565b5b613faf82614417565b9050602081019050919050565b600067ffffffffffffffff821115613fd757613fd66143ca565b5b613fe082614417565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614094826141e1565b915061409f836141e1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140d4576140d361433d565b5b828201905092915050565b60006140ea826141e1565b91506140f5836141e1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561412e5761412d61433d565b5b828202905092915050565b6000614144826141e1565b915061414f836141e1565b9250828210156141625761416161433d565b5b828203905092915050565b6000614178826141c1565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006141f6826141fd565b9050919050565b60006142088261420f565b9050919050565b600061421a826141c1565b9050919050565b82818337600083830152505050565b60005b8381101561424e578082015181840152602081019050614233565b8381111561425d576000848401525b50505050565b6000600282049050600182168061427b57607f821691505b6020821081141561428f5761428e61436c565b5b50919050565b61429e82614417565b810181811067ffffffffffffffff821117156142bd576142bc6143ca565b5b80604052505050565b60006142d1826141e1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156143045761430361433d565b5b600182019050919050565b600061431a82614321565b9050919050565b600061432c82614428565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e657220697320646966666572656e740000000000000000000000000000600082015250565b7f4e6f74204d696e74657221000000000000000000000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f74204275726e657221000000000000000000000000000000000000000000600082015250565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f75736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b6146a28161416d565b81146146ad57600080fd5b50565b6146b98161417f565b81146146c457600080fd5b50565b6146d08161418b565b81146146db57600080fd5b50565b6146e781614195565b81146146f257600080fd5b50565b6146fe816141e1565b811461470957600080fd5b5056fea2646970667358221220e9dcd038c7605c83765ccc51538aa65f006b41bf45c16b54b372d570e4abf3b064736f6c63430008070033

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.