ETH Price: $2,646.31 (+1.30%)

Token

Degen Mood Swings (DMS)
 

Overview

Max Total Supply

153 DMS

Holders

27

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 DMS
0x780ca3a3980c0ba5dc9c9fe332b99f74ccacb6c8
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:
DegenMoodSwings

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract DegenMoodSwings is ERC721A, Ownable, ReentrancyGuard {
    using Strings for uint256;
    uint256 price;
    uint256 _maxSupply;
    uint256 maxMintAmountPerTx;
    uint256 maxMintAmountPerWallet;
    uint256 maxFree;
    uint256 maxperAddressFreeLimit;

    string baseURL = ""; // base uri for meta data
    string ExtensionURL = ".json";

    bool paused = false; // by default contract is paused

    mapping(address => uint256) public addressFreeMintedBalance; // to keep track of free minted balance per address

    constructor(
        uint256 _price,
        uint256 __maxSupply,
        string memory _initBaseURI,
        uint256 _maxMintAmountPerTx,
        uint256 _maxMintAmountPerWallet,
        uint256 _maxFree,
        uint256 _maxperAddressFreeLimit
    ) ERC721A("Degen Mood Swings", "DMS") {
        baseURL = _initBaseURI; // setting cloud ipfs address
        price = _price; // setting price of token
        _maxSupply = __maxSupply;   // setting max supply of token
        maxMintAmountPerTx = _maxMintAmountPerTx; // setting max mint amount per tx
        maxMintAmountPerWallet = _maxMintAmountPerWallet; // setting max mint amount per wallet
        maxFree = _maxFree; // setting max free mint amount per address
        maxperAddressFreeLimit = _maxperAddressFreeLimit; // setting max free mint amount per address
    }

    // ================== Mint Function =======================

    function mint(uint256 _mintAmount) public payable nonReentrant {
        require(!paused, "The contract is paused!"); // check if contract is paused
        // check if mint amount is greater than max mint amount per tx
        require(
            _mintAmount > 0 && _mintAmount <= maxMintAmountPerTx ,
            "Invalid mint amount!"
        ); 
        // check if mint amount is greater than max supply
        require(
            totalSupply() + _mintAmount <= _maxSupply,
            "Max supply exceeded!"
        );
        // check if address has sufficient balance to mint
        require(
            msg.value >= price * _mintAmount,
            "You dont have enough funds!"
        );
        // check if address has already minted max amount
        require(
            balanceOf(msg.sender) + _mintAmount <= maxMintAmountPerWallet,
            "Max mint per wallet exceeded!"
        );
        _safeMint(msg.sender, _mintAmount);
    }

    function MintFree(uint256 _mintAmount) public payable nonReentrant {
        uint256 s = totalSupply();
        uint256 addressFreeMintedCount = addressFreeMintedBalance[msg.sender]; // get free minted balance of address
        require(!paused, "The contract is paused!"); // check if contract is paused
        // check if mint amount is greater than max free mint amount per tx
        require(
            addressFreeMintedCount + _mintAmount <= maxperAddressFreeLimit,
            "max NFT per address exceeded"
        );
        require(_mintAmount > 0, "Cant mint 0");
        require(s + _mintAmount <= maxFree, "Cant go over supply");
        for (uint256 i = 0; i < _mintAmount; ++i) {
            addressFreeMintedBalance[msg.sender]++; // increment free minted balance of token address
        }
        _safeMint(msg.sender, _mintAmount);
        delete s;
        delete addressFreeMintedCount;
    }

    // ================== (Owner Only) ===============

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

    function safeMint(address to, uint256 quantity) public onlyOwner {
        _safeMint(to, quantity);
    }

    function setbaseURL(string memory uri) public onlyOwner {
        baseURL = uri;
    }

    function setExtensionURL(string memory uri) public onlyOwner {
        ExtensionURL = uri;
    }

    function setCostPrice(uint256 _cost) public onlyOwner {
        price = _cost;
    }

    function setSupply(uint256 supply) public onlyOwner {
        _maxSupply = supply;
    }

    // ================================ Withdraw Function ====================

    function withdraw() public onlyOwner nonReentrant {
        uint256 CurrentContractBalance = address(this).balance;
        (bool success, ) = payable(owner()).call{value: CurrentContractBalance}("");
        require(success, "Withdraw failed!");
    }
    
    // =================== (View Only) ====================

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

        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        tokenId.toString(),
                        ExtensionURL
                    )
                )
                : "";
    }

    function cost() public view returns (uint256) {
        return price;
    }

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

    function maxSupply() public view returns (uint256) {
        return _maxSupply;
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

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

File 4 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 5 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 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":[{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"__maxSupply","type":"uint256"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerWallet","type":"uint256"},{"internalType":"uint256","name":"_maxFree","type":"uint256"},{"internalType":"uint256","name":"_maxperAddressFreeLimit","type":"uint256"}],"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":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"MintFree","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressFreeMintedBalance","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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"safeMint","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":"uint256","name":"_cost","type":"uint256"}],"name":"setCostPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setExtensionURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setbaseURL","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180602001604052806000815250601090805190602001906200002b929190620002c9565b506040518060400160405280600581526020017f2e6a736f6e0000000000000000000000000000000000000000000000000000008152506011908051906020019062000079929190620002c9565b506000601260006101000a81548160ff021916908315150217905550348015620000a257600080fd5b5060405162003e8e38038062003e8e8339818101604052810190620000c8919062000551565b6040518060400160405280601181526020017f446567656e204d6f6f64205377696e67730000000000000000000000000000008152506040518060400160405280600381526020017f444d53000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200014c929190620002c9565b50806003908051906020019062000165929190620002c9565b5062000176620001f660201b60201c565b60008190555050506200019e62000192620001fb60201b60201c565b6200020360201b60201c565b60016009819055508460109080519060200190620001be929190620002c9565b5086600a8190555085600b8190555083600c8190555082600d8190555081600e8190555080600f819055505050505050505062000687565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002d79062000652565b90600052602060002090601f016020900481019282620002fb576000855562000347565b82601f106200031657805160ff191683800117855562000347565b8280016001018555821562000347579182015b828111156200034657825182559160200191906001019062000329565b5b5090506200035691906200035a565b5090565b5b80821115620003755760008160009055506001016200035b565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b620003a2816200038d565b8114620003ae57600080fd5b50565b600081519050620003c28162000397565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200041d82620003d2565b810181811067ffffffffffffffff821117156200043f576200043e620003e3565b5b80604052505050565b60006200045462000379565b905062000462828262000412565b919050565b600067ffffffffffffffff821115620004855762000484620003e3565b5b6200049082620003d2565b9050602081019050919050565b60005b83811015620004bd578082015181840152602081019050620004a0565b83811115620004cd576000848401525b50505050565b6000620004ea620004e48462000467565b62000448565b905082815260208101848484011115620005095762000508620003cd565b5b620005168482856200049d565b509392505050565b600082601f830112620005365762000535620003c8565b5b815162000548848260208601620004d3565b91505092915050565b600080600080600080600060e0888a03121562000573576200057262000383565b5b6000620005838a828b01620003b1565b9750506020620005968a828b01620003b1565b965050604088015167ffffffffffffffff811115620005ba57620005b962000388565b5b620005c88a828b016200051e565b9550506060620005db8a828b01620003b1565b9450506080620005ee8a828b01620003b1565b93505060a0620006018a828b01620003b1565b92505060c0620006148a828b01620003b1565b91505092959891949750929550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200066b57607f821691505b60208210810362000681576200068062000623565b5b50919050565b6137f780620006976000396000f3fe6080604052600436106101c25760003560e01c8063676f2602116100f7578063a144819411610095578063c87b56dd11610064578063c87b56dd146105f8578063d5abeb0114610635578063e985e9c514610660578063f2fde38b1461069d576101c2565b8063a144819414610561578063a22cb4651461058a578063ad6ac81b146105b3578063b88d4fde146105cf576101c2565b80637c6b172d116100d15780637c6b172d146104b25780638da5cb5b146104ef57806395d89b411461051a578063a0712d6814610545576101c2565b8063676f26021461043557806370a082311461045e578063715018a61461049b576101c2565b806323b872dd1161016457806342842e0e1161013e57806342842e0e1461037d5780634d534a7d146103a6578063626ab3b8146103cf5780636352211e146103f8576101c2565b806323b872dd146103145780633b4c4b251461033d5780633ccfd60b14610366576101c2565b8063081812fc116101a0578063081812fc14610258578063095ea7b31461029557806313faede6146102be57806318160ddd146102e9576101c2565b806301ffc9a7146101c757806302329a291461020457806306fdde031461022d575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e991906126e6565b6106c6565b6040516101fb919061272e565b60405180910390f35b34801561021057600080fd5b5061022b60048036038101906102269190612775565b610758565b005b34801561023957600080fd5b506102426107f1565b60405161024f919061283b565b60405180910390f35b34801561026457600080fd5b5061027f600480360381019061027a9190612893565b610883565b60405161028c9190612901565b60405180910390f35b3480156102a157600080fd5b506102bc60048036038101906102b79190612948565b6108ff565b005b3480156102ca57600080fd5b506102d3610aa5565b6040516102e09190612997565b60405180910390f35b3480156102f557600080fd5b506102fe610aaf565b60405161030b9190612997565b60405180910390f35b34801561032057600080fd5b5061033b600480360381019061033691906129b2565b610ac6565b005b34801561034957600080fd5b50610364600480360381019061035f9190612893565b610ad6565b005b34801561037257600080fd5b5061037b610b5c565b005b34801561038957600080fd5b506103a4600480360381019061039f91906129b2565b610ce9565b005b3480156103b257600080fd5b506103cd60048036038101906103c89190612b3a565b610d09565b005b3480156103db57600080fd5b506103f660048036038101906103f19190612b3a565b610d9f565b005b34801561040457600080fd5b5061041f600480360381019061041a9190612893565b610e35565b60405161042c9190612901565b60405180910390f35b34801561044157600080fd5b5061045c60048036038101906104579190612893565b610e47565b005b34801561046a57600080fd5b5061048560048036038101906104809190612b83565b610ecd565b6040516104929190612997565b60405180910390f35b3480156104a757600080fd5b506104b0610f85565b005b3480156104be57600080fd5b506104d960048036038101906104d49190612b83565b61100d565b6040516104e69190612997565b60405180910390f35b3480156104fb57600080fd5b50610504611025565b6040516105119190612901565b60405180910390f35b34801561052657600080fd5b5061052f61104f565b60405161053c919061283b565b60405180910390f35b61055f600480360381019061055a9190612893565b6110e1565b005b34801561056d57600080fd5b5061058860048036038101906105839190612948565b6112e3565b005b34801561059657600080fd5b506105b160048036038101906105ac9190612bb0565b61136d565b005b6105cd60048036038101906105c89190612893565b6114e4565b005b3480156105db57600080fd5b506105f660048036038101906105f19190612c91565b611745565b005b34801561060457600080fd5b5061061f600480360381019061061a9190612893565b6117b8565b60405161062c919061283b565b60405180910390f35b34801561064157600080fd5b5061064a611862565b6040516106579190612997565b60405180910390f35b34801561066c57600080fd5b5061068760048036038101906106829190612d14565b61186c565b604051610694919061272e565b60405180910390f35b3480156106a957600080fd5b506106c460048036038101906106bf9190612b83565b611900565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061072157506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107515750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6107606119f7565b73ffffffffffffffffffffffffffffffffffffffff1661077e611025565b73ffffffffffffffffffffffffffffffffffffffff16146107d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cb90612da0565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b60606002805461080090612def565b80601f016020809104026020016040519081016040528092919081815260200182805461082c90612def565b80156108795780601f1061084e57610100808354040283529160200191610879565b820191906000526020600020905b81548152906001019060200180831161085c57829003601f168201915b5050505050905090565b600061088e826119ff565b6108c4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061090a82611a5e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610971576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610990611b2a565b73ffffffffffffffffffffffffffffffffffffffff16146109f3576109bc816109b7611b2a565b61186c565b6109f2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600a54905090565b6000610ab9611b32565b6001546000540303905090565b610ad1838383611b37565b505050565b610ade6119f7565b73ffffffffffffffffffffffffffffffffffffffff16610afc611025565b73ffffffffffffffffffffffffffffffffffffffff1614610b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4990612da0565b60405180910390fd5b80600b8190555050565b610b646119f7565b73ffffffffffffffffffffffffffffffffffffffff16610b82611025565b73ffffffffffffffffffffffffffffffffffffffff1614610bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcf90612da0565b60405180910390fd5b600260095403610c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1490612e6c565b60405180910390fd5b600260098190555060004790506000610c34611025565b73ffffffffffffffffffffffffffffffffffffffff1682604051610c5790612ebd565b60006040518083038185875af1925050503d8060008114610c94576040519150601f19603f3d011682016040523d82523d6000602084013e610c99565b606091505b5050905080610cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd490612f1e565b60405180910390fd5b50506001600981905550565b610d0483838360405180602001604052806000815250611745565b505050565b610d116119f7565b73ffffffffffffffffffffffffffffffffffffffff16610d2f611025565b73ffffffffffffffffffffffffffffffffffffffff1614610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c90612da0565b60405180910390fd5b8060119080519060200190610d9b9291906125d7565b5050565b610da76119f7565b73ffffffffffffffffffffffffffffffffffffffff16610dc5611025565b73ffffffffffffffffffffffffffffffffffffffff1614610e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1290612da0565b60405180910390fd5b8060109080519060200190610e319291906125d7565b5050565b6000610e4082611a5e565b9050919050565b610e4f6119f7565b73ffffffffffffffffffffffffffffffffffffffff16610e6d611025565b73ffffffffffffffffffffffffffffffffffffffff1614610ec3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eba90612da0565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f34576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610f8d6119f7565b73ffffffffffffffffffffffffffffffffffffffff16610fab611025565b73ffffffffffffffffffffffffffffffffffffffff1614611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff890612da0565b60405180910390fd5b61100b6000611ede565b565b60136020528060005260406000206000915090505481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461105e90612def565b80601f016020809104026020016040519081016040528092919081815260200182805461108a90612def565b80156110d75780601f106110ac576101008083540402835291602001916110d7565b820191906000526020600020905b8154815290600101906020018083116110ba57829003601f168201915b5050505050905090565b600260095403611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90612e6c565b60405180910390fd5b6002600981905550601260009054906101000a900460ff161561117e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117590612f8a565b60405180910390fd5b6000811180156111905750600c548111155b6111cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c690612ff6565b60405180910390fd5b600b54816111db610aaf565b6111e59190613045565b1115611226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121d906130e7565b60405180910390fd5b80600a546112349190613107565b341015611276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126d906131ad565b60405180910390fd5b600d548161128333610ecd565b61128d9190613045565b11156112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c590613219565b60405180910390fd5b6112d83382611fa4565b600160098190555050565b6112eb6119f7565b73ffffffffffffffffffffffffffffffffffffffff16611309611025565b73ffffffffffffffffffffffffffffffffffffffff161461135f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135690612da0565b60405180910390fd5b6113698282611fa4565b5050565b611375611b2a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113d9576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006113e6611b2a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611493611b2a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114d8919061272e565b60405180910390a35050565b600260095403611529576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152090612e6c565b60405180910390fd5b6002600981905550600061153b610aaf565b90506000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601260009054906101000a900460ff16156115d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c890612f8a565b60405180910390fd5b600f5483826115e09190613045565b1115611621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161890613285565b60405180910390fd5b60008311611664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165b906132f1565b60405180910390fd5b600e5483836116739190613045565b11156116b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ab9061335d565b60405180910390fd5b60005b8381101561172557601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061170f9061337d565b91905055508061171e9061337d565b90506116b7565b506117303384611fa4565b60009150600090505050600160098190555050565b611750848484611b37565b60008373ffffffffffffffffffffffffffffffffffffffff163b146117b25761177b84848484611fc2565b6117b1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606117c3826119ff565b611802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f990613437565b60405180910390fd5b600061180c612112565b9050600081511161182c576040518060200160405280600081525061185a565b80611836846121a4565b601160405160200161184a93929190613527565b6040516020818303038152906040525b915050919050565b6000600b54905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119086119f7565b73ffffffffffffffffffffffffffffffffffffffff16611926611025565b73ffffffffffffffffffffffffffffffffffffffff161461197c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197390612da0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e2906135ca565b60405180910390fd5b6119f481611ede565b50565b600033905090565b600081611a0a611b32565b11158015611a19575060005482105b8015611a57575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080611a6d611b32565b11611af357600054811015611af25760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611af0575b60008103611ae6576004600083600190039350838152602001908152602001600020549050611abc565b8092505050611b25565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b6000611b4282611a5e565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611ba9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611bca611b2a565b73ffffffffffffffffffffffffffffffffffffffff161480611bf95750611bf885611bf3611b2a565b61186c565b5b80611c3e5750611c07611b2a565b73ffffffffffffffffffffffffffffffffffffffff16611c2684610883565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611c77576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611cdd576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cea8585856001612304565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611de78661230a565b1717600460008581526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000831603611e6f5760006001840190506000600460008381526020019081526020016000205403611e6d576000548114611e6c578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ed78585856001612314565b5050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611fbe82826040518060200160405280600081525061231a565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611fe8611b2a565b8786866040518563ffffffff1660e01b815260040161200a949392919061363f565b6020604051808303816000875af192505050801561204657506040513d601f19601f8201168201806040525081019061204391906136a0565b60015b6120bf573d8060008114612076576040519150601f19603f3d011682016040523d82523d6000602084013e61207b565b606091505b5060008151036120b7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606010805461212190612def565b80601f016020809104026020016040519081016040528092919081815260200182805461214d90612def565b801561219a5780601f1061216f5761010080835404028352916020019161219a565b820191906000526020600020905b81548152906001019060200180831161217d57829003601f168201915b5050505050905090565b6060600082036121eb576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506122ff565b600082905060005b6000821461221d5780806122069061337d565b915050600a8261221691906136fc565b91506121f3565b60008167ffffffffffffffff81111561223957612238612a0f565b5b6040519080825280601f01601f19166020018201604052801561226b5781602001600182028036833780820191505090505b5090505b600085146122f857600182612284919061372d565b9150600a856122939190613761565b603061229f9190613045565b60f81b8183815181106122b5576122b4613792565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122f191906136fc565b945061226f565b8093505050505b919050565b50505050565b6000819050919050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612386576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083036123c0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123cd6000858386612304565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612432600185146125cd565b901b60a042901b6124428661230a565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14612546575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124f66000878480600101955087611fc2565b61252c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061248757826000541461254157600080fd5b6125b1565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612547575b8160008190555050506125c76000858386612314565b50505050565b6000819050919050565b8280546125e390612def565b90600052602060002090601f016020900481019282612605576000855561264c565b82601f1061261e57805160ff191683800117855561264c565b8280016001018555821561264c579182015b8281111561264b578251825591602001919060010190612630565b5b509050612659919061265d565b5090565b5b8082111561267657600081600090555060010161265e565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126c38161268e565b81146126ce57600080fd5b50565b6000813590506126e0816126ba565b92915050565b6000602082840312156126fc576126fb612684565b5b600061270a848285016126d1565b91505092915050565b60008115159050919050565b61272881612713565b82525050565b6000602082019050612743600083018461271f565b92915050565b61275281612713565b811461275d57600080fd5b50565b60008135905061276f81612749565b92915050565b60006020828403121561278b5761278a612684565b5b600061279984828501612760565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156127dc5780820151818401526020810190506127c1565b838111156127eb576000848401525b50505050565b6000601f19601f8301169050919050565b600061280d826127a2565b61281781856127ad565b93506128278185602086016127be565b612830816127f1565b840191505092915050565b600060208201905081810360008301526128558184612802565b905092915050565b6000819050919050565b6128708161285d565b811461287b57600080fd5b50565b60008135905061288d81612867565b92915050565b6000602082840312156128a9576128a8612684565b5b60006128b78482850161287e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006128eb826128c0565b9050919050565b6128fb816128e0565b82525050565b600060208201905061291660008301846128f2565b92915050565b612925816128e0565b811461293057600080fd5b50565b6000813590506129428161291c565b92915050565b6000806040838503121561295f5761295e612684565b5b600061296d85828601612933565b925050602061297e8582860161287e565b9150509250929050565b6129918161285d565b82525050565b60006020820190506129ac6000830184612988565b92915050565b6000806000606084860312156129cb576129ca612684565b5b60006129d986828701612933565b93505060206129ea86828701612933565b92505060406129fb8682870161287e565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a47826127f1565b810181811067ffffffffffffffff82111715612a6657612a65612a0f565b5b80604052505050565b6000612a7961267a565b9050612a858282612a3e565b919050565b600067ffffffffffffffff821115612aa557612aa4612a0f565b5b612aae826127f1565b9050602081019050919050565b82818337600083830152505050565b6000612add612ad884612a8a565b612a6f565b905082815260208101848484011115612af957612af8612a0a565b5b612b04848285612abb565b509392505050565b600082601f830112612b2157612b20612a05565b5b8135612b31848260208601612aca565b91505092915050565b600060208284031215612b5057612b4f612684565b5b600082013567ffffffffffffffff811115612b6e57612b6d612689565b5b612b7a84828501612b0c565b91505092915050565b600060208284031215612b9957612b98612684565b5b6000612ba784828501612933565b91505092915050565b60008060408385031215612bc757612bc6612684565b5b6000612bd585828601612933565b9250506020612be685828601612760565b9150509250929050565b600067ffffffffffffffff821115612c0b57612c0a612a0f565b5b612c14826127f1565b9050602081019050919050565b6000612c34612c2f84612bf0565b612a6f565b905082815260208101848484011115612c5057612c4f612a0a565b5b612c5b848285612abb565b509392505050565b600082601f830112612c7857612c77612a05565b5b8135612c88848260208601612c21565b91505092915050565b60008060008060808587031215612cab57612caa612684565b5b6000612cb987828801612933565b9450506020612cca87828801612933565b9350506040612cdb8782880161287e565b925050606085013567ffffffffffffffff811115612cfc57612cfb612689565b5b612d0887828801612c63565b91505092959194509250565b60008060408385031215612d2b57612d2a612684565b5b6000612d3985828601612933565b9250506020612d4a85828601612933565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612d8a6020836127ad565b9150612d9582612d54565b602082019050919050565b60006020820190508181036000830152612db981612d7d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e0757607f821691505b602082108103612e1a57612e19612dc0565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612e56601f836127ad565b9150612e6182612e20565b602082019050919050565b60006020820190508181036000830152612e8581612e49565b9050919050565b600081905092915050565b50565b6000612ea7600083612e8c565b9150612eb282612e97565b600082019050919050565b6000612ec882612e9a565b9150819050919050565b7f5769746864726177206661696c65642100000000000000000000000000000000600082015250565b6000612f086010836127ad565b9150612f1382612ed2565b602082019050919050565b60006020820190508181036000830152612f3781612efb565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000612f746017836127ad565b9150612f7f82612f3e565b602082019050919050565b60006020820190508181036000830152612fa381612f67565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000612fe06014836127ad565b9150612feb82612faa565b602082019050919050565b6000602082019050818103600083015261300f81612fd3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130508261285d565b915061305b8361285d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156130905761308f613016565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006130d16014836127ad565b91506130dc8261309b565b602082019050919050565b60006020820190508181036000830152613100816130c4565b9050919050565b60006131128261285d565b915061311d8361285d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561315657613155613016565b5b828202905092915050565b7f596f7520646f6e74206861766520656e6f7567682066756e6473210000000000600082015250565b6000613197601b836127ad565b91506131a282613161565b602082019050919050565b600060208201905081810360008301526131c68161318a565b9050919050565b7f4d6178206d696e74207065722077616c6c657420657863656564656421000000600082015250565b6000613203601d836127ad565b915061320e826131cd565b602082019050919050565b60006020820190508181036000830152613232816131f6565b9050919050565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b600061326f601c836127ad565b915061327a82613239565b602082019050919050565b6000602082019050818103600083015261329e81613262565b9050919050565b7f43616e74206d696e742030000000000000000000000000000000000000000000600082015250565b60006132db600b836127ad565b91506132e6826132a5565b602082019050919050565b6000602082019050818103600083015261330a816132ce565b9050919050565b7f43616e7420676f206f76657220737570706c7900000000000000000000000000600082015250565b60006133476013836127ad565b915061335282613311565b602082019050919050565b600060208201905081810360008301526133768161333a565b9050919050565b60006133888261285d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036133ba576133b9613016565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613421602f836127ad565b915061342c826133c5565b604082019050919050565b6000602082019050818103600083015261345081613414565b9050919050565b600081905092915050565b600061346d826127a2565b6134778185613457565b93506134878185602086016127be565b80840191505092915050565b60008190508160005260206000209050919050565b600081546134b581612def565b6134bf8186613457565b945060018216600081146134da57600181146134eb5761351e565b60ff1983168652818601935061351e565b6134f485613493565b60005b83811015613516578154818901526001820191506020810190506134f7565b838801955050505b50505092915050565b60006135338286613462565b915061353f8285613462565b915061354b82846134a8565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006135b46026836127ad565b91506135bf82613558565b604082019050919050565b600060208201905081810360008301526135e3816135a7565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613611826135ea565b61361b81856135f5565b935061362b8185602086016127be565b613634816127f1565b840191505092915050565b600060808201905061365460008301876128f2565b61366160208301866128f2565b61366e6040830185612988565b81810360608301526136808184613606565b905095945050505050565b60008151905061369a816126ba565b92915050565b6000602082840312156136b6576136b5612684565b5b60006136c48482850161368b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006137078261285d565b91506137128361285d565b925082613722576137216136cd565b5b828204905092915050565b60006137388261285d565b91506137438361285d565b92508282101561375657613755613016565b5b828203905092915050565b600061376c8261285d565b91506137778361285d565b925082613787576137866136cd565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220723dabfe46c55ece0f3dcb18cc65322dd7847ac4ff6ca459198110ded405073964736f6c634300080e00330000000000000000000000000000000000000000000000000011c37937e080000000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d657a4b6a334445484c6b793974374d433435674a38417855596f79755a4c55416a325741586b4b44743168362f000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101c25760003560e01c8063676f2602116100f7578063a144819411610095578063c87b56dd11610064578063c87b56dd146105f8578063d5abeb0114610635578063e985e9c514610660578063f2fde38b1461069d576101c2565b8063a144819414610561578063a22cb4651461058a578063ad6ac81b146105b3578063b88d4fde146105cf576101c2565b80637c6b172d116100d15780637c6b172d146104b25780638da5cb5b146104ef57806395d89b411461051a578063a0712d6814610545576101c2565b8063676f26021461043557806370a082311461045e578063715018a61461049b576101c2565b806323b872dd1161016457806342842e0e1161013e57806342842e0e1461037d5780634d534a7d146103a6578063626ab3b8146103cf5780636352211e146103f8576101c2565b806323b872dd146103145780633b4c4b251461033d5780633ccfd60b14610366576101c2565b8063081812fc116101a0578063081812fc14610258578063095ea7b31461029557806313faede6146102be57806318160ddd146102e9576101c2565b806301ffc9a7146101c757806302329a291461020457806306fdde031461022d575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e991906126e6565b6106c6565b6040516101fb919061272e565b60405180910390f35b34801561021057600080fd5b5061022b60048036038101906102269190612775565b610758565b005b34801561023957600080fd5b506102426107f1565b60405161024f919061283b565b60405180910390f35b34801561026457600080fd5b5061027f600480360381019061027a9190612893565b610883565b60405161028c9190612901565b60405180910390f35b3480156102a157600080fd5b506102bc60048036038101906102b79190612948565b6108ff565b005b3480156102ca57600080fd5b506102d3610aa5565b6040516102e09190612997565b60405180910390f35b3480156102f557600080fd5b506102fe610aaf565b60405161030b9190612997565b60405180910390f35b34801561032057600080fd5b5061033b600480360381019061033691906129b2565b610ac6565b005b34801561034957600080fd5b50610364600480360381019061035f9190612893565b610ad6565b005b34801561037257600080fd5b5061037b610b5c565b005b34801561038957600080fd5b506103a4600480360381019061039f91906129b2565b610ce9565b005b3480156103b257600080fd5b506103cd60048036038101906103c89190612b3a565b610d09565b005b3480156103db57600080fd5b506103f660048036038101906103f19190612b3a565b610d9f565b005b34801561040457600080fd5b5061041f600480360381019061041a9190612893565b610e35565b60405161042c9190612901565b60405180910390f35b34801561044157600080fd5b5061045c60048036038101906104579190612893565b610e47565b005b34801561046a57600080fd5b5061048560048036038101906104809190612b83565b610ecd565b6040516104929190612997565b60405180910390f35b3480156104a757600080fd5b506104b0610f85565b005b3480156104be57600080fd5b506104d960048036038101906104d49190612b83565b61100d565b6040516104e69190612997565b60405180910390f35b3480156104fb57600080fd5b50610504611025565b6040516105119190612901565b60405180910390f35b34801561052657600080fd5b5061052f61104f565b60405161053c919061283b565b60405180910390f35b61055f600480360381019061055a9190612893565b6110e1565b005b34801561056d57600080fd5b5061058860048036038101906105839190612948565b6112e3565b005b34801561059657600080fd5b506105b160048036038101906105ac9190612bb0565b61136d565b005b6105cd60048036038101906105c89190612893565b6114e4565b005b3480156105db57600080fd5b506105f660048036038101906105f19190612c91565b611745565b005b34801561060457600080fd5b5061061f600480360381019061061a9190612893565b6117b8565b60405161062c919061283b565b60405180910390f35b34801561064157600080fd5b5061064a611862565b6040516106579190612997565b60405180910390f35b34801561066c57600080fd5b5061068760048036038101906106829190612d14565b61186c565b604051610694919061272e565b60405180910390f35b3480156106a957600080fd5b506106c460048036038101906106bf9190612b83565b611900565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061072157506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107515750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6107606119f7565b73ffffffffffffffffffffffffffffffffffffffff1661077e611025565b73ffffffffffffffffffffffffffffffffffffffff16146107d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cb90612da0565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b60606002805461080090612def565b80601f016020809104026020016040519081016040528092919081815260200182805461082c90612def565b80156108795780601f1061084e57610100808354040283529160200191610879565b820191906000526020600020905b81548152906001019060200180831161085c57829003601f168201915b5050505050905090565b600061088e826119ff565b6108c4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061090a82611a5e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610971576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610990611b2a565b73ffffffffffffffffffffffffffffffffffffffff16146109f3576109bc816109b7611b2a565b61186c565b6109f2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600a54905090565b6000610ab9611b32565b6001546000540303905090565b610ad1838383611b37565b505050565b610ade6119f7565b73ffffffffffffffffffffffffffffffffffffffff16610afc611025565b73ffffffffffffffffffffffffffffffffffffffff1614610b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4990612da0565b60405180910390fd5b80600b8190555050565b610b646119f7565b73ffffffffffffffffffffffffffffffffffffffff16610b82611025565b73ffffffffffffffffffffffffffffffffffffffff1614610bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcf90612da0565b60405180910390fd5b600260095403610c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1490612e6c565b60405180910390fd5b600260098190555060004790506000610c34611025565b73ffffffffffffffffffffffffffffffffffffffff1682604051610c5790612ebd565b60006040518083038185875af1925050503d8060008114610c94576040519150601f19603f3d011682016040523d82523d6000602084013e610c99565b606091505b5050905080610cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd490612f1e565b60405180910390fd5b50506001600981905550565b610d0483838360405180602001604052806000815250611745565b505050565b610d116119f7565b73ffffffffffffffffffffffffffffffffffffffff16610d2f611025565b73ffffffffffffffffffffffffffffffffffffffff1614610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c90612da0565b60405180910390fd5b8060119080519060200190610d9b9291906125d7565b5050565b610da76119f7565b73ffffffffffffffffffffffffffffffffffffffff16610dc5611025565b73ffffffffffffffffffffffffffffffffffffffff1614610e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1290612da0565b60405180910390fd5b8060109080519060200190610e319291906125d7565b5050565b6000610e4082611a5e565b9050919050565b610e4f6119f7565b73ffffffffffffffffffffffffffffffffffffffff16610e6d611025565b73ffffffffffffffffffffffffffffffffffffffff1614610ec3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eba90612da0565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f34576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610f8d6119f7565b73ffffffffffffffffffffffffffffffffffffffff16610fab611025565b73ffffffffffffffffffffffffffffffffffffffff1614611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff890612da0565b60405180910390fd5b61100b6000611ede565b565b60136020528060005260406000206000915090505481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461105e90612def565b80601f016020809104026020016040519081016040528092919081815260200182805461108a90612def565b80156110d75780601f106110ac576101008083540402835291602001916110d7565b820191906000526020600020905b8154815290600101906020018083116110ba57829003601f168201915b5050505050905090565b600260095403611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90612e6c565b60405180910390fd5b6002600981905550601260009054906101000a900460ff161561117e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117590612f8a565b60405180910390fd5b6000811180156111905750600c548111155b6111cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c690612ff6565b60405180910390fd5b600b54816111db610aaf565b6111e59190613045565b1115611226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121d906130e7565b60405180910390fd5b80600a546112349190613107565b341015611276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126d906131ad565b60405180910390fd5b600d548161128333610ecd565b61128d9190613045565b11156112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c590613219565b60405180910390fd5b6112d83382611fa4565b600160098190555050565b6112eb6119f7565b73ffffffffffffffffffffffffffffffffffffffff16611309611025565b73ffffffffffffffffffffffffffffffffffffffff161461135f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135690612da0565b60405180910390fd5b6113698282611fa4565b5050565b611375611b2a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113d9576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006113e6611b2a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611493611b2a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114d8919061272e565b60405180910390a35050565b600260095403611529576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152090612e6c565b60405180910390fd5b6002600981905550600061153b610aaf565b90506000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601260009054906101000a900460ff16156115d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c890612f8a565b60405180910390fd5b600f5483826115e09190613045565b1115611621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161890613285565b60405180910390fd5b60008311611664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165b906132f1565b60405180910390fd5b600e5483836116739190613045565b11156116b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ab9061335d565b60405180910390fd5b60005b8381101561172557601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061170f9061337d565b91905055508061171e9061337d565b90506116b7565b506117303384611fa4565b60009150600090505050600160098190555050565b611750848484611b37565b60008373ffffffffffffffffffffffffffffffffffffffff163b146117b25761177b84848484611fc2565b6117b1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606117c3826119ff565b611802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f990613437565b60405180910390fd5b600061180c612112565b9050600081511161182c576040518060200160405280600081525061185a565b80611836846121a4565b601160405160200161184a93929190613527565b6040516020818303038152906040525b915050919050565b6000600b54905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119086119f7565b73ffffffffffffffffffffffffffffffffffffffff16611926611025565b73ffffffffffffffffffffffffffffffffffffffff161461197c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197390612da0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e2906135ca565b60405180910390fd5b6119f481611ede565b50565b600033905090565b600081611a0a611b32565b11158015611a19575060005482105b8015611a57575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080611a6d611b32565b11611af357600054811015611af25760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611af0575b60008103611ae6576004600083600190039350838152602001908152602001600020549050611abc565b8092505050611b25565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b6000611b4282611a5e565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611ba9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611bca611b2a565b73ffffffffffffffffffffffffffffffffffffffff161480611bf95750611bf885611bf3611b2a565b61186c565b5b80611c3e5750611c07611b2a565b73ffffffffffffffffffffffffffffffffffffffff16611c2684610883565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611c77576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611cdd576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cea8585856001612304565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611de78661230a565b1717600460008581526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000831603611e6f5760006001840190506000600460008381526020019081526020016000205403611e6d576000548114611e6c578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ed78585856001612314565b5050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611fbe82826040518060200160405280600081525061231a565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611fe8611b2a565b8786866040518563ffffffff1660e01b815260040161200a949392919061363f565b6020604051808303816000875af192505050801561204657506040513d601f19601f8201168201806040525081019061204391906136a0565b60015b6120bf573d8060008114612076576040519150601f19603f3d011682016040523d82523d6000602084013e61207b565b606091505b5060008151036120b7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606010805461212190612def565b80601f016020809104026020016040519081016040528092919081815260200182805461214d90612def565b801561219a5780601f1061216f5761010080835404028352916020019161219a565b820191906000526020600020905b81548152906001019060200180831161217d57829003601f168201915b5050505050905090565b6060600082036121eb576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506122ff565b600082905060005b6000821461221d5780806122069061337d565b915050600a8261221691906136fc565b91506121f3565b60008167ffffffffffffffff81111561223957612238612a0f565b5b6040519080825280601f01601f19166020018201604052801561226b5781602001600182028036833780820191505090505b5090505b600085146122f857600182612284919061372d565b9150600a856122939190613761565b603061229f9190613045565b60f81b8183815181106122b5576122b4613792565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122f191906136fc565b945061226f565b8093505050505b919050565b50505050565b6000819050919050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612386576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083036123c0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123cd6000858386612304565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612432600185146125cd565b901b60a042901b6124428661230a565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14612546575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124f66000878480600101955087611fc2565b61252c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061248757826000541461254157600080fd5b6125b1565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612547575b8160008190555050506125c76000858386612314565b50505050565b6000819050919050565b8280546125e390612def565b90600052602060002090601f016020900481019282612605576000855561264c565b82601f1061261e57805160ff191683800117855561264c565b8280016001018555821561264c579182015b8281111561264b578251825591602001919060010190612630565b5b509050612659919061265d565b5090565b5b8082111561267657600081600090555060010161265e565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126c38161268e565b81146126ce57600080fd5b50565b6000813590506126e0816126ba565b92915050565b6000602082840312156126fc576126fb612684565b5b600061270a848285016126d1565b91505092915050565b60008115159050919050565b61272881612713565b82525050565b6000602082019050612743600083018461271f565b92915050565b61275281612713565b811461275d57600080fd5b50565b60008135905061276f81612749565b92915050565b60006020828403121561278b5761278a612684565b5b600061279984828501612760565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156127dc5780820151818401526020810190506127c1565b838111156127eb576000848401525b50505050565b6000601f19601f8301169050919050565b600061280d826127a2565b61281781856127ad565b93506128278185602086016127be565b612830816127f1565b840191505092915050565b600060208201905081810360008301526128558184612802565b905092915050565b6000819050919050565b6128708161285d565b811461287b57600080fd5b50565b60008135905061288d81612867565b92915050565b6000602082840312156128a9576128a8612684565b5b60006128b78482850161287e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006128eb826128c0565b9050919050565b6128fb816128e0565b82525050565b600060208201905061291660008301846128f2565b92915050565b612925816128e0565b811461293057600080fd5b50565b6000813590506129428161291c565b92915050565b6000806040838503121561295f5761295e612684565b5b600061296d85828601612933565b925050602061297e8582860161287e565b9150509250929050565b6129918161285d565b82525050565b60006020820190506129ac6000830184612988565b92915050565b6000806000606084860312156129cb576129ca612684565b5b60006129d986828701612933565b93505060206129ea86828701612933565b92505060406129fb8682870161287e565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a47826127f1565b810181811067ffffffffffffffff82111715612a6657612a65612a0f565b5b80604052505050565b6000612a7961267a565b9050612a858282612a3e565b919050565b600067ffffffffffffffff821115612aa557612aa4612a0f565b5b612aae826127f1565b9050602081019050919050565b82818337600083830152505050565b6000612add612ad884612a8a565b612a6f565b905082815260208101848484011115612af957612af8612a0a565b5b612b04848285612abb565b509392505050565b600082601f830112612b2157612b20612a05565b5b8135612b31848260208601612aca565b91505092915050565b600060208284031215612b5057612b4f612684565b5b600082013567ffffffffffffffff811115612b6e57612b6d612689565b5b612b7a84828501612b0c565b91505092915050565b600060208284031215612b9957612b98612684565b5b6000612ba784828501612933565b91505092915050565b60008060408385031215612bc757612bc6612684565b5b6000612bd585828601612933565b9250506020612be685828601612760565b9150509250929050565b600067ffffffffffffffff821115612c0b57612c0a612a0f565b5b612c14826127f1565b9050602081019050919050565b6000612c34612c2f84612bf0565b612a6f565b905082815260208101848484011115612c5057612c4f612a0a565b5b612c5b848285612abb565b509392505050565b600082601f830112612c7857612c77612a05565b5b8135612c88848260208601612c21565b91505092915050565b60008060008060808587031215612cab57612caa612684565b5b6000612cb987828801612933565b9450506020612cca87828801612933565b9350506040612cdb8782880161287e565b925050606085013567ffffffffffffffff811115612cfc57612cfb612689565b5b612d0887828801612c63565b91505092959194509250565b60008060408385031215612d2b57612d2a612684565b5b6000612d3985828601612933565b9250506020612d4a85828601612933565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612d8a6020836127ad565b9150612d9582612d54565b602082019050919050565b60006020820190508181036000830152612db981612d7d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e0757607f821691505b602082108103612e1a57612e19612dc0565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612e56601f836127ad565b9150612e6182612e20565b602082019050919050565b60006020820190508181036000830152612e8581612e49565b9050919050565b600081905092915050565b50565b6000612ea7600083612e8c565b9150612eb282612e97565b600082019050919050565b6000612ec882612e9a565b9150819050919050565b7f5769746864726177206661696c65642100000000000000000000000000000000600082015250565b6000612f086010836127ad565b9150612f1382612ed2565b602082019050919050565b60006020820190508181036000830152612f3781612efb565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000612f746017836127ad565b9150612f7f82612f3e565b602082019050919050565b60006020820190508181036000830152612fa381612f67565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000612fe06014836127ad565b9150612feb82612faa565b602082019050919050565b6000602082019050818103600083015261300f81612fd3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130508261285d565b915061305b8361285d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156130905761308f613016565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006130d16014836127ad565b91506130dc8261309b565b602082019050919050565b60006020820190508181036000830152613100816130c4565b9050919050565b60006131128261285d565b915061311d8361285d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561315657613155613016565b5b828202905092915050565b7f596f7520646f6e74206861766520656e6f7567682066756e6473210000000000600082015250565b6000613197601b836127ad565b91506131a282613161565b602082019050919050565b600060208201905081810360008301526131c68161318a565b9050919050565b7f4d6178206d696e74207065722077616c6c657420657863656564656421000000600082015250565b6000613203601d836127ad565b915061320e826131cd565b602082019050919050565b60006020820190508181036000830152613232816131f6565b9050919050565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b600061326f601c836127ad565b915061327a82613239565b602082019050919050565b6000602082019050818103600083015261329e81613262565b9050919050565b7f43616e74206d696e742030000000000000000000000000000000000000000000600082015250565b60006132db600b836127ad565b91506132e6826132a5565b602082019050919050565b6000602082019050818103600083015261330a816132ce565b9050919050565b7f43616e7420676f206f76657220737570706c7900000000000000000000000000600082015250565b60006133476013836127ad565b915061335282613311565b602082019050919050565b600060208201905081810360008301526133768161333a565b9050919050565b60006133888261285d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036133ba576133b9613016565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613421602f836127ad565b915061342c826133c5565b604082019050919050565b6000602082019050818103600083015261345081613414565b9050919050565b600081905092915050565b600061346d826127a2565b6134778185613457565b93506134878185602086016127be565b80840191505092915050565b60008190508160005260206000209050919050565b600081546134b581612def565b6134bf8186613457565b945060018216600081146134da57600181146134eb5761351e565b60ff1983168652818601935061351e565b6134f485613493565b60005b83811015613516578154818901526001820191506020810190506134f7565b838801955050505b50505092915050565b60006135338286613462565b915061353f8285613462565b915061354b82846134a8565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006135b46026836127ad565b91506135bf82613558565b604082019050919050565b600060208201905081810360008301526135e3816135a7565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613611826135ea565b61361b81856135f5565b935061362b8185602086016127be565b613634816127f1565b840191505092915050565b600060808201905061365460008301876128f2565b61366160208301866128f2565b61366e6040830185612988565b81810360608301526136808184613606565b905095945050505050565b60008151905061369a816126ba565b92915050565b6000602082840312156136b6576136b5612684565b5b60006136c48482850161368b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006137078261285d565b91506137128361285d565b925082613722576137216136cd565b5b828204905092915050565b60006137388261285d565b91506137438361285d565b92508282101561375657613755613016565b5b828203905092915050565b600061376c8261285d565b91506137778361285d565b925082613787576137866136cd565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220723dabfe46c55ece0f3dcb18cc65322dd7847ac4ff6ca459198110ded405073964736f6c634300080e0033

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

0000000000000000000000000000000000000000000000000011c37937e080000000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d657a4b6a334445484c6b793974374d433435674a38417855596f79755a4c55416a325741586b4b44743168362f000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _price (uint256): 5000000000000000
Arg [1] : __maxSupply (uint256): 3200
Arg [2] : _initBaseURI (string): https://gateway.pinata.cloud/ipfs/QmezKj3DEHLky9t7MC45gJ8AxUYoyuZLUAj2WAXkKDt1h6/
Arg [3] : _maxMintAmountPerTx (uint256): 10
Arg [4] : _maxMintAmountPerWallet (uint256): 20
Arg [5] : _maxFree (uint256): 1000
Arg [6] : _maxperAddressFreeLimit (uint256): 3

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000011c37937e08000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000c80
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [5] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [8] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [9] : 732f516d657a4b6a334445484c6b793974374d433435674a38417855596f7975
Arg [10] : 5a4c55416a325741586b4b44743168362f000000000000000000000000000000


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.