ETH Price: $2,503.22 (-0.41%)

Token

TheFdaCharactersCollection (TheFdaCharactersCollection)
 

Overview

Max Total Supply

5,200 TheFdaCharactersCollection

Holders

4,211

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 TheFdaCharactersCollection
0x13e5c2f49616a21f761b0dd9dfd9d89a302085e9
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:
TheFdaCharactersCollection

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
No with 200 runs

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

pragma solidity >=0.8.9 <0.9.0;

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

contract TheFdaCharactersCollection is ERC721A, Ownable, ReentrancyGuard {

    uint public immutable maxSupply = 6000;
    uint public immutable reserveForBurn = 800;
    IERC721A public immutable fdaFoodCollection;
    address public immutable deadAddr = 0x000000000000000000000000000000000000dEaD;

    string public baseURI = 'https://arweave.net/7eM10uiSluNS-apjwEjyK-ls7MfIqn4RuCLh-et5XlA/';
    bytes32 public merkleRoot;

    uint public whiteListSaleFreeMintCount = 1;
    uint public whiteListSaleMintCost = 0.005 ether;
    uint public whiteListSaleMintLimit = 3;
    uint public whiteListSaleOpenTimestamp = 1665320400;

    uint public publicSaleFreeMintCount = 1;
    uint public publicSaleMintCost = 0.008 ether;
    uint public publicSaleMintLimit = 3;
    uint public publicSaleOpenTimestamp = 1665322200;
    uint public publicSaleCloseTimestamp = 1665329400;

    uint public burnFactor = 10;

    mapping(address => uint) public whiteListSaleMintCountMap;
    mapping(address => uint) public publicSaleMintCountMap;

    constructor() ERC721A('TheFdaCharactersCollection', 'TheFdaCharactersCollection') {
        fdaFoodCollection = IERC721A(0xd82c9290A240eB90d26bc7facb5518cfCdAacb6b);
    }

    function updateBaseURI(string memory baseURI_) public onlyOwner {
        baseURI = baseURI_;
    }

    function updateMerkleRoot(bytes32 merkleRoot_) public onlyOwner {
        merkleRoot = merkleRoot_;
    }

    function configPublicSale(uint publicSaleFreeMintCount_, uint publicSaleMintCost_, uint publicSaleMintLimit_, uint publicSaleOpenTimestamp_, uint publicSaleCloseTimestamp_) public onlyOwner {
        require(publicSaleOpenTimestamp_ >= whiteListSaleOpenTimestamp, 'Invalid publicSaleOpenTimestamp_ input');
        publicSaleFreeMintCount = publicSaleFreeMintCount_;
        publicSaleMintCost = publicSaleMintCost_;
        publicSaleMintLimit = publicSaleMintLimit_;
        publicSaleOpenTimestamp = publicSaleOpenTimestamp_;
        publicSaleCloseTimestamp = publicSaleCloseTimestamp_;
    }

    function configWhiteListSale(uint whiteListSaleFreeMintCount_, uint whiteListSaleMintCost_, uint whiteListSaleMintLimit_, uint whiteListSaleOpenTimestamp_) public onlyOwner {
        require(publicSaleOpenTimestamp >= whiteListSaleOpenTimestamp_, 'Invalid whiteListSaleOpenTimestamp_ input');
        whiteListSaleFreeMintCount = whiteListSaleFreeMintCount_;
        whiteListSaleMintCost = whiteListSaleMintCost_;
        whiteListSaleMintLimit = whiteListSaleMintLimit_;
        whiteListSaleOpenTimestamp = whiteListSaleOpenTimestamp_;
    }

    function configBurnFactor(uint burnFactor_) public onlyOwner {
        burnFactor = burnFactor_;
    }

    function currentMintLimit() public view returns (uint) {
        uint blockTimestamp = block.timestamp;
        if (blockTimestamp >= publicSaleOpenTimestamp) {
            return publicSaleMintLimit;
        } else {
            return whiteListSaleMintLimit;
        }
    }

    function calculateRemainMintLimit(address addr, bytes32[] calldata merkleProof) public view returns (uint) {
        uint blockTimestamp = block.timestamp;
        if (blockTimestamp >= publicSaleOpenTimestamp) {
            return publicSaleMintLimit - publicSaleMintCountMap[addr];
        } else {
            return whiteListSaleMintLimit - whiteListSaleMintCountMap[addr];
        }
    }

    function isInWhiteList(address addr, bytes32[] calldata merkleProof) public view returns (bool) {
        bytes32 leaf = keccak256(abi.encodePacked(addr));
        return MerkleProof.verify(merkleProof, merkleRoot, leaf);
    }

    function calculateCost(address addr, uint mintCount) public view returns (uint) {
        uint blockTimestamp = block.timestamp;
        if (blockTimestamp >= publicSaleOpenTimestamp) {
            if (publicSaleFreeMintCount > publicSaleMintCountMap[addr]) {
                uint remainFreeMintCount = publicSaleFreeMintCount - publicSaleMintCountMap[addr];
                if (remainFreeMintCount >= mintCount) {
                    return 0;
                } else {
                    return (mintCount - remainFreeMintCount) * publicSaleMintCost;
                }
            } else {
                return mintCount * publicSaleMintCost;
            }
        } else {
            if (whiteListSaleFreeMintCount > whiteListSaleMintCountMap[addr]) {
                uint remainFreeMintCount = whiteListSaleFreeMintCount - whiteListSaleMintCountMap[addr];
                if (remainFreeMintCount >= mintCount) {
                    return 0;
                } else {
                    return (mintCount - remainFreeMintCount) * whiteListSaleMintCost;
                }
            } else {
                return mintCount * whiteListSaleMintCost;
            }
        }
    }

    function checkCanMint(address addr, bytes32[] calldata merkleProof, uint mintCount) public view {
        uint blockTimestamp = block.timestamp;
        require(blockTimestamp >= whiteListSaleOpenTimestamp, 'Public-Sale/WhiteList-Sale is not open yet');
        require(publicSaleCloseTimestamp >= blockTimestamp, 'All-Sale is closed now');
        require((maxSupply - reserveForBurn) >= totalSupply() + mintCount, 'Max supply for mint met');

        if (blockTimestamp >= publicSaleOpenTimestamp) {
            require(publicSaleMintLimit > publicSaleMintCountMap[addr] + mintCount, 'Max mints per wallet met');
        } else {
            require(isInWhiteList(addr, merkleProof), 'Address is not in white list');
            require(whiteListSaleMintLimit > whiteListSaleMintCountMap[addr] + mintCount, 'Max mints per wallet met');
        }
        require(address(addr).balance > calculateCost(addr, mintCount), 'Address balance not enough');
    }

    function mint(bytes32[] calldata merkleProof, uint mintCount) external payable {
        address msgSender = _msgSender();
        uint expectedCost = calculateCost(msgSender, mintCount);

        checkCanMint(msgSender, merkleProof, mintCount);
        require(tx.origin == msgSender, 'Only EOA');
        require(msg.value >= expectedCost, 'Insufficient funds');

        bool isPublicSale = block.timestamp >= publicSaleOpenTimestamp;
        _doMint(msgSender, mintCount);

        if (isPublicSale) {
            publicSaleMintCountMap[msgSender] += mintCount;
        } else {
            whiteListSaleMintCountMap[msgSender] += mintCount;
        }
    }

    function checkCanBurn(address addr) public view {
        require(burnFactor > 0, 'Action-Burn is closed now');
        require(block.timestamp >= publicSaleCloseTimestamp, 'Action-Burn is not open yet');
        require(maxSupply >= totalSupply() + 1, 'Max supply for burn met');

        uint foodCollectionBalance = fdaFoodCollection.balanceOf(addr);
        require(foodCollectionBalance >= burnFactor, 'FdaFoodCollection balance not enough');
    }

    function burnFdaFoodCollections() external {
        address msgSender = _msgSender();
        checkCanBurn(msgSender);

        uint j = 0;
        uint[] memory tokenIds = new uint[](burnFactor);
        for (uint i = 0; i < fdaFoodCollection.totalSupply(); i++) {
            if (fdaFoodCollection.ownerOf(i) == msgSender) {
                tokenIds[j++] = i;
            }
        }

        for (uint i = 0; i < tokenIds.length;) {
            fdaFoodCollection.transferFrom(msgSender, deadAddr, tokenIds[i]);
            unchecked {
                i++;
            }
        }
        _doMint(msgSender, 1);
    }

    function airdrop(address[] memory toAddresses, uint[] memory mintCounts) public onlyOwner {
        for (uint i = 0; i < toAddresses.length; i++) {
            _doMint(toAddresses[i], mintCounts[i]);
        }
    }

    function _doMint(address to, uint mintCount) private {
        require(maxSupply > totalSupply() + mintCount, 'Max supply exceeded');
        require(to != address(0), 'Cannot have a non-address as reserve');
        _safeMint(to, mintCount);
    }

    function withdraw() public onlyOwner nonReentrant {
        (bool os,) = payable(owner()).call{value : address(this).balance}('');
        require(os);
    }

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 4 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 5 of 7 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"toAddresses","type":"address[]"},{"internalType":"uint256[]","name":"mintCounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnFdaFoodCollections","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"mintCount","type":"uint256"}],"name":"calculateCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"calculateRemainMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"checkCanBurn","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"mintCount","type":"uint256"}],"name":"checkCanMint","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"burnFactor_","type":"uint256"}],"name":"configBurnFactor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicSaleFreeMintCount_","type":"uint256"},{"internalType":"uint256","name":"publicSaleMintCost_","type":"uint256"},{"internalType":"uint256","name":"publicSaleMintLimit_","type":"uint256"},{"internalType":"uint256","name":"publicSaleOpenTimestamp_","type":"uint256"},{"internalType":"uint256","name":"publicSaleCloseTimestamp_","type":"uint256"}],"name":"configPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whiteListSaleFreeMintCount_","type":"uint256"},{"internalType":"uint256","name":"whiteListSaleMintCost_","type":"uint256"},{"internalType":"uint256","name":"whiteListSaleMintLimit_","type":"uint256"},{"internalType":"uint256","name":"whiteListSaleOpenTimestamp_","type":"uint256"}],"name":"configWhiteListSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fdaFoodCollection","outputs":[{"internalType":"contract IERC721A","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"isInWhiteList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"mintCount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleCloseTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleFreeMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicSaleMintCountMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleOpenTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveForBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"updateMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whiteListSaleFreeMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whiteListSaleMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whiteListSaleMintCountMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whiteListSaleMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whiteListSaleOpenTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

61010060405261177060809081525061032060a09081525061dead73ffffffffffffffffffffffffffffffffffffffff1660e09073ffffffffffffffffffffffffffffffffffffffff168152506040518060600160405280604081526020016200581e60409139600a908162000076919062000537565b506001600c556611c37937e08000600d556003600e55636342c5d0600f556001601055661c6bf5263400006011556003601255636342ccd8601355636342e8f8601455600a601555348015620000cb57600080fd5b506040518060400160405280601a81526020017f54686546646143686172616374657273436f6c6c656374696f6e0000000000008152506040518060400160405280601a81526020017f54686546646143686172616374657273436f6c6c656374696f6e000000000000815250816002908162000149919062000537565b5080600390816200015b919062000537565b506200016c620001ea60201b60201c565b60008190555050506200019462000188620001ef60201b60201c565b620001f760201b60201c565b600160098190555073d82c9290a240eb90d26bc7facb5518cfcdaacb6b73ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250506200061e565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200033f57607f821691505b602082108103620003555762000354620002f7565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003bf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000380565b620003cb868362000380565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000418620004126200040c84620003e3565b620003ed565b620003e3565b9050919050565b6000819050919050565b6200043483620003f7565b6200044c62000443826200041f565b8484546200038d565b825550505050565b600090565b6200046362000454565b6200047081848462000429565b505050565b5b8181101562000498576200048c60008262000459565b60018101905062000476565b5050565b601f821115620004e757620004b1816200035b565b620004bc8462000370565b81016020851015620004cc578190505b620004e4620004db8562000370565b83018262000475565b50505b505050565b600082821c905092915050565b60006200050c60001984600802620004ec565b1980831691505092915050565b6000620005278383620004f9565b9150826002028217905092915050565b6200054282620002bd565b67ffffffffffffffff8111156200055e576200055d620002c8565b5b6200056a825462000326565b620005778282856200049c565b600060209050601f831160018114620005af57600084156200059a578287015190505b620005a6858262000519565b86555062000616565b601f198416620005bf866200035b565b60005b82811015620005e957848901518255600182019150602085019450602081019050620005c2565b8683101562000609578489015162000605601f891682620004f9565b8355505b6001600288020188555050505b505050505050565b60805160a05160c05160e0516151876200069760003960008181610de8015261235d015260008181610bfc01528181610ca901528181610dab01528181611f9a015261248901526000818161268901526129b6015260008181612425015281816126aa015281816129920152612c0c01526151876000f3fe6080604052600436106102c85760003560e01c8063715018a611610175578063a5962524116100dc578063c87b56dd11610095578063e985e9c51161006f578063e985e9c514610ad8578063ea4c960014610b15578063f2fde38b14610b3e578063f5b9bccd14610b67576102c8565b8063c87b56dd14610a45578063d5abeb0114610a82578063e199b15d14610aad576102c8565b8063a596252414610949578063abad256114610974578063b154c1811461099f578063b1b71afa146109c8578063b88d4fde146109f3578063c089d27d14610a1c576102c8565b80638e7ab9241161012e5780638e7ab9241461084d578063931688cb1461087857806395d89b41146108a15780639673e1dd146108cc578063a22cb465146108f5578063a40c3eab1461091e576102c8565b8063715018a61461076157806383f9fc451461077857806386b6a9c5146107a3578063887ce3ca146107cc5780638bf7859b146107f75780638da5cb5b14610822576102c8565b806330ccf335116102345780634783f0ef116101ed57806367243482116101c757806367243482146106935780636b763a1a146106bc5780636c0360eb146106f957806370a0823114610724576102c8565b80634783f0ef146106025780635f833ce71461062b5780636352211e14610656576102c8565b806330ccf335146105015780633ccfd60b1461052c5780633e16dc34146105435780633fb054b91461058057806342842e0e146105bd57806345de0d9b146105e6576102c8565b80630f1574b5116102865780630f1574b5146103dd57806318160ddd1461041a57806322d344541461044557806323b872dd14610482578063255e4083146104ab5780632eb4a7ab146104d6576102c8565b8062263ad0146102cd57806301ffc9a7146102e457806306fdde0314610321578063081812fc1461034c578063095ea7b3146103895780630dab15c7146103b2575b600080fd5b3480156102d957600080fd5b506102e2610b92565b005b3480156102f057600080fd5b5061030b600480360381019061030691906135a8565b610e90565b60405161031891906135f0565b60405180910390f35b34801561032d57600080fd5b50610336610f22565b60405161034391906136a4565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e91906136fc565b610fb4565b604051610380919061376a565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab91906137b1565b611030565b005b3480156103be57600080fd5b506103c7611171565b6040516103d49190613800565b60405180910390f35b3480156103e957600080fd5b5061040460048036038101906103ff919061381b565b611177565b6040516104119190613800565b60405180910390f35b34801561042657600080fd5b5061042f61118f565b60405161043c9190613800565b60405180910390f35b34801561045157600080fd5b5061046c600480360381019061046791906137b1565b6111a6565b6040516104799190613800565b60405180910390f35b34801561048e57600080fd5b506104a960048036038101906104a49190613848565b61137f565b005b3480156104b757600080fd5b506104c06116a1565b6040516104cd9190613800565b60405180910390f35b3480156104e257600080fd5b506104eb6116a7565b6040516104f891906138b4565b60405180910390f35b34801561050d57600080fd5b506105166116ad565b6040516105239190613800565b60405180910390f35b34801561053857600080fd5b506105416116b3565b005b34801561054f57600080fd5b5061056a60048036038101906105659190613934565b611804565b60405161057791906135f0565b60405180910390f35b34801561058c57600080fd5b506105a760048036038101906105a29190613934565b611888565b6040516105b49190613800565b60405180910390f35b3480156105c957600080fd5b506105e460048036038101906105df9190613848565b611944565b005b61060060048036038101906105fb9190613994565b611964565b005b34801561060e57600080fd5b5061062960048036038101906106249190613a20565b611b0f565b005b34801561063757600080fd5b50610640611b95565b60405161064d9190613800565b60405180910390f35b34801561066257600080fd5b5061067d600480360381019061067891906136fc565b611b9b565b60405161068a919061376a565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b59190613c4e565b611bad565b005b3480156106c857600080fd5b506106e360048036038101906106de919061381b565b611c8b565b6040516106f09190613800565b60405180910390f35b34801561070557600080fd5b5061070e611ca3565b60405161071b91906136a4565b60405180910390f35b34801561073057600080fd5b5061074b6004803603810190610746919061381b565b611d31565b6040516107589190613800565b60405180910390f35b34801561076d57600080fd5b50610776611de9565b005b34801561078457600080fd5b5061078d611e71565b60405161079a9190613800565b60405180910390f35b3480156107af57600080fd5b506107ca60048036038101906107c59190613cc6565b611e77565b005b3480156107d857600080fd5b506107e1611f62565b6040516107ee9190613800565b60405180910390f35b34801561080357600080fd5b5061080c611f68565b6040516108199190613800565b60405180910390f35b34801561082e57600080fd5b50610837611f6e565b604051610844919061376a565b60405180910390f35b34801561085957600080fd5b50610862611f98565b60405161086f9190613da0565b60405180910390f35b34801561088457600080fd5b5061089f600480360381019061089a9190613e70565b611fbc565b005b3480156108ad57600080fd5b506108b661204b565b6040516108c391906136a4565b60405180910390f35b3480156108d857600080fd5b506108f360048036038101906108ee9190613eb9565b6120dd565b005b34801561090157600080fd5b5061091c60048036038101906109179190613f4c565b6121c0565b005b34801561092a57600080fd5b50610933612337565b6040516109409190613800565b60405180910390f35b34801561095557600080fd5b5061095e61235b565b60405161096b919061376a565b60405180910390f35b34801561098057600080fd5b5061098961237f565b6040516109969190613800565b60405180910390f35b3480156109ab57600080fd5b506109c660048036038101906109c1919061381b565b612385565b005b3480156109d457600080fd5b506109dd61256c565b6040516109ea9190613800565b60405180910390f35b3480156109ff57600080fd5b50610a1a6004803603810190610a15919061402d565b612572565b005b348015610a2857600080fd5b50610a436004803603810190610a3e91906140b0565b6125e5565b005b348015610a5157600080fd5b50610a6c6004803603810190610a6791906136fc565b6128f2565b604051610a7991906136a4565b60405180910390f35b348015610a8e57600080fd5b50610a97612990565b604051610aa49190613800565b60405180910390f35b348015610ab957600080fd5b50610ac26129b4565b604051610acf9190613800565b60405180910390f35b348015610ae457600080fd5b50610aff6004803603810190610afa9190614124565b6129d8565b604051610b0c91906135f0565b60405180910390f35b348015610b2157600080fd5b50610b3c6004803603810190610b3791906136fc565b612a6c565b005b348015610b4a57600080fd5b50610b656004803603810190610b60919061381b565b612af2565b005b348015610b7357600080fd5b50610b7c612be9565b604051610b899190613800565b60405180910390f35b6000610b9c612bef565b9050610ba781612385565b60008060155467ffffffffffffffff811115610bc657610bc5613a4d565b5b604051908082528060200260200182016040528015610bf45781602001602082028036833780820191505090505b50905060005b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c899190614179565b811015610d9c578373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610d009190613800565b602060405180830381865afa158015610d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4191906141bb565b73ffffffffffffffffffffffffffffffffffffffff1603610d895780828480610d6990614217565b955081518110610d7c57610d7b61425f565b5b6020026020010181815250505b8080610d9490614217565b915050610bfa565b5060005b8151811015610e7f577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd857f0000000000000000000000000000000000000000000000000000000000000000858581518110610e1a57610e1961425f565b5b60200260200101516040518463ffffffff1660e01b8152600401610e409392919061428e565b600060405180830381600087803b158015610e5a57600080fd5b505af1158015610e6e573d6000803e3d6000fd5b505050508080600101915050610da0565b50610e8b836001612bf7565b505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610eeb57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610f1b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610f31906142f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5d906142f4565b8015610faa5780601f10610f7f57610100808354040283529160200191610faa565b820191906000526020600020905b815481529060010190602001808311610f8d57829003601f168201915b5050505050905090565b6000610fbf82612ce8565b610ff5576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061103b82611b9b565b90508073ffffffffffffffffffffffffffffffffffffffff1661105c612d47565b73ffffffffffffffffffffffffffffffffffffffff16146110bf5761108881611083612d47565b6129d8565b6110be576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60105481565b60176020528060005260406000206000915090505481565b6000611199612d4f565b6001546000540303905090565b600080429050601354811061129957601760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546010541115611283576000601760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460105461124d9190614325565b905083811061126157600092505050611379565b60115481856112709190614325565b61127a9190614359565b92505050611379565b601154836112919190614359565b915050611379565b601660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c541115611367576000601660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c546113319190614325565b905083811061134557600092505050611379565b600d5481856113549190614325565b61135e9190614359565b92505050611379565b600d54836113759190614359565b9150505b92915050565b600061138a82612d54565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113f1576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806113fd84612e20565b91509150611413818761140e612d47565b612e42565b61145f5761142886611423612d47565b6129d8565b61145e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036114c5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114d28686866001612e86565b80156114dd57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506115ab85611587888887612e8c565b7c020000000000000000000000000000000000000000000000000000000017612eb4565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603611631576000600185019050600060046000838152602001908152602001600020540361162f57600054811461162e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46116998686866001612edf565b505050505050565b600f5481565b600b5481565b60145481565b6116bb612bef565b73ffffffffffffffffffffffffffffffffffffffff166116d9611f6e565b73ffffffffffffffffffffffffffffffffffffffff161461172f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611726906143ff565b60405180910390fd5b600260095403611774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176b9061446b565b60405180910390fd5b60026009819055506000611786611f6e565b73ffffffffffffffffffffffffffffffffffffffff16476040516117a9906144bc565b60006040518083038185875af1925050503d80600081146117e6576040519150601f19603f3d011682016040523d82523d6000602084013e6117eb565b606091505b50509050806117f957600080fd5b506001600981905550565b600080846040516020016118189190614519565b60405160208183030381529060405280519060200120905061187e848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5483612ee5565b9150509392505050565b60008042905060135481106118ec57601760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546012546118e49190614325565b91505061193d565b601660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600e546119399190614325565b9150505b9392505050565b61195f83838360405180602001604052806000815250612572565b505050565b600061196e612bef565b9050600061197c82846111a6565b905061198a828686866125e5565b8173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146119f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ef90614580565b60405180910390fd5b80341015611a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a32906145ec565b60405180910390fd5b60006013544210159050611a4f8385612bf7565b8015611ab05783601760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aa4919061460c565b92505081905550611b07565b83601660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aff919061460c565b925050819055505b505050505050565b611b17612bef565b73ffffffffffffffffffffffffffffffffffffffff16611b35611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614611b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b82906143ff565b60405180910390fd5b80600b8190555050565b600d5481565b6000611ba682612d54565b9050919050565b611bb5612bef565b73ffffffffffffffffffffffffffffffffffffffff16611bd3611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c20906143ff565b60405180910390fd5b60005b8251811015611c8657611c73838281518110611c4b57611c4a61425f565b5b6020026020010151838381518110611c6657611c6561425f565b5b6020026020010151612bf7565b8080611c7e90614217565b915050611c2c565b505050565b60166020528060005260406000206000915090505481565b600a8054611cb0906142f4565b80601f0160208091040260200160405190810160405280929190818152602001828054611cdc906142f4565b8015611d295780601f10611cfe57610100808354040283529160200191611d29565b820191906000526020600020905b815481529060010190602001808311611d0c57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d98576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611df1612bef565b73ffffffffffffffffffffffffffffffffffffffff16611e0f611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614611e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5c906143ff565b60405180910390fd5b611e6f6000612efc565b565b60135481565b611e7f612bef565b73ffffffffffffffffffffffffffffffffffffffff16611e9d611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614611ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eea906143ff565b60405180910390fd5b600f54821015611f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2f906146d4565b60405180910390fd5b84601081905550836011819055508260128190555081601381905550806014819055505050505050565b60115481565b60125481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b611fc4612bef565b73ffffffffffffffffffffffffffffffffffffffff16611fe2611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614612038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202f906143ff565b60405180910390fd5b80600a90816120479190614896565b5050565b60606003805461205a906142f4565b80601f0160208091040260200160405190810160405280929190818152602001828054612086906142f4565b80156120d35780601f106120a8576101008083540402835291602001916120d3565b820191906000526020600020905b8154815290600101906020018083116120b657829003601f168201915b5050505050905090565b6120e5612bef565b73ffffffffffffffffffffffffffffffffffffffff16612103611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614612159576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612150906143ff565b60405180910390fd5b80601354101561219e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612195906149da565b60405180910390fd5b83600c8190555082600d8190555081600e8190555080600f8190555050505050565b6121c8612d47565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361222c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612239612d47565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122e6612d47565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161232b91906135f0565b60405180910390a35050565b600080429050601354811061235157601254915050612358565b600e549150505b90565b7f000000000000000000000000000000000000000000000000000000000000000081565b600e5481565b6000601554116123ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c190614a46565b60405180910390fd5b60145442101561240f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240690614ab2565b60405180910390fd5b600161241961118f565b612423919061460c565b7f00000000000000000000000000000000000000000000000000000000000000001015612485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247c90614b1e565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016124e0919061376a565b602060405180830381865afa1580156124fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125219190614179565b9050601554811015612568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255f90614bb0565b60405180910390fd5b5050565b60155481565b61257d84848461137f565b60008373ffffffffffffffffffffffffffffffffffffffff163b146125df576125a884848484612fc2565b6125de576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000429050600f5481101561262f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262690614c42565b60405180910390fd5b806014541015612674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266b90614cae565b60405180910390fd5b8161267d61118f565b612687919061460c565b7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006126d39190614325565b1015612714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270b90614d1a565b60405180910390fd5b60135481106127b05781601760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612768919061460c565b601254116127ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a290614d86565b60405180910390fd5b612889565b6127bb858585611804565b6127fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f190614df2565b60405180910390fd5b81601660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612845919061460c565b600e5411612888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287f90614d86565b60405180910390fd5b5b61289385836111a6565b8573ffffffffffffffffffffffffffffffffffffffff1631116128eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e290614e5e565b60405180910390fd5b5050505050565b60606128fd82612ce8565b612933576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061293d613112565b9050600081510361295d5760405180602001604052806000815250612988565b80612967846131a4565b604051602001612978929190614eba565b6040516020818303038152906040525b915050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612a74612bef565b73ffffffffffffffffffffffffffffffffffffffff16612a92611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614612ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612adf906143ff565b60405180910390fd5b8060158190555050565b612afa612bef565b73ffffffffffffffffffffffffffffffffffffffff16612b18611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614612b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b65906143ff565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd490614f50565b60405180910390fd5b612be681612efc565b50565b600c5481565b600033905090565b80612c0061118f565b612c0a919061460c565b7f000000000000000000000000000000000000000000000000000000000000000011612c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6290614fbc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd19061504e565b60405180910390fd5b612ce482826131fe565b5050565b600081612cf3612d4f565b11158015612d02575060005482105b8015612d40575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080612d63612d4f565b11612de957600054811015612de85760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612de6575b60008103612ddc576004600083600190039350838152602001908152602001600020549050612db2565b8092505050612e1b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612ea386868461321c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600082612ef28584613225565b1490509392505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fe8612d47565b8786866040518563ffffffff1660e01b815260040161300a94939291906150c3565b6020604051808303816000875af192505050801561304657506040513d601f19601f820116820180604052508101906130439190615124565b60015b6130bf573d8060008114613076576040519150601f19603f3d011682016040523d82523d6000602084013e61307b565b606091505b5060008151036130b7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054613121906142f4565b80601f016020809104026020016040519081016040528092919081815260200182805461314d906142f4565b801561319a5780601f1061316f5761010080835404028352916020019161319a565b820191906000526020600020905b81548152906001019060200180831161317d57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156131ea57600183039250600a81066030018353600a810490506131ca565b508181036020830392508083525050919050565b61321882826040518060200160405280600081525061327b565b5050565b60009392505050565b60008082905060005b84518110156132705761325b8286838151811061324e5761324d61425f565b5b6020026020010151613318565b9150808061326890614217565b91505061322e565b508091505092915050565b6132858383613343565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461331357600080549050600083820390505b6132c56000868380600101945086612fc2565b6132fb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106132b257816000541461331057600080fd5b50505b505050565b60008183106133305761332b8284613515565b61333b565b61333a8383613515565b5b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036133af576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082036133e9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133f66000848385612e86565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061346d8361345e6000866000612e8c565b6134678561352c565b17612eb4565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613491578060008190555050506135106000848385612edf565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61358581613550565b811461359057600080fd5b50565b6000813590506135a28161357c565b92915050565b6000602082840312156135be576135bd613546565b5b60006135cc84828501613593565b91505092915050565b60008115159050919050565b6135ea816135d5565b82525050565b600060208201905061360560008301846135e1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561364557808201518184015260208101905061362a565b83811115613654576000848401525b50505050565b6000601f19601f8301169050919050565b60006136768261360b565b6136808185613616565b9350613690818560208601613627565b6136998161365a565b840191505092915050565b600060208201905081810360008301526136be818461366b565b905092915050565b6000819050919050565b6136d9816136c6565b81146136e457600080fd5b50565b6000813590506136f6816136d0565b92915050565b60006020828403121561371257613711613546565b5b6000613720848285016136e7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061375482613729565b9050919050565b61376481613749565b82525050565b600060208201905061377f600083018461375b565b92915050565b61378e81613749565b811461379957600080fd5b50565b6000813590506137ab81613785565b92915050565b600080604083850312156137c8576137c7613546565b5b60006137d68582860161379c565b92505060206137e7858286016136e7565b9150509250929050565b6137fa816136c6565b82525050565b600060208201905061381560008301846137f1565b92915050565b60006020828403121561383157613830613546565b5b600061383f8482850161379c565b91505092915050565b60008060006060848603121561386157613860613546565b5b600061386f8682870161379c565b93505060206138808682870161379c565b9250506040613891868287016136e7565b9150509250925092565b6000819050919050565b6138ae8161389b565b82525050565b60006020820190506138c960008301846138a5565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126138f4576138f36138cf565b5b8235905067ffffffffffffffff811115613911576139106138d4565b5b60208301915083602082028301111561392d5761392c6138d9565b5b9250929050565b60008060006040848603121561394d5761394c613546565b5b600061395b8682870161379c565b935050602084013567ffffffffffffffff81111561397c5761397b61354b565b5b613988868287016138de565b92509250509250925092565b6000806000604084860312156139ad576139ac613546565b5b600084013567ffffffffffffffff8111156139cb576139ca61354b565b5b6139d7868287016138de565b935093505060206139ea868287016136e7565b9150509250925092565b6139fd8161389b565b8114613a0857600080fd5b50565b600081359050613a1a816139f4565b92915050565b600060208284031215613a3657613a35613546565b5b6000613a4484828501613a0b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a858261365a565b810181811067ffffffffffffffff82111715613aa457613aa3613a4d565b5b80604052505050565b6000613ab761353c565b9050613ac38282613a7c565b919050565b600067ffffffffffffffff821115613ae357613ae2613a4d565b5b602082029050602081019050919050565b6000613b07613b0284613ac8565b613aad565b90508083825260208201905060208402830185811115613b2a57613b296138d9565b5b835b81811015613b535780613b3f888261379c565b845260208401935050602081019050613b2c565b5050509392505050565b600082601f830112613b7257613b716138cf565b5b8135613b82848260208601613af4565b91505092915050565b600067ffffffffffffffff821115613ba657613ba5613a4d565b5b602082029050602081019050919050565b6000613bca613bc584613b8b565b613aad565b90508083825260208201905060208402830185811115613bed57613bec6138d9565b5b835b81811015613c165780613c0288826136e7565b845260208401935050602081019050613bef565b5050509392505050565b600082601f830112613c3557613c346138cf565b5b8135613c45848260208601613bb7565b91505092915050565b60008060408385031215613c6557613c64613546565b5b600083013567ffffffffffffffff811115613c8357613c8261354b565b5b613c8f85828601613b5d565b925050602083013567ffffffffffffffff811115613cb057613caf61354b565b5b613cbc85828601613c20565b9150509250929050565b600080600080600060a08688031215613ce257613ce1613546565b5b6000613cf0888289016136e7565b9550506020613d01888289016136e7565b9450506040613d12888289016136e7565b9350506060613d23888289016136e7565b9250506080613d34888289016136e7565b9150509295509295909350565b6000819050919050565b6000613d66613d61613d5c84613729565b613d41565b613729565b9050919050565b6000613d7882613d4b565b9050919050565b6000613d8a82613d6d565b9050919050565b613d9a81613d7f565b82525050565b6000602082019050613db56000830184613d91565b92915050565b600080fd5b600067ffffffffffffffff821115613ddb57613dda613a4d565b5b613de48261365a565b9050602081019050919050565b82818337600083830152505050565b6000613e13613e0e84613dc0565b613aad565b905082815260208101848484011115613e2f57613e2e613dbb565b5b613e3a848285613df1565b509392505050565b600082601f830112613e5757613e566138cf565b5b8135613e67848260208601613e00565b91505092915050565b600060208284031215613e8657613e85613546565b5b600082013567ffffffffffffffff811115613ea457613ea361354b565b5b613eb084828501613e42565b91505092915050565b60008060008060808587031215613ed357613ed2613546565b5b6000613ee1878288016136e7565b9450506020613ef2878288016136e7565b9350506040613f03878288016136e7565b9250506060613f14878288016136e7565b91505092959194509250565b613f29816135d5565b8114613f3457600080fd5b50565b600081359050613f4681613f20565b92915050565b60008060408385031215613f6357613f62613546565b5b6000613f718582860161379c565b9250506020613f8285828601613f37565b9150509250929050565b600067ffffffffffffffff821115613fa757613fa6613a4d565b5b613fb08261365a565b9050602081019050919050565b6000613fd0613fcb84613f8c565b613aad565b905082815260208101848484011115613fec57613feb613dbb565b5b613ff7848285613df1565b509392505050565b600082601f830112614014576140136138cf565b5b8135614024848260208601613fbd565b91505092915050565b6000806000806080858703121561404757614046613546565b5b60006140558782880161379c565b94505060206140668782880161379c565b9350506040614077878288016136e7565b925050606085013567ffffffffffffffff8111156140985761409761354b565b5b6140a487828801613fff565b91505092959194509250565b600080600080606085870312156140ca576140c9613546565b5b60006140d88782880161379c565b945050602085013567ffffffffffffffff8111156140f9576140f861354b565b5b614105878288016138de565b93509350506040614118878288016136e7565b91505092959194509250565b6000806040838503121561413b5761413a613546565b5b60006141498582860161379c565b925050602061415a8582860161379c565b9150509250929050565b600081519050614173816136d0565b92915050565b60006020828403121561418f5761418e613546565b5b600061419d84828501614164565b91505092915050565b6000815190506141b581613785565b92915050565b6000602082840312156141d1576141d0613546565b5b60006141df848285016141a6565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614222826136c6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614254576142536141e8565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006060820190506142a3600083018661375b565b6142b0602083018561375b565b6142bd60408301846137f1565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061430c57607f821691505b60208210810361431f5761431e6142c5565b5b50919050565b6000614330826136c6565b915061433b836136c6565b92508282101561434e5761434d6141e8565b5b828203905092915050565b6000614364826136c6565b915061436f836136c6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143a8576143a76141e8565b5b828202905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006143e9602083613616565b91506143f4826143b3565b602082019050919050565b60006020820190508181036000830152614418816143dc565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614455601f83613616565b91506144608261441f565b602082019050919050565b6000602082019050818103600083015261448481614448565b9050919050565b600081905092915050565b50565b60006144a660008361448b565b91506144b182614496565b600082019050919050565b60006144c782614499565b9150819050919050565b60008160601b9050919050565b60006144e9826144d1565b9050919050565b60006144fb826144de565b9050919050565b61451361450e82613749565b6144f0565b82525050565b60006145258284614502565b60148201915081905092915050565b7f4f6e6c7920454f41000000000000000000000000000000000000000000000000600082015250565b600061456a600883613616565b915061457582614534565b602082019050919050565b600060208201905081810360008301526145998161455d565b9050919050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006145d6601283613616565b91506145e1826145a0565b602082019050919050565b60006020820190508181036000830152614605816145c9565b9050919050565b6000614617826136c6565b9150614622836136c6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614657576146566141e8565b5b828201905092915050565b7f496e76616c6964207075626c696353616c654f70656e54696d657374616d705f60008201527f20696e7075740000000000000000000000000000000000000000000000000000602082015250565b60006146be602683613616565b91506146c982614662565b604082019050919050565b600060208201905081810360008301526146ed816146b1565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026147567fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614719565b6147608683614719565b95508019841693508086168417925050509392505050565b600061479361478e614789846136c6565b613d41565b6136c6565b9050919050565b6000819050919050565b6147ad83614778565b6147c16147b98261479a565b848454614726565b825550505050565b600090565b6147d66147c9565b6147e18184846147a4565b505050565b5b81811015614805576147fa6000826147ce565b6001810190506147e7565b5050565b601f82111561484a5761481b816146f4565b61482484614709565b81016020851015614833578190505b61484761483f85614709565b8301826147e6565b50505b505050565b600082821c905092915050565b600061486d6000198460080261484f565b1980831691505092915050565b6000614886838361485c565b9150826002028217905092915050565b61489f8261360b565b67ffffffffffffffff8111156148b8576148b7613a4d565b5b6148c282546142f4565b6148cd828285614809565b600060209050601f83116001811461490057600084156148ee578287015190505b6148f8858261487a565b865550614960565b601f19841661490e866146f4565b60005b8281101561493657848901518255600182019150602085019450602081019050614911565b86831015614953578489015161494f601f89168261485c565b8355505b6001600288020188555050505b505050505050565b7f496e76616c69642077686974654c69737453616c654f70656e54696d6573746160008201527f6d705f20696e7075740000000000000000000000000000000000000000000000602082015250565b60006149c4602983613616565b91506149cf82614968565b604082019050919050565b600060208201905081810360008301526149f3816149b7565b9050919050565b7f416374696f6e2d4275726e20697320636c6f736564206e6f7700000000000000600082015250565b6000614a30601983613616565b9150614a3b826149fa565b602082019050919050565b60006020820190508181036000830152614a5f81614a23565b9050919050565b7f416374696f6e2d4275726e206973206e6f74206f70656e207965740000000000600082015250565b6000614a9c601b83613616565b9150614aa782614a66565b602082019050919050565b60006020820190508181036000830152614acb81614a8f565b9050919050565b7f4d617820737570706c7920666f72206275726e206d6574000000000000000000600082015250565b6000614b08601783613616565b9150614b1382614ad2565b602082019050919050565b60006020820190508181036000830152614b3781614afb565b9050919050565b7f466461466f6f64436f6c6c656374696f6e2062616c616e6365206e6f7420656e60008201527f6f75676800000000000000000000000000000000000000000000000000000000602082015250565b6000614b9a602483613616565b9150614ba582614b3e565b604082019050919050565b60006020820190508181036000830152614bc981614b8d565b9050919050565b7f5075626c69632d53616c652f57686974654c6973742d53616c65206973206e6f60008201527f74206f70656e2079657400000000000000000000000000000000000000000000602082015250565b6000614c2c602a83613616565b9150614c3782614bd0565b604082019050919050565b60006020820190508181036000830152614c5b81614c1f565b9050919050565b7f416c6c2d53616c6520697320636c6f736564206e6f7700000000000000000000600082015250565b6000614c98601683613616565b9150614ca382614c62565b602082019050919050565b60006020820190508181036000830152614cc781614c8b565b9050919050565b7f4d617820737570706c7920666f72206d696e74206d6574000000000000000000600082015250565b6000614d04601783613616565b9150614d0f82614cce565b602082019050919050565b60006020820190508181036000830152614d3381614cf7565b9050919050565b7f4d6178206d696e7473207065722077616c6c6574206d65740000000000000000600082015250565b6000614d70601883613616565b9150614d7b82614d3a565b602082019050919050565b60006020820190508181036000830152614d9f81614d63565b9050919050565b7f41646472657373206973206e6f7420696e207768697465206c69737400000000600082015250565b6000614ddc601c83613616565b9150614de782614da6565b602082019050919050565b60006020820190508181036000830152614e0b81614dcf565b9050919050565b7f416464726573732062616c616e6365206e6f7420656e6f756768000000000000600082015250565b6000614e48601a83613616565b9150614e5382614e12565b602082019050919050565b60006020820190508181036000830152614e7781614e3b565b9050919050565b600081905092915050565b6000614e948261360b565b614e9e8185614e7e565b9350614eae818560208601613627565b80840191505092915050565b6000614ec68285614e89565b9150614ed28284614e89565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614f3a602683613616565b9150614f4582614ede565b604082019050919050565b60006020820190508181036000830152614f6981614f2d565b9050919050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b6000614fa6601383613616565b9150614fb182614f70565b602082019050919050565b60006020820190508181036000830152614fd581614f99565b9050919050565b7f43616e6e6f7420686176652061206e6f6e2d616464726573732061732072657360008201527f6572766500000000000000000000000000000000000000000000000000000000602082015250565b6000615038602483613616565b915061504382614fdc565b604082019050919050565b600060208201905081810360008301526150678161502b565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006150958261506e565b61509f8185615079565b93506150af818560208601613627565b6150b88161365a565b840191505092915050565b60006080820190506150d8600083018761375b565b6150e5602083018661375b565b6150f260408301856137f1565b8181036060830152615104818461508a565b905095945050505050565b60008151905061511e8161357c565b92915050565b60006020828403121561513a57615139613546565b5b60006151488482850161510f565b9150509291505056fea2646970667358221220215ebdced1a1d12222eebe064b9e07a32219eb2487cae9142cf9e88afc36199264736f6c634300080f003368747470733a2f2f617277656176652e6e65742f37654d31307569536c754e532d61706a77456a794b2d6c73374d6649716e345275434c682d657435586c412f

Deployed Bytecode

0x6080604052600436106102c85760003560e01c8063715018a611610175578063a5962524116100dc578063c87b56dd11610095578063e985e9c51161006f578063e985e9c514610ad8578063ea4c960014610b15578063f2fde38b14610b3e578063f5b9bccd14610b67576102c8565b8063c87b56dd14610a45578063d5abeb0114610a82578063e199b15d14610aad576102c8565b8063a596252414610949578063abad256114610974578063b154c1811461099f578063b1b71afa146109c8578063b88d4fde146109f3578063c089d27d14610a1c576102c8565b80638e7ab9241161012e5780638e7ab9241461084d578063931688cb1461087857806395d89b41146108a15780639673e1dd146108cc578063a22cb465146108f5578063a40c3eab1461091e576102c8565b8063715018a61461076157806383f9fc451461077857806386b6a9c5146107a3578063887ce3ca146107cc5780638bf7859b146107f75780638da5cb5b14610822576102c8565b806330ccf335116102345780634783f0ef116101ed57806367243482116101c757806367243482146106935780636b763a1a146106bc5780636c0360eb146106f957806370a0823114610724576102c8565b80634783f0ef146106025780635f833ce71461062b5780636352211e14610656576102c8565b806330ccf335146105015780633ccfd60b1461052c5780633e16dc34146105435780633fb054b91461058057806342842e0e146105bd57806345de0d9b146105e6576102c8565b80630f1574b5116102865780630f1574b5146103dd57806318160ddd1461041a57806322d344541461044557806323b872dd14610482578063255e4083146104ab5780632eb4a7ab146104d6576102c8565b8062263ad0146102cd57806301ffc9a7146102e457806306fdde0314610321578063081812fc1461034c578063095ea7b3146103895780630dab15c7146103b2575b600080fd5b3480156102d957600080fd5b506102e2610b92565b005b3480156102f057600080fd5b5061030b600480360381019061030691906135a8565b610e90565b60405161031891906135f0565b60405180910390f35b34801561032d57600080fd5b50610336610f22565b60405161034391906136a4565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e91906136fc565b610fb4565b604051610380919061376a565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab91906137b1565b611030565b005b3480156103be57600080fd5b506103c7611171565b6040516103d49190613800565b60405180910390f35b3480156103e957600080fd5b5061040460048036038101906103ff919061381b565b611177565b6040516104119190613800565b60405180910390f35b34801561042657600080fd5b5061042f61118f565b60405161043c9190613800565b60405180910390f35b34801561045157600080fd5b5061046c600480360381019061046791906137b1565b6111a6565b6040516104799190613800565b60405180910390f35b34801561048e57600080fd5b506104a960048036038101906104a49190613848565b61137f565b005b3480156104b757600080fd5b506104c06116a1565b6040516104cd9190613800565b60405180910390f35b3480156104e257600080fd5b506104eb6116a7565b6040516104f891906138b4565b60405180910390f35b34801561050d57600080fd5b506105166116ad565b6040516105239190613800565b60405180910390f35b34801561053857600080fd5b506105416116b3565b005b34801561054f57600080fd5b5061056a60048036038101906105659190613934565b611804565b60405161057791906135f0565b60405180910390f35b34801561058c57600080fd5b506105a760048036038101906105a29190613934565b611888565b6040516105b49190613800565b60405180910390f35b3480156105c957600080fd5b506105e460048036038101906105df9190613848565b611944565b005b61060060048036038101906105fb9190613994565b611964565b005b34801561060e57600080fd5b5061062960048036038101906106249190613a20565b611b0f565b005b34801561063757600080fd5b50610640611b95565b60405161064d9190613800565b60405180910390f35b34801561066257600080fd5b5061067d600480360381019061067891906136fc565b611b9b565b60405161068a919061376a565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b59190613c4e565b611bad565b005b3480156106c857600080fd5b506106e360048036038101906106de919061381b565b611c8b565b6040516106f09190613800565b60405180910390f35b34801561070557600080fd5b5061070e611ca3565b60405161071b91906136a4565b60405180910390f35b34801561073057600080fd5b5061074b6004803603810190610746919061381b565b611d31565b6040516107589190613800565b60405180910390f35b34801561076d57600080fd5b50610776611de9565b005b34801561078457600080fd5b5061078d611e71565b60405161079a9190613800565b60405180910390f35b3480156107af57600080fd5b506107ca60048036038101906107c59190613cc6565b611e77565b005b3480156107d857600080fd5b506107e1611f62565b6040516107ee9190613800565b60405180910390f35b34801561080357600080fd5b5061080c611f68565b6040516108199190613800565b60405180910390f35b34801561082e57600080fd5b50610837611f6e565b604051610844919061376a565b60405180910390f35b34801561085957600080fd5b50610862611f98565b60405161086f9190613da0565b60405180910390f35b34801561088457600080fd5b5061089f600480360381019061089a9190613e70565b611fbc565b005b3480156108ad57600080fd5b506108b661204b565b6040516108c391906136a4565b60405180910390f35b3480156108d857600080fd5b506108f360048036038101906108ee9190613eb9565b6120dd565b005b34801561090157600080fd5b5061091c60048036038101906109179190613f4c565b6121c0565b005b34801561092a57600080fd5b50610933612337565b6040516109409190613800565b60405180910390f35b34801561095557600080fd5b5061095e61235b565b60405161096b919061376a565b60405180910390f35b34801561098057600080fd5b5061098961237f565b6040516109969190613800565b60405180910390f35b3480156109ab57600080fd5b506109c660048036038101906109c1919061381b565b612385565b005b3480156109d457600080fd5b506109dd61256c565b6040516109ea9190613800565b60405180910390f35b3480156109ff57600080fd5b50610a1a6004803603810190610a15919061402d565b612572565b005b348015610a2857600080fd5b50610a436004803603810190610a3e91906140b0565b6125e5565b005b348015610a5157600080fd5b50610a6c6004803603810190610a6791906136fc565b6128f2565b604051610a7991906136a4565b60405180910390f35b348015610a8e57600080fd5b50610a97612990565b604051610aa49190613800565b60405180910390f35b348015610ab957600080fd5b50610ac26129b4565b604051610acf9190613800565b60405180910390f35b348015610ae457600080fd5b50610aff6004803603810190610afa9190614124565b6129d8565b604051610b0c91906135f0565b60405180910390f35b348015610b2157600080fd5b50610b3c6004803603810190610b3791906136fc565b612a6c565b005b348015610b4a57600080fd5b50610b656004803603810190610b60919061381b565b612af2565b005b348015610b7357600080fd5b50610b7c612be9565b604051610b899190613800565b60405180910390f35b6000610b9c612bef565b9050610ba781612385565b60008060155467ffffffffffffffff811115610bc657610bc5613a4d565b5b604051908082528060200260200182016040528015610bf45781602001602082028036833780820191505090505b50905060005b7f000000000000000000000000d82c9290a240eb90d26bc7facb5518cfcdaacb6b73ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c899190614179565b811015610d9c578373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000d82c9290a240eb90d26bc7facb5518cfcdaacb6b73ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610d009190613800565b602060405180830381865afa158015610d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4191906141bb565b73ffffffffffffffffffffffffffffffffffffffff1603610d895780828480610d6990614217565b955081518110610d7c57610d7b61425f565b5b6020026020010181815250505b8080610d9490614217565b915050610bfa565b5060005b8151811015610e7f577f000000000000000000000000d82c9290a240eb90d26bc7facb5518cfcdaacb6b73ffffffffffffffffffffffffffffffffffffffff166323b872dd857f000000000000000000000000000000000000000000000000000000000000dead858581518110610e1a57610e1961425f565b5b60200260200101516040518463ffffffff1660e01b8152600401610e409392919061428e565b600060405180830381600087803b158015610e5a57600080fd5b505af1158015610e6e573d6000803e3d6000fd5b505050508080600101915050610da0565b50610e8b836001612bf7565b505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610eeb57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610f1b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610f31906142f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5d906142f4565b8015610faa5780601f10610f7f57610100808354040283529160200191610faa565b820191906000526020600020905b815481529060010190602001808311610f8d57829003601f168201915b5050505050905090565b6000610fbf82612ce8565b610ff5576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061103b82611b9b565b90508073ffffffffffffffffffffffffffffffffffffffff1661105c612d47565b73ffffffffffffffffffffffffffffffffffffffff16146110bf5761108881611083612d47565b6129d8565b6110be576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60105481565b60176020528060005260406000206000915090505481565b6000611199612d4f565b6001546000540303905090565b600080429050601354811061129957601760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546010541115611283576000601760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460105461124d9190614325565b905083811061126157600092505050611379565b60115481856112709190614325565b61127a9190614359565b92505050611379565b601154836112919190614359565b915050611379565b601660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c541115611367576000601660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c546113319190614325565b905083811061134557600092505050611379565b600d5481856113549190614325565b61135e9190614359565b92505050611379565b600d54836113759190614359565b9150505b92915050565b600061138a82612d54565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113f1576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806113fd84612e20565b91509150611413818761140e612d47565b612e42565b61145f5761142886611423612d47565b6129d8565b61145e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036114c5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114d28686866001612e86565b80156114dd57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506115ab85611587888887612e8c565b7c020000000000000000000000000000000000000000000000000000000017612eb4565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603611631576000600185019050600060046000838152602001908152602001600020540361162f57600054811461162e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46116998686866001612edf565b505050505050565b600f5481565b600b5481565b60145481565b6116bb612bef565b73ffffffffffffffffffffffffffffffffffffffff166116d9611f6e565b73ffffffffffffffffffffffffffffffffffffffff161461172f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611726906143ff565b60405180910390fd5b600260095403611774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176b9061446b565b60405180910390fd5b60026009819055506000611786611f6e565b73ffffffffffffffffffffffffffffffffffffffff16476040516117a9906144bc565b60006040518083038185875af1925050503d80600081146117e6576040519150601f19603f3d011682016040523d82523d6000602084013e6117eb565b606091505b50509050806117f957600080fd5b506001600981905550565b600080846040516020016118189190614519565b60405160208183030381529060405280519060200120905061187e848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5483612ee5565b9150509392505050565b60008042905060135481106118ec57601760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546012546118e49190614325565b91505061193d565b601660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600e546119399190614325565b9150505b9392505050565b61195f83838360405180602001604052806000815250612572565b505050565b600061196e612bef565b9050600061197c82846111a6565b905061198a828686866125e5565b8173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146119f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ef90614580565b60405180910390fd5b80341015611a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a32906145ec565b60405180910390fd5b60006013544210159050611a4f8385612bf7565b8015611ab05783601760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aa4919061460c565b92505081905550611b07565b83601660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aff919061460c565b925050819055505b505050505050565b611b17612bef565b73ffffffffffffffffffffffffffffffffffffffff16611b35611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614611b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b82906143ff565b60405180910390fd5b80600b8190555050565b600d5481565b6000611ba682612d54565b9050919050565b611bb5612bef565b73ffffffffffffffffffffffffffffffffffffffff16611bd3611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c20906143ff565b60405180910390fd5b60005b8251811015611c8657611c73838281518110611c4b57611c4a61425f565b5b6020026020010151838381518110611c6657611c6561425f565b5b6020026020010151612bf7565b8080611c7e90614217565b915050611c2c565b505050565b60166020528060005260406000206000915090505481565b600a8054611cb0906142f4565b80601f0160208091040260200160405190810160405280929190818152602001828054611cdc906142f4565b8015611d295780601f10611cfe57610100808354040283529160200191611d29565b820191906000526020600020905b815481529060010190602001808311611d0c57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d98576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611df1612bef565b73ffffffffffffffffffffffffffffffffffffffff16611e0f611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614611e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5c906143ff565b60405180910390fd5b611e6f6000612efc565b565b60135481565b611e7f612bef565b73ffffffffffffffffffffffffffffffffffffffff16611e9d611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614611ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eea906143ff565b60405180910390fd5b600f54821015611f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2f906146d4565b60405180910390fd5b84601081905550836011819055508260128190555081601381905550806014819055505050505050565b60115481565b60125481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000d82c9290a240eb90d26bc7facb5518cfcdaacb6b81565b611fc4612bef565b73ffffffffffffffffffffffffffffffffffffffff16611fe2611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614612038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202f906143ff565b60405180910390fd5b80600a90816120479190614896565b5050565b60606003805461205a906142f4565b80601f0160208091040260200160405190810160405280929190818152602001828054612086906142f4565b80156120d35780601f106120a8576101008083540402835291602001916120d3565b820191906000526020600020905b8154815290600101906020018083116120b657829003601f168201915b5050505050905090565b6120e5612bef565b73ffffffffffffffffffffffffffffffffffffffff16612103611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614612159576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612150906143ff565b60405180910390fd5b80601354101561219e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612195906149da565b60405180910390fd5b83600c8190555082600d8190555081600e8190555080600f8190555050505050565b6121c8612d47565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361222c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612239612d47565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122e6612d47565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161232b91906135f0565b60405180910390a35050565b600080429050601354811061235157601254915050612358565b600e549150505b90565b7f000000000000000000000000000000000000000000000000000000000000dead81565b600e5481565b6000601554116123ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c190614a46565b60405180910390fd5b60145442101561240f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240690614ab2565b60405180910390fd5b600161241961118f565b612423919061460c565b7f00000000000000000000000000000000000000000000000000000000000017701015612485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247c90614b1e565b60405180910390fd5b60007f000000000000000000000000d82c9290a240eb90d26bc7facb5518cfcdaacb6b73ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016124e0919061376a565b602060405180830381865afa1580156124fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125219190614179565b9050601554811015612568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255f90614bb0565b60405180910390fd5b5050565b60155481565b61257d84848461137f565b60008373ffffffffffffffffffffffffffffffffffffffff163b146125df576125a884848484612fc2565b6125de576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000429050600f5481101561262f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262690614c42565b60405180910390fd5b806014541015612674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266b90614cae565b60405180910390fd5b8161267d61118f565b612687919061460c565b7f00000000000000000000000000000000000000000000000000000000000003207f00000000000000000000000000000000000000000000000000000000000017706126d39190614325565b1015612714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270b90614d1a565b60405180910390fd5b60135481106127b05781601760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612768919061460c565b601254116127ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a290614d86565b60405180910390fd5b612889565b6127bb858585611804565b6127fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f190614df2565b60405180910390fd5b81601660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612845919061460c565b600e5411612888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287f90614d86565b60405180910390fd5b5b61289385836111a6565b8573ffffffffffffffffffffffffffffffffffffffff1631116128eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e290614e5e565b60405180910390fd5b5050505050565b60606128fd82612ce8565b612933576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061293d613112565b9050600081510361295d5760405180602001604052806000815250612988565b80612967846131a4565b604051602001612978929190614eba565b6040516020818303038152906040525b915050919050565b7f000000000000000000000000000000000000000000000000000000000000177081565b7f000000000000000000000000000000000000000000000000000000000000032081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612a74612bef565b73ffffffffffffffffffffffffffffffffffffffff16612a92611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614612ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612adf906143ff565b60405180910390fd5b8060158190555050565b612afa612bef565b73ffffffffffffffffffffffffffffffffffffffff16612b18611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614612b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b65906143ff565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd490614f50565b60405180910390fd5b612be681612efc565b50565b600c5481565b600033905090565b80612c0061118f565b612c0a919061460c565b7f000000000000000000000000000000000000000000000000000000000000177011612c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6290614fbc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd19061504e565b60405180910390fd5b612ce482826131fe565b5050565b600081612cf3612d4f565b11158015612d02575060005482105b8015612d40575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080612d63612d4f565b11612de957600054811015612de85760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612de6575b60008103612ddc576004600083600190039350838152602001908152602001600020549050612db2565b8092505050612e1b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612ea386868461321c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600082612ef28584613225565b1490509392505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fe8612d47565b8786866040518563ffffffff1660e01b815260040161300a94939291906150c3565b6020604051808303816000875af192505050801561304657506040513d601f19601f820116820180604052508101906130439190615124565b60015b6130bf573d8060008114613076576040519150601f19603f3d011682016040523d82523d6000602084013e61307b565b606091505b5060008151036130b7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054613121906142f4565b80601f016020809104026020016040519081016040528092919081815260200182805461314d906142f4565b801561319a5780601f1061316f5761010080835404028352916020019161319a565b820191906000526020600020905b81548152906001019060200180831161317d57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156131ea57600183039250600a81066030018353600a810490506131ca565b508181036020830392508083525050919050565b61321882826040518060200160405280600081525061327b565b5050565b60009392505050565b60008082905060005b84518110156132705761325b8286838151811061324e5761324d61425f565b5b6020026020010151613318565b9150808061326890614217565b91505061322e565b508091505092915050565b6132858383613343565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461331357600080549050600083820390505b6132c56000868380600101945086612fc2565b6132fb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106132b257816000541461331057600080fd5b50505b505050565b60008183106133305761332b8284613515565b61333b565b61333a8383613515565b5b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036133af576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082036133e9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133f66000848385612e86565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061346d8361345e6000866000612e8c565b6134678561352c565b17612eb4565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613491578060008190555050506135106000848385612edf565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61358581613550565b811461359057600080fd5b50565b6000813590506135a28161357c565b92915050565b6000602082840312156135be576135bd613546565b5b60006135cc84828501613593565b91505092915050565b60008115159050919050565b6135ea816135d5565b82525050565b600060208201905061360560008301846135e1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561364557808201518184015260208101905061362a565b83811115613654576000848401525b50505050565b6000601f19601f8301169050919050565b60006136768261360b565b6136808185613616565b9350613690818560208601613627565b6136998161365a565b840191505092915050565b600060208201905081810360008301526136be818461366b565b905092915050565b6000819050919050565b6136d9816136c6565b81146136e457600080fd5b50565b6000813590506136f6816136d0565b92915050565b60006020828403121561371257613711613546565b5b6000613720848285016136e7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061375482613729565b9050919050565b61376481613749565b82525050565b600060208201905061377f600083018461375b565b92915050565b61378e81613749565b811461379957600080fd5b50565b6000813590506137ab81613785565b92915050565b600080604083850312156137c8576137c7613546565b5b60006137d68582860161379c565b92505060206137e7858286016136e7565b9150509250929050565b6137fa816136c6565b82525050565b600060208201905061381560008301846137f1565b92915050565b60006020828403121561383157613830613546565b5b600061383f8482850161379c565b91505092915050565b60008060006060848603121561386157613860613546565b5b600061386f8682870161379c565b93505060206138808682870161379c565b9250506040613891868287016136e7565b9150509250925092565b6000819050919050565b6138ae8161389b565b82525050565b60006020820190506138c960008301846138a5565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126138f4576138f36138cf565b5b8235905067ffffffffffffffff811115613911576139106138d4565b5b60208301915083602082028301111561392d5761392c6138d9565b5b9250929050565b60008060006040848603121561394d5761394c613546565b5b600061395b8682870161379c565b935050602084013567ffffffffffffffff81111561397c5761397b61354b565b5b613988868287016138de565b92509250509250925092565b6000806000604084860312156139ad576139ac613546565b5b600084013567ffffffffffffffff8111156139cb576139ca61354b565b5b6139d7868287016138de565b935093505060206139ea868287016136e7565b9150509250925092565b6139fd8161389b565b8114613a0857600080fd5b50565b600081359050613a1a816139f4565b92915050565b600060208284031215613a3657613a35613546565b5b6000613a4484828501613a0b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a858261365a565b810181811067ffffffffffffffff82111715613aa457613aa3613a4d565b5b80604052505050565b6000613ab761353c565b9050613ac38282613a7c565b919050565b600067ffffffffffffffff821115613ae357613ae2613a4d565b5b602082029050602081019050919050565b6000613b07613b0284613ac8565b613aad565b90508083825260208201905060208402830185811115613b2a57613b296138d9565b5b835b81811015613b535780613b3f888261379c565b845260208401935050602081019050613b2c565b5050509392505050565b600082601f830112613b7257613b716138cf565b5b8135613b82848260208601613af4565b91505092915050565b600067ffffffffffffffff821115613ba657613ba5613a4d565b5b602082029050602081019050919050565b6000613bca613bc584613b8b565b613aad565b90508083825260208201905060208402830185811115613bed57613bec6138d9565b5b835b81811015613c165780613c0288826136e7565b845260208401935050602081019050613bef565b5050509392505050565b600082601f830112613c3557613c346138cf565b5b8135613c45848260208601613bb7565b91505092915050565b60008060408385031215613c6557613c64613546565b5b600083013567ffffffffffffffff811115613c8357613c8261354b565b5b613c8f85828601613b5d565b925050602083013567ffffffffffffffff811115613cb057613caf61354b565b5b613cbc85828601613c20565b9150509250929050565b600080600080600060a08688031215613ce257613ce1613546565b5b6000613cf0888289016136e7565b9550506020613d01888289016136e7565b9450506040613d12888289016136e7565b9350506060613d23888289016136e7565b9250506080613d34888289016136e7565b9150509295509295909350565b6000819050919050565b6000613d66613d61613d5c84613729565b613d41565b613729565b9050919050565b6000613d7882613d4b565b9050919050565b6000613d8a82613d6d565b9050919050565b613d9a81613d7f565b82525050565b6000602082019050613db56000830184613d91565b92915050565b600080fd5b600067ffffffffffffffff821115613ddb57613dda613a4d565b5b613de48261365a565b9050602081019050919050565b82818337600083830152505050565b6000613e13613e0e84613dc0565b613aad565b905082815260208101848484011115613e2f57613e2e613dbb565b5b613e3a848285613df1565b509392505050565b600082601f830112613e5757613e566138cf565b5b8135613e67848260208601613e00565b91505092915050565b600060208284031215613e8657613e85613546565b5b600082013567ffffffffffffffff811115613ea457613ea361354b565b5b613eb084828501613e42565b91505092915050565b60008060008060808587031215613ed357613ed2613546565b5b6000613ee1878288016136e7565b9450506020613ef2878288016136e7565b9350506040613f03878288016136e7565b9250506060613f14878288016136e7565b91505092959194509250565b613f29816135d5565b8114613f3457600080fd5b50565b600081359050613f4681613f20565b92915050565b60008060408385031215613f6357613f62613546565b5b6000613f718582860161379c565b9250506020613f8285828601613f37565b9150509250929050565b600067ffffffffffffffff821115613fa757613fa6613a4d565b5b613fb08261365a565b9050602081019050919050565b6000613fd0613fcb84613f8c565b613aad565b905082815260208101848484011115613fec57613feb613dbb565b5b613ff7848285613df1565b509392505050565b600082601f830112614014576140136138cf565b5b8135614024848260208601613fbd565b91505092915050565b6000806000806080858703121561404757614046613546565b5b60006140558782880161379c565b94505060206140668782880161379c565b9350506040614077878288016136e7565b925050606085013567ffffffffffffffff8111156140985761409761354b565b5b6140a487828801613fff565b91505092959194509250565b600080600080606085870312156140ca576140c9613546565b5b60006140d88782880161379c565b945050602085013567ffffffffffffffff8111156140f9576140f861354b565b5b614105878288016138de565b93509350506040614118878288016136e7565b91505092959194509250565b6000806040838503121561413b5761413a613546565b5b60006141498582860161379c565b925050602061415a8582860161379c565b9150509250929050565b600081519050614173816136d0565b92915050565b60006020828403121561418f5761418e613546565b5b600061419d84828501614164565b91505092915050565b6000815190506141b581613785565b92915050565b6000602082840312156141d1576141d0613546565b5b60006141df848285016141a6565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614222826136c6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614254576142536141e8565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006060820190506142a3600083018661375b565b6142b0602083018561375b565b6142bd60408301846137f1565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061430c57607f821691505b60208210810361431f5761431e6142c5565b5b50919050565b6000614330826136c6565b915061433b836136c6565b92508282101561434e5761434d6141e8565b5b828203905092915050565b6000614364826136c6565b915061436f836136c6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143a8576143a76141e8565b5b828202905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006143e9602083613616565b91506143f4826143b3565b602082019050919050565b60006020820190508181036000830152614418816143dc565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614455601f83613616565b91506144608261441f565b602082019050919050565b6000602082019050818103600083015261448481614448565b9050919050565b600081905092915050565b50565b60006144a660008361448b565b91506144b182614496565b600082019050919050565b60006144c782614499565b9150819050919050565b60008160601b9050919050565b60006144e9826144d1565b9050919050565b60006144fb826144de565b9050919050565b61451361450e82613749565b6144f0565b82525050565b60006145258284614502565b60148201915081905092915050565b7f4f6e6c7920454f41000000000000000000000000000000000000000000000000600082015250565b600061456a600883613616565b915061457582614534565b602082019050919050565b600060208201905081810360008301526145998161455d565b9050919050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006145d6601283613616565b91506145e1826145a0565b602082019050919050565b60006020820190508181036000830152614605816145c9565b9050919050565b6000614617826136c6565b9150614622836136c6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614657576146566141e8565b5b828201905092915050565b7f496e76616c6964207075626c696353616c654f70656e54696d657374616d705f60008201527f20696e7075740000000000000000000000000000000000000000000000000000602082015250565b60006146be602683613616565b91506146c982614662565b604082019050919050565b600060208201905081810360008301526146ed816146b1565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026147567fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614719565b6147608683614719565b95508019841693508086168417925050509392505050565b600061479361478e614789846136c6565b613d41565b6136c6565b9050919050565b6000819050919050565b6147ad83614778565b6147c16147b98261479a565b848454614726565b825550505050565b600090565b6147d66147c9565b6147e18184846147a4565b505050565b5b81811015614805576147fa6000826147ce565b6001810190506147e7565b5050565b601f82111561484a5761481b816146f4565b61482484614709565b81016020851015614833578190505b61484761483f85614709565b8301826147e6565b50505b505050565b600082821c905092915050565b600061486d6000198460080261484f565b1980831691505092915050565b6000614886838361485c565b9150826002028217905092915050565b61489f8261360b565b67ffffffffffffffff8111156148b8576148b7613a4d565b5b6148c282546142f4565b6148cd828285614809565b600060209050601f83116001811461490057600084156148ee578287015190505b6148f8858261487a565b865550614960565b601f19841661490e866146f4565b60005b8281101561493657848901518255600182019150602085019450602081019050614911565b86831015614953578489015161494f601f89168261485c565b8355505b6001600288020188555050505b505050505050565b7f496e76616c69642077686974654c69737453616c654f70656e54696d6573746160008201527f6d705f20696e7075740000000000000000000000000000000000000000000000602082015250565b60006149c4602983613616565b91506149cf82614968565b604082019050919050565b600060208201905081810360008301526149f3816149b7565b9050919050565b7f416374696f6e2d4275726e20697320636c6f736564206e6f7700000000000000600082015250565b6000614a30601983613616565b9150614a3b826149fa565b602082019050919050565b60006020820190508181036000830152614a5f81614a23565b9050919050565b7f416374696f6e2d4275726e206973206e6f74206f70656e207965740000000000600082015250565b6000614a9c601b83613616565b9150614aa782614a66565b602082019050919050565b60006020820190508181036000830152614acb81614a8f565b9050919050565b7f4d617820737570706c7920666f72206275726e206d6574000000000000000000600082015250565b6000614b08601783613616565b9150614b1382614ad2565b602082019050919050565b60006020820190508181036000830152614b3781614afb565b9050919050565b7f466461466f6f64436f6c6c656374696f6e2062616c616e6365206e6f7420656e60008201527f6f75676800000000000000000000000000000000000000000000000000000000602082015250565b6000614b9a602483613616565b9150614ba582614b3e565b604082019050919050565b60006020820190508181036000830152614bc981614b8d565b9050919050565b7f5075626c69632d53616c652f57686974654c6973742d53616c65206973206e6f60008201527f74206f70656e2079657400000000000000000000000000000000000000000000602082015250565b6000614c2c602a83613616565b9150614c3782614bd0565b604082019050919050565b60006020820190508181036000830152614c5b81614c1f565b9050919050565b7f416c6c2d53616c6520697320636c6f736564206e6f7700000000000000000000600082015250565b6000614c98601683613616565b9150614ca382614c62565b602082019050919050565b60006020820190508181036000830152614cc781614c8b565b9050919050565b7f4d617820737570706c7920666f72206d696e74206d6574000000000000000000600082015250565b6000614d04601783613616565b9150614d0f82614cce565b602082019050919050565b60006020820190508181036000830152614d3381614cf7565b9050919050565b7f4d6178206d696e7473207065722077616c6c6574206d65740000000000000000600082015250565b6000614d70601883613616565b9150614d7b82614d3a565b602082019050919050565b60006020820190508181036000830152614d9f81614d63565b9050919050565b7f41646472657373206973206e6f7420696e207768697465206c69737400000000600082015250565b6000614ddc601c83613616565b9150614de782614da6565b602082019050919050565b60006020820190508181036000830152614e0b81614dcf565b9050919050565b7f416464726573732062616c616e6365206e6f7420656e6f756768000000000000600082015250565b6000614e48601a83613616565b9150614e5382614e12565b602082019050919050565b60006020820190508181036000830152614e7781614e3b565b9050919050565b600081905092915050565b6000614e948261360b565b614e9e8185614e7e565b9350614eae818560208601613627565b80840191505092915050565b6000614ec68285614e89565b9150614ed28284614e89565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614f3a602683613616565b9150614f4582614ede565b604082019050919050565b60006020820190508181036000830152614f6981614f2d565b9050919050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b6000614fa6601383613616565b9150614fb182614f70565b602082019050919050565b60006020820190508181036000830152614fd581614f99565b9050919050565b7f43616e6e6f7420686176652061206e6f6e2d616464726573732061732072657360008201527f6572766500000000000000000000000000000000000000000000000000000000602082015250565b6000615038602483613616565b915061504382614fdc565b604082019050919050565b600060208201905081810360008301526150678161502b565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006150958261506e565b61509f8185615079565b93506150af818560208601613627565b6150b88161365a565b840191505092915050565b60006080820190506150d8600083018761375b565b6150e5602083018661375b565b6150f260408301856137f1565b8181036060830152615104818461508a565b905095945050505050565b60008151905061511e8161357c565b92915050565b60006020828403121561513a57615139613546565b5b60006151488482850161510f565b9150509291505056fea2646970667358221220215ebdced1a1d12222eebe064b9e07a32219eb2487cae9142cf9e88afc36199264736f6c634300080f0033

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.