ETH Price: $2,470.82 (+0.61%)
 

Overview

Max Total Supply

10,000 TheHighSociety

Holders

1,419

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
*🍃️🍃️🍃️.eth
Balance
32 TheHighSociety
0x33cFd90F164B4571BA45EbF283B427d33dd142da
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:
TheHighSociety

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.7;

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 TheHighSociety is ERC721A, Ownable, ReentrancyGuard {

    // Merkle root for pre-sale
    bytes32 public merkleRootBatchOne;
    bytes32 public merkleRootBatchTwo;

    // Max mint amount per wallet
    uint256 public MAX_MINT_PER_WALLET_PRESALE_BATCH_ONE = 1;
    uint256 public MAX_MINT_PER_WALLET_PRESALE_BATCH_TWO = 6;
    uint256 public MAX_MINT_PER_WALLET_SALE = 10;

    // Sale status
    bool public enablePresaleBatchOne = false;
    bool public enablePresaleBatchTwo = false;
    bool public enableSale = false;

    // Price
    uint256 public PRICE_PRESALE_BATCH_TWO = 0.1 ether;
    uint256 public PRICE_SALE = 0.1 ether;

    uint256 public maxSupply = 10_000;

    string public baseTokenURI;

    // Track the number of NFT minted for each sale round
    struct User {
        uint256 countPresaleBatchOne;
        uint256 countPresaleBatchTwo;
        uint256 countSale;
    }

    mapping(address => User) public users;

    constructor() ERC721A("TheHighSociety", "TheHighSociety") {}

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

    function setBaseTokenURI(string calldata _baseTokenURI) external onlyOwner {
        baseTokenURI = _baseTokenURI;
    }

    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), ".json")) : '';
    }

    function setMaxSupply(uint _maxSupply) external onlyOwner {
        require(_maxSupply != maxSupply, 'Invalid supply');
        maxSupply = _maxSupply;
    }

    function setMerkleRootBatchOne(bytes32 _merkleRoot) external onlyOwner {
        merkleRootBatchOne = _merkleRoot;
    }

    function setMerkleRootBatchTwo(bytes32 _merkleRoot) external onlyOwner {
        merkleRootBatchTwo = _merkleRoot;
    }

    function setPricePresaleBatchTwo(uint256 _price) external onlyOwner {
        require(PRICE_PRESALE_BATCH_TWO != _price, "Invalid price");
        PRICE_PRESALE_BATCH_TWO = _price;
    }

    function setPriceSale(uint256 _price) external onlyOwner {
        require(PRICE_SALE != _price, "Invalid price");
        PRICE_SALE = _price;
    }

    function setEnablePresaleBatchOne(bool _enable) external onlyOwner {
        require(enablePresaleBatchOne != _enable, "Invalid status");
        enablePresaleBatchOne = _enable;
    }

    function setEnablePresaleBatchTwo(bool _enable) external onlyOwner {
        require(enablePresaleBatchTwo != _enable, "Invalid status");
        enablePresaleBatchTwo = _enable;
    }

    function setEnableSale(bool _enable) external onlyOwner {
        require(enableSale != _enable, "Invalid status");
        enableSale = _enable;
    }

    function setMaxMintPerWalletPresaleBatchOne(uint256 _limit) external onlyOwner {
        require(MAX_MINT_PER_WALLET_PRESALE_BATCH_ONE != _limit, "New limit is the same as the existing one");
        MAX_MINT_PER_WALLET_PRESALE_BATCH_ONE = _limit;
    }

    function setMaxMintPerWalletPresaleBatchTwo(uint256 _limit) external onlyOwner {
        require(MAX_MINT_PER_WALLET_PRESALE_BATCH_TWO != _limit, "New limit is the same as the existing one");
        MAX_MINT_PER_WALLET_PRESALE_BATCH_TWO = _limit;
    }

    function setMaxMintPerWalletSale(uint256 _limit) external onlyOwner {
        require(MAX_MINT_PER_WALLET_SALE != _limit, "New limit is the same as the existing one");
        MAX_MINT_PER_WALLET_SALE = _limit;
    }

    function getMints(address _wallet) external view returns (uint) {
        return _numberMinted(_wallet);
    }

    function mintPresaleBatchOne(bytes32[] calldata _merkleProof, uint256 _amount) external nonReentrant {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));

        require(enablePresaleBatchOne, "Pre-sale batch one is not enabled");
        require(tx.origin == msg.sender, "Contract denied");
        require(totalSupply() + _amount <= maxSupply, "Exceeds maximum supply");
        require(
            users[msg.sender].countPresaleBatchOne + _amount <= MAX_MINT_PER_WALLET_PRESALE_BATCH_ONE,
            "Exceeds max mint limit per wallet");
        require(MerkleProof.verify(_merkleProof, merkleRootBatchOne, leaf), "Proof Invalid");

        _safeMint(msg.sender, _amount);
        users[msg.sender].countPresaleBatchOne = users[msg.sender].countPresaleBatchOne + _amount;
    }

    function mintPresaleBatchTwo(bytes32[] calldata _merkleProof, uint256 _amount) external nonReentrant payable {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));

        require(enablePresaleBatchTwo, "Pre-sale batch two is not enabled");
        require(totalSupply() + _amount <= maxSupply, "Exceeds maximum supply");
        require(tx.origin == msg.sender, "Contract denied");
        require(
            users[msg.sender].countPresaleBatchTwo + _amount <= MAX_MINT_PER_WALLET_PRESALE_BATCH_TWO,
            "Exceeds max mint limit per wallet");
        require(MerkleProof.verify(_merkleProof, merkleRootBatchTwo, leaf), "Proof Invalid");
        require(msg.value >= PRICE_PRESALE_BATCH_TWO * _amount, "Value below price");

        _safeMint(msg.sender, _amount);
        users[msg.sender].countPresaleBatchTwo = users[msg.sender].countPresaleBatchTwo + _amount;
    }

    function mintSale(uint256 _amount) external nonReentrant payable {
        require(enableSale, "Sale is not enabled");
        require(tx.origin == msg.sender, "Contract denied");
        require(totalSupply() + _amount <= maxSupply, "Exceeds maximum supply");
        require(
            users[msg.sender].countSale + _amount <= MAX_MINT_PER_WALLET_SALE,
            "Exceeds max mint limit per wallet"
        );
        require(msg.value >= PRICE_SALE * _amount, "Value below price");

        _safeMint(msg.sender, _amount);
        users[msg.sender].countSale = users[msg.sender].countSale + _amount;
    }

    function ownerMint(uint _amount) external nonReentrant onlyOwner {
        require(tx.origin == msg.sender, 'Contract Denied');
        require(totalSupply() + _amount <= maxSupply, "Exceeds maximum supply");

        _safeMint(msg.sender, _amount);
    }

    function withdraw() external nonReentrant onlyOwner {
        require(tx.origin == msg.sender, 'Contract denied');
        uint256 balance = address(this).balance;
        require(balance > 0, "Balance is 0");
        payable(msg.sender).transfer(balance);
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees 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 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++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        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.0.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 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`
    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 auxillary 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 auxillary 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;
        assembly { // Cast aux without masking.
            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;
    }

    /**
     * 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 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, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

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

        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-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _transfer(from, to, tokenId);
    }

    /**
     * @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 {
        _transfer(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.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) 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 or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.code.length != 0) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @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.
     */
    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 or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

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

    /**
     * @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 _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            getApproved(tokenId) == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

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

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                getApproved(tokenId) == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED | 
                BITMASK_NEXT_INITIALIZED;

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

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

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

    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;
    }

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

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":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_PER_WALLET_PRESALE_BATCH_ONE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_WALLET_PRESALE_BATCH_TWO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_WALLET_SALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PRESALE_BATCH_TWO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_SALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enablePresaleBatchOne","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enablePresaleBatchTwo","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_wallet","type":"address"}],"name":"getMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootBatchOne","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootBatchTwo","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintPresaleBatchOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintPresaleBatchTwo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintSale","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":"_amount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enable","type":"bool"}],"name":"setEnablePresaleBatchOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enable","type":"bool"}],"name":"setEnablePresaleBatchTwo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enable","type":"bool"}],"name":"setEnableSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxMintPerWalletPresaleBatchOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxMintPerWalletPresaleBatchTwo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxMintPerWalletSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRootBatchOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRootBatchTwo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPricePresaleBatchTwo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPriceSale","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":"address","name":"","type":"address"}],"name":"users","outputs":[{"internalType":"uint256","name":"countPresaleBatchOne","type":"uint256"},{"internalType":"uint256","name":"countPresaleBatchTwo","type":"uint256"},{"internalType":"uint256","name":"countSale","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600c556006600d55600a600e556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055506000600f60026101000a81548160ff02191690831515021790555067016345785d8a000060105567016345785d8a00006011556127106012553480156200008f57600080fd5b506040518060400160405280600e81526020017f54686548696768536f63696574790000000000000000000000000000000000008152506040518060400160405280600e81526020017f54686548696768536f636965747900000000000000000000000000000000000081525081600290805190602001906200011492919062000247565b5080600390805190602001906200012d92919062000247565b506200013e6200017460201b60201c565b6000819055505050620001666200015a6200017960201b60201c565b6200018160201b60201c565b60016009819055506200035c565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200025590620002f7565b90600052602060002090601f016020900481019282620002795760008555620002c5565b82601f106200029457805160ff1916838001178555620002c5565b82800160010185558215620002c5579182015b82811115620002c4578251825591602001919060010190620002a7565b5b509050620002d49190620002d8565b5090565b5b80821115620002f3576000816000905550600101620002d9565b5090565b600060028204905060018216806200031057607f821691505b602082108114156200032757620003266200032d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614cbc806200036c6000396000f3fe6080604052600436106102935760003560e01c8063900f187a1161015a578063c87b56dd116100c1578063e985e9c51161007a578063e985e9c5146109be578063edfd5ced146109fb578063ef6ccce014610a24578063f19e75d414610a4f578063f2fde38b14610a78578063f58c8ac714610aa157610293565b8063c87b56dd146108ae578063ca02d956146108eb578063d547cfb714610914578063d5abeb011461093f578063dcd2f29a1461096a578063e14a6b5d1461099357610293565b8063ada4d00511610113578063ada4d005146107b2578063b02a0475146107db578063b72b6ae814610804578063b88d4fde1461082f578063bfe90c2514610858578063c683d8e41461088357610293565b8063900f187a146106a457806395d89b41146106cd5780639bdf9e09146106f8578063a22cb46514610721578063a87430ba1461074a578063ad2592881461078957610293565b806342842e0e116101fe57806370a08231116101b757806370a0823114610594578063715018a6146105d157806371cbcd3d146105e857806374ce56711461061357806382562177146106505780638da5cb5b1461067957610293565b806342842e0e146104955780634875bccb146104be57806354204b71146104da5780636352211e146105035780636db8f1f5146105405780636f8b44b01461056b57610293565b806318160ddd1161025057806318160ddd146103ba5780631a8103a2146103e55780631ae100821461040157806323b872dd1461042c57806330176e13146104555780633ccfd60b1461047e57610293565b806301ffc9a71461029857806306fdde03146102d5578063081812fc14610300578063095ea7b31461033d5780630e80d8b91461036657806313e2d15914610391575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba9190613ce7565b610acc565b6040516102cc91906141d8565b60405180910390f35b3480156102e157600080fd5b506102ea610b5e565b6040516102f7919061420e565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190613d8e565b610bf0565b6040516103349190614171565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f9190613bed565b610c6c565b005b34801561037257600080fd5b5061037b610e13565b6040516103889190614450565b60405180910390f35b34801561039d57600080fd5b506103b860048036038101906103b39190613cba565b610e19565b005b3480156103c657600080fd5b506103cf610e9f565b6040516103dc9190614450565b60405180910390f35b6103ff60048036038101906103fa9190613c2d565b610eb6565b005b34801561040d57600080fd5b5061041661125e565b6040516104239190614450565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e9190613ad7565b611264565b005b34801561046157600080fd5b5061047c60048036038101906104779190613d41565b611274565b005b34801561048a57600080fd5b50610493611306565b005b3480156104a157600080fd5b506104bc60048036038101906104b79190613ad7565b6114d8565b005b6104d860048036038101906104d39190613d8e565b6114f8565b005b3480156104e657600080fd5b5061050160048036038101906104fc9190613d8e565b6117e5565b005b34801561050f57600080fd5b5061052a60048036038101906105259190613d8e565b6118b0565b6040516105379190614171565b60405180910390f35b34801561054c57600080fd5b506105556118c2565b6040516105629190614450565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d9190613d8e565b6118c8565b005b3480156105a057600080fd5b506105bb60048036038101906105b69190613a6a565b611993565b6040516105c89190614450565b60405180910390f35b3480156105dd57600080fd5b506105e6611a4c565b005b3480156105f457600080fd5b506105fd611ad4565b60405161060a9190614450565b60405180910390f35b34801561061f57600080fd5b5061063a60048036038101906106359190613a6a565b611ada565b6040516106479190614450565b60405180910390f35b34801561065c57600080fd5b5061067760048036038101906106729190613c8d565b611aec565b005b34801561068557600080fd5b5061068e611bdb565b60405161069b9190614171565b60405180910390f35b3480156106b057600080fd5b506106cb60048036038101906106c69190613d8e565b611c05565b005b3480156106d957600080fd5b506106e2611cd0565b6040516106ef919061420e565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a9190613cba565b611d62565b005b34801561072d57600080fd5b5061074860048036038101906107439190613bad565b611de8565b005b34801561075657600080fd5b50610771600480360381019061076c9190613a6a565b611f60565b6040516107809392919061446b565b60405180910390f35b34801561079557600080fd5b506107b060048036038101906107ab9190613d8e565b611f8a565b005b3480156107be57600080fd5b506107d960048036038101906107d49190613c8d565b612055565b005b3480156107e757600080fd5b5061080260048036038101906107fd9190613d8e565b612144565b005b34801561081057600080fd5b5061081961220f565b60405161082691906141d8565b60405180910390f35b34801561083b57600080fd5b5061085660048036038101906108519190613b2a565b612222565b005b34801561086457600080fd5b5061086d612295565b60405161087a9190614450565b60405180910390f35b34801561088f57600080fd5b5061089861229b565b6040516108a591906141d8565b60405180910390f35b3480156108ba57600080fd5b506108d560048036038101906108d09190613d8e565b6122ae565b6040516108e2919061420e565b60405180910390f35b3480156108f757600080fd5b50610912600480360381019061090d9190613c2d565b61234d565b005b34801561092057600080fd5b506109296126a5565b604051610936919061420e565b60405180910390f35b34801561094b57600080fd5b50610954612733565b6040516109619190614450565b60405180910390f35b34801561097657600080fd5b50610991600480360381019061098c9190613c8d565b612739565b005b34801561099f57600080fd5b506109a8612828565b6040516109b591906141f3565b60405180910390f35b3480156109ca57600080fd5b506109e560048036038101906109e09190613a97565b61282e565b6040516109f291906141d8565b60405180910390f35b348015610a0757600080fd5b50610a226004803603810190610a1d9190613d8e565b6128c2565b005b348015610a3057600080fd5b50610a3961298d565b604051610a4691906141d8565b60405180910390f35b348015610a5b57600080fd5b50610a766004803603810190610a719190613d8e565b6129a0565b005b348015610a8457600080fd5b50610a9f6004803603810190610a9a9190613a6a565b612b44565b005b348015610aad57600080fd5b50610ab6612c3c565b604051610ac391906141f3565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b2757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b575750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b6d906146ab565b80601f0160208091040260200160405190810160405280929190818152602001828054610b99906146ab565b8015610be65780601f10610bbb57610100808354040283529160200191610be6565b820191906000526020600020905b815481529060010190602001808311610bc957829003601f168201915b5050505050905090565b6000610bfb82612c42565b610c31576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c7782612ca1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cdf576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cfe612d6f565b73ffffffffffffffffffffffffffffffffffffffff1614610d6157610d2a81610d25612d6f565b61282e565b610d60576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60115481565b610e21612d77565b73ffffffffffffffffffffffffffffffffffffffff16610e3f611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c90614310565b60405180910390fd5b80600a8190555050565b6000610ea9612d7f565b6001546000540303905090565b60026009541415610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef390614430565b60405180910390fd5b6002600981905550600033604051602001610f179190614127565b604051602081830303815290604052805190602001209050600f60019054906101000a900460ff16610f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f75906143b0565b60405180910390fd5b60125482610f8a610e9f565b610f94919061453b565b1115610fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcc90614370565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103a90614330565b60405180910390fd5b600d5482601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154611094919061453b565b11156110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc906143d0565b60405180910390fd5b611123848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5483612d84565b611162576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611159906142d0565b60405180910390fd5b816010546111709190614591565b3410156111b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a990614350565b60405180910390fd5b6111bc3383612d9b565b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015461120a919061453b565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010181905550506001600981905550505050565b600e5481565b61126f838383612db9565b505050565b61127c612d77565b73ffffffffffffffffffffffffffffffffffffffff1661129a611bdb565b73ffffffffffffffffffffffffffffffffffffffff16146112f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e790614310565b60405180910390fd5b81816013919061130192919061382d565b505050565b6002600954141561134c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134390614430565b60405180910390fd5b600260098190555061135c612d77565b73ffffffffffffffffffffffffffffffffffffffff1661137a611bdb565b73ffffffffffffffffffffffffffffffffffffffff16146113d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c790614310565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590614330565b60405180910390fd5b600047905060008111611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d906142f0565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156114cc573d6000803e3d6000fd5b50506001600981905550565b6114f383838360405180602001604052806000815250612222565b505050565b6002600954141561153e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153590614430565b60405180910390fd5b6002600981905550600f60029054906101000a900460ff16611595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158c906142b0565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611603576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fa90614330565b60405180910390fd5b6012548161160f610e9f565b611619919061453b565b111561165a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165190614370565b60405180910390fd5b600e5481601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201546116ab919061453b565b11156116ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e3906143d0565b60405180910390fd5b806011546116fa9190614591565b34101561173c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173390614350565b60405180910390fd5b6117463382612d9b565b80601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154611794919061453b565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020181905550600160098190555050565b6117ed612d77565b73ffffffffffffffffffffffffffffffffffffffff1661180b611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614611861576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185890614310565b60405180910390fd5b80600d5414156118a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189d90614390565b60405180910390fd5b80600d8190555050565b60006118bb82612ca1565b9050919050565b60105481565b6118d0612d77565b73ffffffffffffffffffffffffffffffffffffffff166118ee611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614611944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193b90614310565b60405180910390fd5b601254811415611989576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611980906143f0565b60405180910390fd5b8060128190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119fb576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611a54612d77565b73ffffffffffffffffffffffffffffffffffffffff16611a72611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614611ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abf90614310565b60405180910390fd5b611ad26000613163565b565b600d5481565b6000611ae582613229565b9050919050565b611af4612d77565b73ffffffffffffffffffffffffffffffffffffffff16611b12611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614611b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5f90614310565b60405180910390fd5b801515600f60029054906101000a900460ff1615151415611bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb590614290565b60405180910390fd5b80600f60026101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611c0d612d77565b73ffffffffffffffffffffffffffffffffffffffff16611c2b611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614611c81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7890614310565b60405180910390fd5b80600e541415611cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbd90614390565b60405180910390fd5b80600e8190555050565b606060038054611cdf906146ab565b80601f0160208091040260200160405190810160405280929190818152602001828054611d0b906146ab565b8015611d585780601f10611d2d57610100808354040283529160200191611d58565b820191906000526020600020905b815481529060010190602001808311611d3b57829003601f168201915b5050505050905090565b611d6a612d77565b73ffffffffffffffffffffffffffffffffffffffff16611d88611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614611dde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd590614310565b60405180910390fd5b80600b8190555050565b611df0612d6f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e55576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611e62612d6f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f0f612d6f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f5491906141d8565b60405180910390a35050565b60146020528060005260406000206000915090508060000154908060010154908060020154905083565b611f92612d77565b73ffffffffffffffffffffffffffffffffffffffff16611fb0611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614612006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffd90614310565b60405180910390fd5b80600c54141561204b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204290614390565b60405180910390fd5b80600c8190555050565b61205d612d77565b73ffffffffffffffffffffffffffffffffffffffff1661207b611bdb565b73ffffffffffffffffffffffffffffffffffffffff16146120d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c890614310565b60405180910390fd5b801515600f60019054906101000a900460ff1615151415612127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211e90614290565b60405180910390fd5b80600f60016101000a81548160ff02191690831515021790555050565b61214c612d77565b73ffffffffffffffffffffffffffffffffffffffff1661216a611bdb565b73ffffffffffffffffffffffffffffffffffffffff16146121c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b790614310565b60405180910390fd5b806010541415612205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fc90614410565b60405180910390fd5b8060108190555050565b600f60019054906101000a900460ff1681565b61222d848484612db9565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461228f5761225884848484613280565b61228e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600c5481565b600f60029054906101000a900460ff1681565b60606122b982612c42565b6122ef576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006122f96133e0565b905060008151141561231a5760405180602001604052806000815250612345565b8061232484613472565b604051602001612335929190614142565b6040516020818303038152906040525b915050919050565b60026009541415612393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238a90614430565b60405180910390fd5b60026009819055506000336040516020016123ae9190614127565b604051602081830303815290604052805190602001209050600f60009054906101000a900460ff16612415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240c90614250565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247a90614330565b60405180910390fd5b6012548261248f610e9f565b612499919061453b565b11156124da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d190614370565b60405180910390fd5b600c5482601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015461252b919061453b565b111561256c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612563906143d0565b60405180910390fd5b6125ba848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a5483612d84565b6125f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f0906142d0565b60405180910390fd5b6126033383612d9b565b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154612651919061453b565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000181905550506001600981905550505050565b601380546126b2906146ab565b80601f01602080910402602001604051908101604052809291908181526020018280546126de906146ab565b801561272b5780601f106127005761010080835404028352916020019161272b565b820191906000526020600020905b81548152906001019060200180831161270e57829003601f168201915b505050505081565b60125481565b612741612d77565b73ffffffffffffffffffffffffffffffffffffffff1661275f611bdb565b73ffffffffffffffffffffffffffffffffffffffff16146127b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ac90614310565b60405180910390fd5b801515600f60009054906101000a900460ff161515141561280b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280290614290565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b600a5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6128ca612d77565b73ffffffffffffffffffffffffffffffffffffffff166128e8611bdb565b73ffffffffffffffffffffffffffffffffffffffff161461293e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293590614310565b60405180910390fd5b806011541415612983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297a90614410565b60405180910390fd5b8060118190555050565b600f60009054906101000a900460ff1681565b600260095414156129e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dd90614430565b60405180910390fd5b60026009819055506129f6612d77565b73ffffffffffffffffffffffffffffffffffffffff16612a14611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614612a6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6190614310565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612acf90614270565b60405180910390fd5b60125481612ae4610e9f565b612aee919061453b565b1115612b2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2690614370565b60405180910390fd5b612b393382612d9b565b600160098190555050565b612b4c612d77565b73ffffffffffffffffffffffffffffffffffffffff16612b6a611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614612bc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb790614310565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2790614230565b60405180910390fd5b612c3981613163565b50565b600b5481565b600081612c4d612d7f565b11158015612c5c575060005482105b8015612c9a575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080612cb0612d7f565b11612d3857600054811015612d375760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612d35575b6000811415612d2b576004600083600190039350838152602001908152602001600020549050612d00565b8092505050612d6a565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b600090565b600082612d9185846134cc565b1490509392505050565b612db5828260405180602001604052806000815250613541565b5050565b6000612dc482612ca1565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612e2b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612e4c612d6f565b73ffffffffffffffffffffffffffffffffffffffff161480612e7b5750612e7a85612e75612d6f565b61282e565b5b80612ec05750612e89612d6f565b73ffffffffffffffffffffffffffffffffffffffff16612ea884610bf0565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612ef9576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612f60576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f6d85858560016137f6565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b61306a866137fc565b1717600460008581526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000831614156130f45760006001840190506000600460008381526020019081526020016000205414156130f25760005481146130f1578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461315c8585856001613806565b5050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132a6612d6f565b8786866040518563ffffffff1660e01b81526004016132c8949392919061418c565b602060405180830381600087803b1580156132e257600080fd5b505af192505050801561331357506040513d601f19601f820116820180604052508101906133109190613d14565b60015b61338d573d8060008114613343576040519150601f19603f3d011682016040523d82523d6000602084013e613348565b606091505b50600081511415613385576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060601380546133ef906146ab565b80601f016020809104026020016040519081016040528092919081815260200182805461341b906146ab565b80156134685780601f1061343d57610100808354040283529160200191613468565b820191906000526020600020905b81548152906001019060200180831161344b57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156134b857600183039250600a81066030018353600a81049050613498565b508181036020830392508083525050919050565b60008082905060005b84518110156135365760008582815181106134f3576134f26147d9565b5b602002602001015190508083116135155761350e838261380c565b9250613522565b61351f818461380c565b92505b50808061352e9061470e565b9150506134d5565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156135ae576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156135e9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6135f660008583866137f6565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e161365b60018514613823565b901b60a042901b61366b866137fc565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b1461376f575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461371f6000878480600101955087613280565b613755576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106136b057826000541461376a57600080fd5b6137da565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613770575b8160008190555050506137f06000858386613806565b50505050565b50505050565b6000819050919050565b50505050565b600082600052816020526040600020905092915050565b6000819050919050565b828054613839906146ab565b90600052602060002090601f01602090048101928261385b57600085556138a2565b82601f1061387457803560ff19168380011785556138a2565b828001600101855582156138a2579182015b828111156138a1578235825591602001919060010190613886565b5b5090506138af91906138b3565b5090565b5b808211156138cc5760008160009055506001016138b4565b5090565b60006138e36138de846144c7565b6144a2565b9050828152602081018484840111156138ff576138fe614846565b5b61390a848285614669565b509392505050565b60008135905061392181614c13565b92915050565b60008083601f84011261393d5761393c61483c565b5b8235905067ffffffffffffffff81111561395a57613959614837565b5b60208301915083602082028301111561397657613975614841565b5b9250929050565b60008135905061398c81614c2a565b92915050565b6000813590506139a181614c41565b92915050565b6000813590506139b681614c58565b92915050565b6000815190506139cb81614c58565b92915050565b600082601f8301126139e6576139e561483c565b5b81356139f68482602086016138d0565b91505092915050565b60008083601f840112613a1557613a1461483c565b5b8235905067ffffffffffffffff811115613a3257613a31614837565b5b602083019150836001820283011115613a4e57613a4d614841565b5b9250929050565b600081359050613a6481614c6f565b92915050565b600060208284031215613a8057613a7f614850565b5b6000613a8e84828501613912565b91505092915050565b60008060408385031215613aae57613aad614850565b5b6000613abc85828601613912565b9250506020613acd85828601613912565b9150509250929050565b600080600060608486031215613af057613aef614850565b5b6000613afe86828701613912565b9350506020613b0f86828701613912565b9250506040613b2086828701613a55565b9150509250925092565b60008060008060808587031215613b4457613b43614850565b5b6000613b5287828801613912565b9450506020613b6387828801613912565b9350506040613b7487828801613a55565b925050606085013567ffffffffffffffff811115613b9557613b9461484b565b5b613ba1878288016139d1565b91505092959194509250565b60008060408385031215613bc457613bc3614850565b5b6000613bd285828601613912565b9250506020613be38582860161397d565b9150509250929050565b60008060408385031215613c0457613c03614850565b5b6000613c1285828601613912565b9250506020613c2385828601613a55565b9150509250929050565b600080600060408486031215613c4657613c45614850565b5b600084013567ffffffffffffffff811115613c6457613c6361484b565b5b613c7086828701613927565b93509350506020613c8386828701613a55565b9150509250925092565b600060208284031215613ca357613ca2614850565b5b6000613cb18482850161397d565b91505092915050565b600060208284031215613cd057613ccf614850565b5b6000613cde84828501613992565b91505092915050565b600060208284031215613cfd57613cfc614850565b5b6000613d0b848285016139a7565b91505092915050565b600060208284031215613d2a57613d29614850565b5b6000613d38848285016139bc565b91505092915050565b60008060208385031215613d5857613d57614850565b5b600083013567ffffffffffffffff811115613d7657613d7561484b565b5b613d82858286016139ff565b92509250509250929050565b600060208284031215613da457613da3614850565b5b6000613db284828501613a55565b91505092915050565b613dc4816145eb565b82525050565b613ddb613dd6826145eb565b614757565b82525050565b613dea816145fd565b82525050565b613df981614609565b82525050565b6000613e0a826144f8565b613e14818561450e565b9350613e24818560208601614678565b613e2d81614855565b840191505092915050565b6000613e4382614503565b613e4d818561451f565b9350613e5d818560208601614678565b613e6681614855565b840191505092915050565b6000613e7c82614503565b613e868185614530565b9350613e96818560208601614678565b80840191505092915050565b6000613eaf60268361451f565b9150613eba82614873565b604082019050919050565b6000613ed260218361451f565b9150613edd826148c2565b604082019050919050565b6000613ef5600f8361451f565b9150613f0082614911565b602082019050919050565b6000613f18600e8361451f565b9150613f238261493a565b602082019050919050565b6000613f3b60138361451f565b9150613f4682614963565b602082019050919050565b6000613f5e600d8361451f565b9150613f698261498c565b602082019050919050565b6000613f81600c8361451f565b9150613f8c826149b5565b602082019050919050565b6000613fa4600583614530565b9150613faf826149de565b600582019050919050565b6000613fc760208361451f565b9150613fd282614a07565b602082019050919050565b6000613fea600f8361451f565b9150613ff582614a30565b602082019050919050565b600061400d60118361451f565b915061401882614a59565b602082019050919050565b600061403060168361451f565b915061403b82614a82565b602082019050919050565b600061405360298361451f565b915061405e82614aab565b604082019050919050565b600061407660218361451f565b915061408182614afa565b604082019050919050565b600061409960218361451f565b91506140a482614b49565b604082019050919050565b60006140bc600e8361451f565b91506140c782614b98565b602082019050919050565b60006140df600d8361451f565b91506140ea82614bc1565b602082019050919050565b6000614102601f8361451f565b915061410d82614bea565b602082019050919050565b6141218161465f565b82525050565b60006141338284613dca565b60148201915081905092915050565b600061414e8285613e71565b915061415a8284613e71565b915061416582613f97565b91508190509392505050565b60006020820190506141866000830184613dbb565b92915050565b60006080820190506141a16000830187613dbb565b6141ae6020830186613dbb565b6141bb6040830185614118565b81810360608301526141cd8184613dff565b905095945050505050565b60006020820190506141ed6000830184613de1565b92915050565b60006020820190506142086000830184613df0565b92915050565b600060208201905081810360008301526142288184613e38565b905092915050565b6000602082019050818103600083015261424981613ea2565b9050919050565b6000602082019050818103600083015261426981613ec5565b9050919050565b6000602082019050818103600083015261428981613ee8565b9050919050565b600060208201905081810360008301526142a981613f0b565b9050919050565b600060208201905081810360008301526142c981613f2e565b9050919050565b600060208201905081810360008301526142e981613f51565b9050919050565b6000602082019050818103600083015261430981613f74565b9050919050565b6000602082019050818103600083015261432981613fba565b9050919050565b6000602082019050818103600083015261434981613fdd565b9050919050565b6000602082019050818103600083015261436981614000565b9050919050565b6000602082019050818103600083015261438981614023565b9050919050565b600060208201905081810360008301526143a981614046565b9050919050565b600060208201905081810360008301526143c981614069565b9050919050565b600060208201905081810360008301526143e98161408c565b9050919050565b60006020820190508181036000830152614409816140af565b9050919050565b60006020820190508181036000830152614429816140d2565b9050919050565b60006020820190508181036000830152614449816140f5565b9050919050565b60006020820190506144656000830184614118565b92915050565b60006060820190506144806000830186614118565b61448d6020830185614118565b61449a6040830184614118565b949350505050565b60006144ac6144bd565b90506144b882826146dd565b919050565b6000604051905090565b600067ffffffffffffffff8211156144e2576144e1614808565b5b6144eb82614855565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006145468261465f565b91506145518361465f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145865761458561477b565b5b828201905092915050565b600061459c8261465f565b91506145a78361465f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145e0576145df61477b565b5b828202905092915050565b60006145f68261463f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561469657808201518184015260208101905061467b565b838111156146a5576000848401525b50505050565b600060028204905060018216806146c357607f821691505b602082108114156146d7576146d66147aa565b5b50919050565b6146e682614855565b810181811067ffffffffffffffff8211171561470557614704614808565b5b80604052505050565b60006147198261465f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561474c5761474b61477b565b5b600182019050919050565b600061476282614769565b9050919050565b600061477482614866565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5072652d73616c65206261746368206f6e65206973206e6f7420656e61626c6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f436f6e74726163742044656e6965640000000000000000000000000000000000600082015250565b7f496e76616c696420737461747573000000000000000000000000000000000000600082015250565b7f53616c65206973206e6f7420656e61626c656400000000000000000000000000600082015250565b7f50726f6f6620496e76616c696400000000000000000000000000000000000000600082015250565b7f42616c616e636520697320300000000000000000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f436f6e74726163742064656e6965640000000000000000000000000000000000600082015250565b7f56616c75652062656c6f77207072696365000000000000000000000000000000600082015250565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b7f4e6577206c696d6974206973207468652073616d65206173207468652065786960008201527f7374696e67206f6e650000000000000000000000000000000000000000000000602082015250565b7f5072652d73616c652062617463682074776f206973206e6f7420656e61626c6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178206d696e74206c696d6974207065722077616c6c6560008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c696420737570706c79000000000000000000000000000000000000600082015250565b7f496e76616c696420707269636500000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b614c1c816145eb565b8114614c2757600080fd5b50565b614c33816145fd565b8114614c3e57600080fd5b50565b614c4a81614609565b8114614c5557600080fd5b50565b614c6181614613565b8114614c6c57600080fd5b50565b614c788161465f565b8114614c8357600080fd5b5056fea2646970667358221220a1578ba21ec6c776a6d8037b784df2b4443d1e2f3186b2352f9c3a1f7b8d72f364736f6c63430008070033

Deployed Bytecode

0x6080604052600436106102935760003560e01c8063900f187a1161015a578063c87b56dd116100c1578063e985e9c51161007a578063e985e9c5146109be578063edfd5ced146109fb578063ef6ccce014610a24578063f19e75d414610a4f578063f2fde38b14610a78578063f58c8ac714610aa157610293565b8063c87b56dd146108ae578063ca02d956146108eb578063d547cfb714610914578063d5abeb011461093f578063dcd2f29a1461096a578063e14a6b5d1461099357610293565b8063ada4d00511610113578063ada4d005146107b2578063b02a0475146107db578063b72b6ae814610804578063b88d4fde1461082f578063bfe90c2514610858578063c683d8e41461088357610293565b8063900f187a146106a457806395d89b41146106cd5780639bdf9e09146106f8578063a22cb46514610721578063a87430ba1461074a578063ad2592881461078957610293565b806342842e0e116101fe57806370a08231116101b757806370a0823114610594578063715018a6146105d157806371cbcd3d146105e857806374ce56711461061357806382562177146106505780638da5cb5b1461067957610293565b806342842e0e146104955780634875bccb146104be57806354204b71146104da5780636352211e146105035780636db8f1f5146105405780636f8b44b01461056b57610293565b806318160ddd1161025057806318160ddd146103ba5780631a8103a2146103e55780631ae100821461040157806323b872dd1461042c57806330176e13146104555780633ccfd60b1461047e57610293565b806301ffc9a71461029857806306fdde03146102d5578063081812fc14610300578063095ea7b31461033d5780630e80d8b91461036657806313e2d15914610391575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba9190613ce7565b610acc565b6040516102cc91906141d8565b60405180910390f35b3480156102e157600080fd5b506102ea610b5e565b6040516102f7919061420e565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190613d8e565b610bf0565b6040516103349190614171565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f9190613bed565b610c6c565b005b34801561037257600080fd5b5061037b610e13565b6040516103889190614450565b60405180910390f35b34801561039d57600080fd5b506103b860048036038101906103b39190613cba565b610e19565b005b3480156103c657600080fd5b506103cf610e9f565b6040516103dc9190614450565b60405180910390f35b6103ff60048036038101906103fa9190613c2d565b610eb6565b005b34801561040d57600080fd5b5061041661125e565b6040516104239190614450565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e9190613ad7565b611264565b005b34801561046157600080fd5b5061047c60048036038101906104779190613d41565b611274565b005b34801561048a57600080fd5b50610493611306565b005b3480156104a157600080fd5b506104bc60048036038101906104b79190613ad7565b6114d8565b005b6104d860048036038101906104d39190613d8e565b6114f8565b005b3480156104e657600080fd5b5061050160048036038101906104fc9190613d8e565b6117e5565b005b34801561050f57600080fd5b5061052a60048036038101906105259190613d8e565b6118b0565b6040516105379190614171565b60405180910390f35b34801561054c57600080fd5b506105556118c2565b6040516105629190614450565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d9190613d8e565b6118c8565b005b3480156105a057600080fd5b506105bb60048036038101906105b69190613a6a565b611993565b6040516105c89190614450565b60405180910390f35b3480156105dd57600080fd5b506105e6611a4c565b005b3480156105f457600080fd5b506105fd611ad4565b60405161060a9190614450565b60405180910390f35b34801561061f57600080fd5b5061063a60048036038101906106359190613a6a565b611ada565b6040516106479190614450565b60405180910390f35b34801561065c57600080fd5b5061067760048036038101906106729190613c8d565b611aec565b005b34801561068557600080fd5b5061068e611bdb565b60405161069b9190614171565b60405180910390f35b3480156106b057600080fd5b506106cb60048036038101906106c69190613d8e565b611c05565b005b3480156106d957600080fd5b506106e2611cd0565b6040516106ef919061420e565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a9190613cba565b611d62565b005b34801561072d57600080fd5b5061074860048036038101906107439190613bad565b611de8565b005b34801561075657600080fd5b50610771600480360381019061076c9190613a6a565b611f60565b6040516107809392919061446b565b60405180910390f35b34801561079557600080fd5b506107b060048036038101906107ab9190613d8e565b611f8a565b005b3480156107be57600080fd5b506107d960048036038101906107d49190613c8d565b612055565b005b3480156107e757600080fd5b5061080260048036038101906107fd9190613d8e565b612144565b005b34801561081057600080fd5b5061081961220f565b60405161082691906141d8565b60405180910390f35b34801561083b57600080fd5b5061085660048036038101906108519190613b2a565b612222565b005b34801561086457600080fd5b5061086d612295565b60405161087a9190614450565b60405180910390f35b34801561088f57600080fd5b5061089861229b565b6040516108a591906141d8565b60405180910390f35b3480156108ba57600080fd5b506108d560048036038101906108d09190613d8e565b6122ae565b6040516108e2919061420e565b60405180910390f35b3480156108f757600080fd5b50610912600480360381019061090d9190613c2d565b61234d565b005b34801561092057600080fd5b506109296126a5565b604051610936919061420e565b60405180910390f35b34801561094b57600080fd5b50610954612733565b6040516109619190614450565b60405180910390f35b34801561097657600080fd5b50610991600480360381019061098c9190613c8d565b612739565b005b34801561099f57600080fd5b506109a8612828565b6040516109b591906141f3565b60405180910390f35b3480156109ca57600080fd5b506109e560048036038101906109e09190613a97565b61282e565b6040516109f291906141d8565b60405180910390f35b348015610a0757600080fd5b50610a226004803603810190610a1d9190613d8e565b6128c2565b005b348015610a3057600080fd5b50610a3961298d565b604051610a4691906141d8565b60405180910390f35b348015610a5b57600080fd5b50610a766004803603810190610a719190613d8e565b6129a0565b005b348015610a8457600080fd5b50610a9f6004803603810190610a9a9190613a6a565b612b44565b005b348015610aad57600080fd5b50610ab6612c3c565b604051610ac391906141f3565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b2757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b575750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b6d906146ab565b80601f0160208091040260200160405190810160405280929190818152602001828054610b99906146ab565b8015610be65780601f10610bbb57610100808354040283529160200191610be6565b820191906000526020600020905b815481529060010190602001808311610bc957829003601f168201915b5050505050905090565b6000610bfb82612c42565b610c31576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c7782612ca1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cdf576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cfe612d6f565b73ffffffffffffffffffffffffffffffffffffffff1614610d6157610d2a81610d25612d6f565b61282e565b610d60576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60115481565b610e21612d77565b73ffffffffffffffffffffffffffffffffffffffff16610e3f611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c90614310565b60405180910390fd5b80600a8190555050565b6000610ea9612d7f565b6001546000540303905090565b60026009541415610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef390614430565b60405180910390fd5b6002600981905550600033604051602001610f179190614127565b604051602081830303815290604052805190602001209050600f60019054906101000a900460ff16610f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f75906143b0565b60405180910390fd5b60125482610f8a610e9f565b610f94919061453b565b1115610fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcc90614370565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103a90614330565b60405180910390fd5b600d5482601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154611094919061453b565b11156110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc906143d0565b60405180910390fd5b611123848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5483612d84565b611162576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611159906142d0565b60405180910390fd5b816010546111709190614591565b3410156111b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a990614350565b60405180910390fd5b6111bc3383612d9b565b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015461120a919061453b565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010181905550506001600981905550505050565b600e5481565b61126f838383612db9565b505050565b61127c612d77565b73ffffffffffffffffffffffffffffffffffffffff1661129a611bdb565b73ffffffffffffffffffffffffffffffffffffffff16146112f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e790614310565b60405180910390fd5b81816013919061130192919061382d565b505050565b6002600954141561134c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134390614430565b60405180910390fd5b600260098190555061135c612d77565b73ffffffffffffffffffffffffffffffffffffffff1661137a611bdb565b73ffffffffffffffffffffffffffffffffffffffff16146113d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c790614310565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590614330565b60405180910390fd5b600047905060008111611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d906142f0565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156114cc573d6000803e3d6000fd5b50506001600981905550565b6114f383838360405180602001604052806000815250612222565b505050565b6002600954141561153e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153590614430565b60405180910390fd5b6002600981905550600f60029054906101000a900460ff16611595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158c906142b0565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611603576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fa90614330565b60405180910390fd5b6012548161160f610e9f565b611619919061453b565b111561165a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165190614370565b60405180910390fd5b600e5481601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201546116ab919061453b565b11156116ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e3906143d0565b60405180910390fd5b806011546116fa9190614591565b34101561173c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173390614350565b60405180910390fd5b6117463382612d9b565b80601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154611794919061453b565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020181905550600160098190555050565b6117ed612d77565b73ffffffffffffffffffffffffffffffffffffffff1661180b611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614611861576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185890614310565b60405180910390fd5b80600d5414156118a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189d90614390565b60405180910390fd5b80600d8190555050565b60006118bb82612ca1565b9050919050565b60105481565b6118d0612d77565b73ffffffffffffffffffffffffffffffffffffffff166118ee611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614611944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193b90614310565b60405180910390fd5b601254811415611989576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611980906143f0565b60405180910390fd5b8060128190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119fb576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611a54612d77565b73ffffffffffffffffffffffffffffffffffffffff16611a72611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614611ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abf90614310565b60405180910390fd5b611ad26000613163565b565b600d5481565b6000611ae582613229565b9050919050565b611af4612d77565b73ffffffffffffffffffffffffffffffffffffffff16611b12611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614611b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5f90614310565b60405180910390fd5b801515600f60029054906101000a900460ff1615151415611bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb590614290565b60405180910390fd5b80600f60026101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611c0d612d77565b73ffffffffffffffffffffffffffffffffffffffff16611c2b611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614611c81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7890614310565b60405180910390fd5b80600e541415611cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbd90614390565b60405180910390fd5b80600e8190555050565b606060038054611cdf906146ab565b80601f0160208091040260200160405190810160405280929190818152602001828054611d0b906146ab565b8015611d585780601f10611d2d57610100808354040283529160200191611d58565b820191906000526020600020905b815481529060010190602001808311611d3b57829003601f168201915b5050505050905090565b611d6a612d77565b73ffffffffffffffffffffffffffffffffffffffff16611d88611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614611dde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd590614310565b60405180910390fd5b80600b8190555050565b611df0612d6f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e55576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611e62612d6f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f0f612d6f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f5491906141d8565b60405180910390a35050565b60146020528060005260406000206000915090508060000154908060010154908060020154905083565b611f92612d77565b73ffffffffffffffffffffffffffffffffffffffff16611fb0611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614612006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffd90614310565b60405180910390fd5b80600c54141561204b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204290614390565b60405180910390fd5b80600c8190555050565b61205d612d77565b73ffffffffffffffffffffffffffffffffffffffff1661207b611bdb565b73ffffffffffffffffffffffffffffffffffffffff16146120d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c890614310565b60405180910390fd5b801515600f60019054906101000a900460ff1615151415612127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211e90614290565b60405180910390fd5b80600f60016101000a81548160ff02191690831515021790555050565b61214c612d77565b73ffffffffffffffffffffffffffffffffffffffff1661216a611bdb565b73ffffffffffffffffffffffffffffffffffffffff16146121c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b790614310565b60405180910390fd5b806010541415612205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fc90614410565b60405180910390fd5b8060108190555050565b600f60019054906101000a900460ff1681565b61222d848484612db9565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461228f5761225884848484613280565b61228e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600c5481565b600f60029054906101000a900460ff1681565b60606122b982612c42565b6122ef576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006122f96133e0565b905060008151141561231a5760405180602001604052806000815250612345565b8061232484613472565b604051602001612335929190614142565b6040516020818303038152906040525b915050919050565b60026009541415612393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238a90614430565b60405180910390fd5b60026009819055506000336040516020016123ae9190614127565b604051602081830303815290604052805190602001209050600f60009054906101000a900460ff16612415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240c90614250565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247a90614330565b60405180910390fd5b6012548261248f610e9f565b612499919061453b565b11156124da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d190614370565b60405180910390fd5b600c5482601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015461252b919061453b565b111561256c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612563906143d0565b60405180910390fd5b6125ba848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a5483612d84565b6125f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f0906142d0565b60405180910390fd5b6126033383612d9b565b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154612651919061453b565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000181905550506001600981905550505050565b601380546126b2906146ab565b80601f01602080910402602001604051908101604052809291908181526020018280546126de906146ab565b801561272b5780601f106127005761010080835404028352916020019161272b565b820191906000526020600020905b81548152906001019060200180831161270e57829003601f168201915b505050505081565b60125481565b612741612d77565b73ffffffffffffffffffffffffffffffffffffffff1661275f611bdb565b73ffffffffffffffffffffffffffffffffffffffff16146127b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ac90614310565b60405180910390fd5b801515600f60009054906101000a900460ff161515141561280b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280290614290565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b600a5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6128ca612d77565b73ffffffffffffffffffffffffffffffffffffffff166128e8611bdb565b73ffffffffffffffffffffffffffffffffffffffff161461293e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293590614310565b60405180910390fd5b806011541415612983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297a90614410565b60405180910390fd5b8060118190555050565b600f60009054906101000a900460ff1681565b600260095414156129e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dd90614430565b60405180910390fd5b60026009819055506129f6612d77565b73ffffffffffffffffffffffffffffffffffffffff16612a14611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614612a6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6190614310565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612acf90614270565b60405180910390fd5b60125481612ae4610e9f565b612aee919061453b565b1115612b2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2690614370565b60405180910390fd5b612b393382612d9b565b600160098190555050565b612b4c612d77565b73ffffffffffffffffffffffffffffffffffffffff16612b6a611bdb565b73ffffffffffffffffffffffffffffffffffffffff1614612bc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb790614310565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2790614230565b60405180910390fd5b612c3981613163565b50565b600b5481565b600081612c4d612d7f565b11158015612c5c575060005482105b8015612c9a575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080612cb0612d7f565b11612d3857600054811015612d375760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612d35575b6000811415612d2b576004600083600190039350838152602001908152602001600020549050612d00565b8092505050612d6a565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b600090565b600082612d9185846134cc565b1490509392505050565b612db5828260405180602001604052806000815250613541565b5050565b6000612dc482612ca1565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612e2b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612e4c612d6f565b73ffffffffffffffffffffffffffffffffffffffff161480612e7b5750612e7a85612e75612d6f565b61282e565b5b80612ec05750612e89612d6f565b73ffffffffffffffffffffffffffffffffffffffff16612ea884610bf0565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612ef9576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612f60576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f6d85858560016137f6565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b61306a866137fc565b1717600460008581526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000831614156130f45760006001840190506000600460008381526020019081526020016000205414156130f25760005481146130f1578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461315c8585856001613806565b5050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132a6612d6f565b8786866040518563ffffffff1660e01b81526004016132c8949392919061418c565b602060405180830381600087803b1580156132e257600080fd5b505af192505050801561331357506040513d601f19601f820116820180604052508101906133109190613d14565b60015b61338d573d8060008114613343576040519150601f19603f3d011682016040523d82523d6000602084013e613348565b606091505b50600081511415613385576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060601380546133ef906146ab565b80601f016020809104026020016040519081016040528092919081815260200182805461341b906146ab565b80156134685780601f1061343d57610100808354040283529160200191613468565b820191906000526020600020905b81548152906001019060200180831161344b57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156134b857600183039250600a81066030018353600a81049050613498565b508181036020830392508083525050919050565b60008082905060005b84518110156135365760008582815181106134f3576134f26147d9565b5b602002602001015190508083116135155761350e838261380c565b9250613522565b61351f818461380c565b92505b50808061352e9061470e565b9150506134d5565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156135ae576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156135e9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6135f660008583866137f6565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e161365b60018514613823565b901b60a042901b61366b866137fc565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b1461376f575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461371f6000878480600101955087613280565b613755576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106136b057826000541461376a57600080fd5b6137da565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613770575b8160008190555050506137f06000858386613806565b50505050565b50505050565b6000819050919050565b50505050565b600082600052816020526040600020905092915050565b6000819050919050565b828054613839906146ab565b90600052602060002090601f01602090048101928261385b57600085556138a2565b82601f1061387457803560ff19168380011785556138a2565b828001600101855582156138a2579182015b828111156138a1578235825591602001919060010190613886565b5b5090506138af91906138b3565b5090565b5b808211156138cc5760008160009055506001016138b4565b5090565b60006138e36138de846144c7565b6144a2565b9050828152602081018484840111156138ff576138fe614846565b5b61390a848285614669565b509392505050565b60008135905061392181614c13565b92915050565b60008083601f84011261393d5761393c61483c565b5b8235905067ffffffffffffffff81111561395a57613959614837565b5b60208301915083602082028301111561397657613975614841565b5b9250929050565b60008135905061398c81614c2a565b92915050565b6000813590506139a181614c41565b92915050565b6000813590506139b681614c58565b92915050565b6000815190506139cb81614c58565b92915050565b600082601f8301126139e6576139e561483c565b5b81356139f68482602086016138d0565b91505092915050565b60008083601f840112613a1557613a1461483c565b5b8235905067ffffffffffffffff811115613a3257613a31614837565b5b602083019150836001820283011115613a4e57613a4d614841565b5b9250929050565b600081359050613a6481614c6f565b92915050565b600060208284031215613a8057613a7f614850565b5b6000613a8e84828501613912565b91505092915050565b60008060408385031215613aae57613aad614850565b5b6000613abc85828601613912565b9250506020613acd85828601613912565b9150509250929050565b600080600060608486031215613af057613aef614850565b5b6000613afe86828701613912565b9350506020613b0f86828701613912565b9250506040613b2086828701613a55565b9150509250925092565b60008060008060808587031215613b4457613b43614850565b5b6000613b5287828801613912565b9450506020613b6387828801613912565b9350506040613b7487828801613a55565b925050606085013567ffffffffffffffff811115613b9557613b9461484b565b5b613ba1878288016139d1565b91505092959194509250565b60008060408385031215613bc457613bc3614850565b5b6000613bd285828601613912565b9250506020613be38582860161397d565b9150509250929050565b60008060408385031215613c0457613c03614850565b5b6000613c1285828601613912565b9250506020613c2385828601613a55565b9150509250929050565b600080600060408486031215613c4657613c45614850565b5b600084013567ffffffffffffffff811115613c6457613c6361484b565b5b613c7086828701613927565b93509350506020613c8386828701613a55565b9150509250925092565b600060208284031215613ca357613ca2614850565b5b6000613cb18482850161397d565b91505092915050565b600060208284031215613cd057613ccf614850565b5b6000613cde84828501613992565b91505092915050565b600060208284031215613cfd57613cfc614850565b5b6000613d0b848285016139a7565b91505092915050565b600060208284031215613d2a57613d29614850565b5b6000613d38848285016139bc565b91505092915050565b60008060208385031215613d5857613d57614850565b5b600083013567ffffffffffffffff811115613d7657613d7561484b565b5b613d82858286016139ff565b92509250509250929050565b600060208284031215613da457613da3614850565b5b6000613db284828501613a55565b91505092915050565b613dc4816145eb565b82525050565b613ddb613dd6826145eb565b614757565b82525050565b613dea816145fd565b82525050565b613df981614609565b82525050565b6000613e0a826144f8565b613e14818561450e565b9350613e24818560208601614678565b613e2d81614855565b840191505092915050565b6000613e4382614503565b613e4d818561451f565b9350613e5d818560208601614678565b613e6681614855565b840191505092915050565b6000613e7c82614503565b613e868185614530565b9350613e96818560208601614678565b80840191505092915050565b6000613eaf60268361451f565b9150613eba82614873565b604082019050919050565b6000613ed260218361451f565b9150613edd826148c2565b604082019050919050565b6000613ef5600f8361451f565b9150613f0082614911565b602082019050919050565b6000613f18600e8361451f565b9150613f238261493a565b602082019050919050565b6000613f3b60138361451f565b9150613f4682614963565b602082019050919050565b6000613f5e600d8361451f565b9150613f698261498c565b602082019050919050565b6000613f81600c8361451f565b9150613f8c826149b5565b602082019050919050565b6000613fa4600583614530565b9150613faf826149de565b600582019050919050565b6000613fc760208361451f565b9150613fd282614a07565b602082019050919050565b6000613fea600f8361451f565b9150613ff582614a30565b602082019050919050565b600061400d60118361451f565b915061401882614a59565b602082019050919050565b600061403060168361451f565b915061403b82614a82565b602082019050919050565b600061405360298361451f565b915061405e82614aab565b604082019050919050565b600061407660218361451f565b915061408182614afa565b604082019050919050565b600061409960218361451f565b91506140a482614b49565b604082019050919050565b60006140bc600e8361451f565b91506140c782614b98565b602082019050919050565b60006140df600d8361451f565b91506140ea82614bc1565b602082019050919050565b6000614102601f8361451f565b915061410d82614bea565b602082019050919050565b6141218161465f565b82525050565b60006141338284613dca565b60148201915081905092915050565b600061414e8285613e71565b915061415a8284613e71565b915061416582613f97565b91508190509392505050565b60006020820190506141866000830184613dbb565b92915050565b60006080820190506141a16000830187613dbb565b6141ae6020830186613dbb565b6141bb6040830185614118565b81810360608301526141cd8184613dff565b905095945050505050565b60006020820190506141ed6000830184613de1565b92915050565b60006020820190506142086000830184613df0565b92915050565b600060208201905081810360008301526142288184613e38565b905092915050565b6000602082019050818103600083015261424981613ea2565b9050919050565b6000602082019050818103600083015261426981613ec5565b9050919050565b6000602082019050818103600083015261428981613ee8565b9050919050565b600060208201905081810360008301526142a981613f0b565b9050919050565b600060208201905081810360008301526142c981613f2e565b9050919050565b600060208201905081810360008301526142e981613f51565b9050919050565b6000602082019050818103600083015261430981613f74565b9050919050565b6000602082019050818103600083015261432981613fba565b9050919050565b6000602082019050818103600083015261434981613fdd565b9050919050565b6000602082019050818103600083015261436981614000565b9050919050565b6000602082019050818103600083015261438981614023565b9050919050565b600060208201905081810360008301526143a981614046565b9050919050565b600060208201905081810360008301526143c981614069565b9050919050565b600060208201905081810360008301526143e98161408c565b9050919050565b60006020820190508181036000830152614409816140af565b9050919050565b60006020820190508181036000830152614429816140d2565b9050919050565b60006020820190508181036000830152614449816140f5565b9050919050565b60006020820190506144656000830184614118565b92915050565b60006060820190506144806000830186614118565b61448d6020830185614118565b61449a6040830184614118565b949350505050565b60006144ac6144bd565b90506144b882826146dd565b919050565b6000604051905090565b600067ffffffffffffffff8211156144e2576144e1614808565b5b6144eb82614855565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006145468261465f565b91506145518361465f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145865761458561477b565b5b828201905092915050565b600061459c8261465f565b91506145a78361465f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145e0576145df61477b565b5b828202905092915050565b60006145f68261463f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561469657808201518184015260208101905061467b565b838111156146a5576000848401525b50505050565b600060028204905060018216806146c357607f821691505b602082108114156146d7576146d66147aa565b5b50919050565b6146e682614855565b810181811067ffffffffffffffff8211171561470557614704614808565b5b80604052505050565b60006147198261465f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561474c5761474b61477b565b5b600182019050919050565b600061476282614769565b9050919050565b600061477482614866565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5072652d73616c65206261746368206f6e65206973206e6f7420656e61626c6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f436f6e74726163742044656e6965640000000000000000000000000000000000600082015250565b7f496e76616c696420737461747573000000000000000000000000000000000000600082015250565b7f53616c65206973206e6f7420656e61626c656400000000000000000000000000600082015250565b7f50726f6f6620496e76616c696400000000000000000000000000000000000000600082015250565b7f42616c616e636520697320300000000000000000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f436f6e74726163742064656e6965640000000000000000000000000000000000600082015250565b7f56616c75652062656c6f77207072696365000000000000000000000000000000600082015250565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b7f4e6577206c696d6974206973207468652073616d65206173207468652065786960008201527f7374696e67206f6e650000000000000000000000000000000000000000000000602082015250565b7f5072652d73616c652062617463682074776f206973206e6f7420656e61626c6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178206d696e74206c696d6974207065722077616c6c6560008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c696420737570706c79000000000000000000000000000000000000600082015250565b7f496e76616c696420707269636500000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b614c1c816145eb565b8114614c2757600080fd5b50565b614c33816145fd565b8114614c3e57600080fd5b50565b614c4a81614609565b8114614c5557600080fd5b50565b614c6181614613565b8114614c6c57600080fd5b50565b614c788161465f565b8114614c8357600080fd5b5056fea2646970667358221220a1578ba21ec6c776a6d8037b784df2b4443d1e2f3186b2352f9c3a1f7b8d72f364736f6c63430008070033

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.