ETH Price: $2,942.06 (-4.09%)
Gas: 2 Gwei

Token

PugsNFT (PamperedPugs)
 

Overview

Max Total Supply

340 PamperedPugs

Holders

255

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
abs90.eth
Balance
1 PamperedPugs
0x5d1566f78607473f386315847c57c0f972ca5ab1
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:
PamperedPugs

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 800 runs

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

pragma solidity ^0.8.11;

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

contract PamperedPugs is Ownable, ERC721AW, ReentrancyGuard {
    uint256 public constant mintLimit = 1;
    uint256 public constant teamAmt = 15;
    uint256 public constant auctionAmt = 5;
    uint256 public constant collectionSize = 345;

    struct SaleConfig {
        uint32 presaleStartTime;
        uint32 publicStartTime;
        uint64 presalePrice;
        uint64 publicPrice;
        bytes32 merkleRoot;
    }

    SaleConfig public saleConfig;

    constructor() ERC721AW('PugsNFT', 'PamperedPugs') {}

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

    function presaleMint(uint256 quantity, bytes32[] calldata proof) external payable callerIsUser {
        SaleConfig memory config = saleConfig;
        uint256 _presaleStartTime = uint256(config.presaleStartTime);
        uint256 _publicStartTime = uint256(config.publicStartTime);
        uint256 totalCost = uint256(config.presalePrice) * quantity;

        bool isPublicActive = _publicStartTime != 0 && block.timestamp >= _publicStartTime;

        require(_presaleStartTime != 0 && !isPublicActive && block.timestamp >= _presaleStartTime, 'presale has not started yet');
        require(_totalMinted() + quantity <= collectionSize - auctionAmt, 'reached max supply');
        require(MerkleProof.verify(proof, config.merkleRoot, keccak256(abi.encodePacked(msg.sender))), 'invalid merkle proof supplied');
        require(_numberPresaleMinted(msg.sender) + quantity <= mintLimit, 'exceeded mint limit for presale');

        _safeMint(msg.sender, quantity, false);
        refundIfOver(totalCost);
    }

    function publicMint(uint256 quantity) external payable callerIsUser {
        uint256 totalCost = uint256(saleConfig.publicPrice) * quantity;
        uint256 _publicStartTime = uint256(saleConfig.publicStartTime);

        require(_publicStartTime != 0 && block.timestamp >= _publicStartTime, 'public sale has not started yet');
        require(_totalMinted() + quantity <= collectionSize - auctionAmt, 'reached max supply');
        require(_numberPublicMinted(msg.sender) + quantity <= mintLimit, 'exceeded mint limit for public sale');

        _safeMint(msg.sender, quantity, true);
        refundIfOver(totalCost);
    }

    // For team, auctions, etc.
    function devMint(uint256 quantity) external onlyOwner {
        require(_totalMinted() + quantity <= teamAmt, 'too many already minted before dev mint');
        _safeMint(msg.sender, quantity, true);
    }

    function refundIfOver(uint256 price) private {
        require(msg.value >= price, 'Need to send more ETH.');
        if (msg.value > price) {
            payable(msg.sender).transfer(msg.value - price);
        }
    }

    function setSaleConfig(
        uint32 _presaleStartTime,
        uint32 _publicStartTime,
        uint64 _presalePrice,
        uint64 _publicPrice,
        bytes32 _merkleRoot
    ) external onlyOwner {
        saleConfig = SaleConfig(
            _presaleStartTime, 
            _publicStartTime, 
            _presalePrice, 
            _publicPrice, 
            _merkleRoot
        );
    }

    function setStartTimes(uint32 _presaleStartTime, uint32 _publicStartTime) external onlyOwner {
        saleConfig.presaleStartTime = _presaleStartTime;
        saleConfig.publicStartTime = _publicStartTime;
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        saleConfig.merkleRoot = _merkleRoot;
    }

    // metadata URI
    string private _baseTokenURI;

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

    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function withdrawMoney() external onlyOwner nonReentrant {
        (bool success, ) = msg.sender.call{value: address(this).balance}('');
        require(success, 'Transfer failed.');
    }

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) {
        return ownershipOf(tokenId);
    }
}

File 2 of 13 : ERC721AW.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs & modified by dylie.eth

pragma solidity ^0.8.11;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @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 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 */
contract ERC721AW is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    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;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // Keeps track of public mint count with minimal overhead for tokenomics.
        uint64 numberPublicMinted;
        // Keeps track of presale mint count with minimal overhead for tokenomics.
        uint64 numberPresaleMinted;
    }

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

    // The number of tokens burned.
    uint256 internal _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 ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 1;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();    
        }
    }

    /**
     * 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 See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    function _numberPublicMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberPublicMinted);
    }

    function _numberPresaleMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberPresaleMinted);
    }

    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberPublicMinted + _addressData[owner].numberPresaleMinted);
    }

    /**
     * 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) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // 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.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

    /**
     * @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, tokenId.toString())) : '';
    }

    /**
     * @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 See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721AW.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

    /**
     * @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 override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), 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 (!_checkOnERC721Received(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 && !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity, bool isPublicSale) internal {
        _safeMint(to, quantity, isPublicSale, '');
    }

    /**
     * @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,
        bool isPublicSale,
        bytes memory _data
    ) internal {
        _mint(to, quantity, isPublicSale, _data, true);
    }

    /**
     * @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,
        bool isPublicSale,
        bytes memory _data,
        bool safe
    ) 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 numberPublicMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        unchecked {
            AddressData memory addressData = _addressData[to];

            addressData.balance += uint64(quantity);
            if (isPublicSale) {
                addressData.numberPublicMinted += uint64(quantity);
            } else {
                addressData.numberPresaleMinted += uint64(quantity);
            }

            _addressData[to] = addressData;
            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }
                updatedIndex++;
            }

            _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 {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a 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 _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert TransferToNonERC721ReceiverImplementer();
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 3 of 13 : 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 4 of 13 : 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 5 of 13 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 6 of 13 : 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 7 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

File 8 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 9 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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 10 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

File 12 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"auctionAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721AW.TokenOwnership","name":"","type":"tuple"}],"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":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleConfig","outputs":[{"internalType":"uint32","name":"presaleStartTime","type":"uint32"},{"internalType":"uint32","name":"publicStartTime","type":"uint32"},{"internalType":"uint64","name":"presalePrice","type":"uint64"},{"internalType":"uint64","name":"publicPrice","type":"uint64"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_presaleStartTime","type":"uint32"},{"internalType":"uint32","name":"_publicStartTime","type":"uint32"},{"internalType":"uint64","name":"_presalePrice","type":"uint64"},{"internalType":"uint64","name":"_publicPrice","type":"uint64"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setSaleConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_presaleStartTime","type":"uint32"},{"internalType":"uint32","name":"_publicStartTime","type":"uint32"}],"name":"setStartTimes","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":[],"name":"teamAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405180604001604052806007815260200166141d59dcd3919560ca1b8152506040518060400160405280600c81526020016b50616d70657265645075677360a01b815250620000716200006b620000ad60201b60201c565b620000b1565b81516200008690600390602085019062000101565b5080516200009c90600490602084019062000101565b5050600180805560095550620001e4565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200010f90620001a7565b90600052602060002090601f0160209004810192826200013357600085556200017e565b82601f106200014e57805160ff19168380011785556200017e565b828001600101855582156200017e579182015b828111156200017e57825182559160200191906001019062000161565b506200018c92915062000190565b5090565b5b808211156200018c576000815560010162000191565b600181811c90821680620001bc57607f821691505b60208210811415620001de57634e487b7160e01b600052602260045260246000fd5b50919050565b61270580620001f46000396000f3fe6080604052600436106101e35760003560e01c80638da5cb5b11610102578063b781b39a11610095578063e3e1e8ef11610064578063e3e1e8ef146105e5578063e985e9c5146105f8578063f2fde38b14610641578063f5c7a9f41461066157600080fd5b8063b781b39a14610565578063b88d4fde14610585578063c87b56dd146105a5578063dc33e681146105c557600080fd5b8063996517cf116100d1578063996517cf14610506578063a22cb4651461051b578063a5b9f9a01461053b578063ac4460021461055057600080fd5b80638da5cb5b146103f357806390aa0b0f146104115780639231ab2a1461049a57806395d89b41146104f157600080fd5b8063375a069a1161017a5780636352211e116101495780636352211e1461037e57806370a082311461039e578063715018a6146103be5780637cb64759146103d357600080fd5b8063375a069a1461030857806342842e0e1461032857806345c0f5331461034857806355f804b31461035e57600080fd5b806318160ddd116101b657806318160ddd1461029957806323b872dd146102c05780632db11544146102e05780633222f42e146102f357600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b506102086102033660046120d4565b610681565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326106d3565b6040516102149190612149565b34801561024b57600080fd5b5061025f61025a36600461215c565b610765565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b50610297610292366004612191565b6107a9565b005b3480156102a557600080fd5b5060025460015403600019015b604051908152602001610214565b3480156102cc57600080fd5b506102976102db3660046121bb565b610837565b6102976102ee36600461215c565b610842565b3480156102ff57600080fd5b506102b2600f81565b34801561031457600080fd5b5061029761032336600461215c565b610a1f565b34801561033457600080fd5b506102976103433660046121bb565b610b16565b34801561035457600080fd5b506102b261015981565b34801561036a57600080fd5b506102976103793660046121f7565b610b31565b34801561038a57600080fd5b5061025f61039936600461215c565b610b97565b3480156103aa57600080fd5b506102b26103b9366004612269565b610ba9565b3480156103ca57600080fd5b50610297610bf8565b3480156103df57600080fd5b506102976103ee36600461215c565b610c5e565b3480156103ff57600080fd5b506000546001600160a01b031661025f565b34801561041d57600080fd5b50600a54600b5461045d9163ffffffff8082169264010000000083049091169167ffffffffffffffff600160401b8204811692600160801b909204169085565b6040805163ffffffff968716815295909416602086015267ffffffffffffffff92831693850193909352166060830152608082015260a001610214565b3480156104a657600080fd5b506104ba6104b536600461215c565b610cbd565b6040805182516001600160a01b0316815260208084015167ffffffffffffffff169082015291810151151590820152606001610214565b3480156104fd57600080fd5b50610232610ce3565b34801561051257600080fd5b506102b2600181565b34801561052757600080fd5b50610297610536366004612284565b610cf2565b34801561054757600080fd5b506102b2600581565b34801561055c57600080fd5b50610297610d88565b34801561057157600080fd5b506102976105803660046122d4565b610eda565b34801561059157600080fd5b506102976105a036600461231d565b610f64565b3480156105b157600080fd5b506102326105c036600461215c565b610f9e565b3480156105d157600080fd5b506102b26105e0366004612269565b611023565b6102976105f33660046123f9565b61102e565b34801561060457600080fd5b50610208610613366004612478565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561064d57600080fd5b5061029761065c366004612269565b611317565b34801561066d57600080fd5b5061029761067c3660046124ba565b6113f6565b60006001600160e01b031982166380ac58cd60e01b14806106b257506001600160e01b03198216635b5e139f60e01b145b806106cd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546106e290612516565b80601f016020809104026020016040519081016040528092919081815260200182805461070e90612516565b801561075b5780601f106107305761010080835404028352916020019161075b565b820191906000526020600020905b81548152906001019060200180831161073e57829003601f168201915b5050505050905090565b600061077082611517565b61078d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006107b482610b97565b9050806001600160a01b0316836001600160a01b031614156107e95760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061080957506108078133610613565b155b15610827576040516367d9dca160e11b815260040160405180910390fd5b610832838383611550565b505050565b6108328383836115b9565b3233146108965760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064015b60405180910390fd5b600a546000906108b8908390600160801b900467ffffffffffffffff16612567565b600a54909150640100000000900463ffffffff1680158015906108db5750804210155b6109275760405162461bcd60e51b815260206004820152601f60248201527f7075626c69632073616c6520686173206e6f7420737461727465642079657400604482015260640161088d565b6109346005610159612586565b836109426001546000190190565b61094c919061259d565b111561099a5760405162461bcd60e51b815260206004820152601260248201527f72656163686564206d617820737570706c790000000000000000000000000000604482015260640161088d565b6001836109a6336117ce565b6109b0919061259d565b1115610a0a5760405162461bcd60e51b815260206004820152602360248201527f6578636565646564206d696e74206c696d697420666f72207075626c69632073604482015262616c6560e81b606482015260840161088d565b610a1633846001611824565b6108328261183f565b6000546001600160a01b03163314610a795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b600f81610a896001546000190190565b610a93919061259d565b1115610b075760405162461bcd60e51b815260206004820152602760248201527f746f6f206d616e7920616c7265616479206d696e746564206265666f7265206460448201527f6576206d696e7400000000000000000000000000000000000000000000000000606482015260840161088d565b610b1333826001611824565b50565b61083283838360405180602001604052806000815250610f64565b6000546001600160a01b03163314610b8b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b610832600c8383612025565b6000610ba2826118d1565b5192915050565b60006001600160a01b038216610bd2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314610c525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b610c5c60006119fa565b565b6000546001600160a01b03163314610cb85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b600b55565b60408051606081018252600080825260208201819052918101919091526106cd826118d1565b6060600480546106e290612516565b6001600160a01b038216331415610d1c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b03163314610de25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b60026009541415610e355760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161088d565b6002600955604051600090339047908381818185875af1925050503d8060008114610e7c576040519150601f19603f3d011682016040523d82523d6000602084013e610e81565b606091505b5050905080610ed25760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e00000000000000000000000000000000604482015260640161088d565b506001600955565b6000546001600160a01b03163314610f345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b600a805463ffffffff9283166401000000000267ffffffffffffffff199091169290931691909117919091179055565b610f6f8484846115b9565b610f7b84848484611a57565b610f98576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610fa982611517565b610fc657604051630a14c4b560e41b815260040160405180910390fd5b6000610fd0611b57565b9050805160001415610ff1576040518060200160405280600081525061101c565b80610ffb84611b66565b60405160200161100c9291906125b5565b6040516020818303038152906040525b9392505050565b60006106cd82611c7c565b32331461107d5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161088d565b6040805160a081018252600a5463ffffffff80821680845264010000000083049091166020840181905267ffffffffffffffff600160401b84048116958501869052600160801b9093049092166060840152600b54608084015291926000906110e7908890612567565b9050600082158015906110fa5750824210155b90508315801590611109575080155b80156111155750834210155b6111615760405162461bcd60e51b815260206004820152601b60248201527f70726573616c6520686173206e6f742073746172746564207965740000000000604482015260640161088d565b61116e6005610159612586565b8861117c6001546000190190565b611186919061259d565b11156111d45760405162461bcd60e51b815260206004820152601260248201527f72656163686564206d617820737570706c790000000000000000000000000000604482015260640161088d565b61124887878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050505060808701516040516bffffffffffffffffffffffff193360601b16602082015260340160405160208183030381529060405280519060200120611cf2565b6112945760405162461bcd60e51b815260206004820152601d60248201527f696e76616c6964206d65726b6c652070726f6f6620737570706c696564000000604482015260640161088d565b6001886112a033611d08565b6112aa919061259d565b11156112f85760405162461bcd60e51b815260206004820152601f60248201527f6578636565646564206d696e74206c696d697420666f722070726573616c6500604482015260640161088d565b61130433896000611824565b61130d8261183f565b5050505050505050565b6000546001600160a01b031633146113715760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b6001600160a01b0381166113ed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161088d565b610b13816119fa565b6000546001600160a01b031633146114505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b6040805160a08101825263ffffffff968716808252959096166020870181905267ffffffffffffffff94851691870182905292909316606086018190526080909501819052600a805467ffffffffffffffff1916909417640100000000909202919091177fffffffffffffffff00000000000000000000000000000000ffffffffffffffff16600160401b9092027fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff1691909117600160801b909302929092179055600b55565b60008160011115801561152b575060015482105b80156106cd575050600090815260056020526040902054600160e01b900460ff161590565b600082815260076020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006115c4826118d1565b80519091506000906001600160a01b0316336001600160a01b031614806115f2575081516115f29033610613565b8061160d57503361160284610765565b6001600160a01b0316145b90508061162d57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146116625760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661168957604051633a954ecd60e21b815260040160405180910390fd5b6116996000848460000151611550565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661178557600154811015611785578251600082815260056020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60006001600160a01b0382166117f7576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260066020526040902054600160801b900467ffffffffffffffff1690565b61083283838360405180602001604052806000815250611d5e565b8034101561188f5760405162461bcd60e51b815260206004820152601660248201527f4e65656420746f2073656e64206d6f7265204554482e00000000000000000000604482015260640161088d565b80341115610b1357336108fc6118a58334612586565b6040518115909202916000818181858888f193505050501580156118cd573d6000803e3d6000fd5b5050565b60408051606081018252600080825260208201819052918101919091528180600111158015611901575060015481105b156119e157600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906119df5780516001600160a01b031615611975579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156119da579392505050565b611975565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b15611b4b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a9b9033908990889088906004016125e4565b6020604051808303816000875af1925050508015611ad6575060408051601f3d908101601f19168201909252611ad391810190612620565b60015b611b31573d808015611b04576040519150601f19603f3d011682016040523d82523d6000602084013e611b09565b606091505b508051611b29576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b4f565b5060015b949350505050565b6060600c80546106e290612516565b606081611b8a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611bb45780611b9e8161263d565b9150611bad9050600a8361266e565b9150611b8e565b60008167ffffffffffffffff811115611bcf57611bcf612307565b6040519080825280601f01601f191660200182016040528015611bf9576020820181803683370190505b5090505b8415611b4f57611c0e600183612586565b9150611c1b600a86612682565b611c2690603061259d565b60f81b818381518110611c3b57611c3b612696565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611c75600a8661266e565b9450611bfd565b60006001600160a01b038216611ca5576040516335ebb31960e01b815260040160405180910390fd5b6001600160a01b038216600090815260066020526040902054611ce29067ffffffffffffffff600160c01b8204811691600160801b9004166126ac565b67ffffffffffffffff1692915050565b600082611cff8584611d6c565b14949350505050565b60006001600160a01b038216611d31576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260066020526040902054600160c01b900467ffffffffffffffff1690565b610f98848484846001611de0565b600081815b8451811015611dd8576000858281518110611d8e57611d8e612696565b60200260200101519050808311611db45760008381526020829052604090209250611dc5565b600081815260208490526040902092505b5080611dd08161263d565b915050611d71565b509392505050565b6001546001600160a01b038616611e0957604051622e076360e81b815260040160405180910390fd5b84611e275760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0386166000908152600660209081526040918290208251608081018452905467ffffffffffffffff600160401b8204811693830193909352600160801b8104831693820193909352600160c01b83048216606082015291811687011681528415611eab57604081018051870167ffffffffffffffff169052611ec0565b606081018051870167ffffffffffffffff1690525b6001600160a01b038716600081815260066020908152604080832085518154878501518885015160608a015167ffffffffffffffff9485166fffffffffffffffffffffffffffffffff1990941693909317600160401b92851692909202919091176fffffffffffffffffffffffffffffffff16600160801b9184169190910277ffffffffffffffffffffffffffffffffffffffffffffffff1617600160c01b91831691909102179091558684526005909252822080546001600160e01b031916909317600160a01b42909216919091021790915582905b878110156120185760405182906001600160a01b038b16906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4848015611fee5750611fec60008a8489611a57565b155b1561200c576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611f97565b5060015550505050505050565b82805461203190612516565b90600052602060002090601f0160209004810192826120535760008555612099565b82601f1061206c5782800160ff19823516178555612099565b82800160010185558215612099579182015b8281111561209957823582559160200191906001019061207e565b506120a59291506120a9565b5090565b5b808211156120a557600081556001016120aa565b6001600160e01b031981168114610b1357600080fd5b6000602082840312156120e657600080fd5b813561101c816120be565b60005b8381101561210c5781810151838201526020016120f4565b83811115610f985750506000910152565b600081518084526121358160208601602086016120f1565b601f01601f19169290920160200192915050565b60208152600061101c602083018461211d565b60006020828403121561216e57600080fd5b5035919050565b80356001600160a01b038116811461218c57600080fd5b919050565b600080604083850312156121a457600080fd5b6121ad83612175565b946020939093013593505050565b6000806000606084860312156121d057600080fd5b6121d984612175565b92506121e760208501612175565b9150604084013590509250925092565b6000806020838503121561220a57600080fd5b823567ffffffffffffffff8082111561222257600080fd5b818501915085601f83011261223657600080fd5b81358181111561224557600080fd5b86602082850101111561225757600080fd5b60209290920196919550909350505050565b60006020828403121561227b57600080fd5b61101c82612175565b6000806040838503121561229757600080fd5b6122a083612175565b9150602083013580151581146122b557600080fd5b809150509250929050565b803563ffffffff8116811461218c57600080fd5b600080604083850312156122e757600080fd5b6122f0836122c0565b91506122fe602084016122c0565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561233357600080fd5b61233c85612175565b935061234a60208601612175565b925060408501359150606085013567ffffffffffffffff8082111561236e57600080fd5b818701915087601f83011261238257600080fd5b81358181111561239457612394612307565b604051601f8201601f19908116603f011681019083821181831017156123bc576123bc612307565b816040528281528a60208487010111156123d557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060006040848603121561240e57600080fd5b83359250602084013567ffffffffffffffff8082111561242d57600080fd5b818601915086601f83011261244157600080fd5b81358181111561245057600080fd5b8760208260051b850101111561246557600080fd5b6020830194508093505050509250925092565b6000806040838503121561248b57600080fd5b61249483612175565b91506122fe60208401612175565b803567ffffffffffffffff8116811461218c57600080fd5b600080600080600060a086880312156124d257600080fd5b6124db866122c0565b94506124e9602087016122c0565b93506124f7604087016124a2565b9250612505606087016124a2565b949793965091946080013592915050565b600181811c9082168061252a57607f821691505b6020821081141561254b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561258157612581612551565b500290565b60008282101561259857612598612551565b500390565b600082198211156125b0576125b0612551565b500190565b600083516125c78184602088016120f1565b8351908301906125db8183602088016120f1565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612616608083018461211d565b9695505050505050565b60006020828403121561263257600080fd5b815161101c816120be565b600060001982141561265157612651612551565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261267d5761267d612658565b500490565b60008261269157612691612658565b500690565b634e487b7160e01b600052603260045260246000fd5b600067ffffffffffffffff8083168185168083038211156125db576125db61255156fea26469706673582212209efcdf0d342453b538f43e1c15c1613d151a20f1824058435f3648eab37cb35d64736f6c634300080b0033

Deployed Bytecode

0x6080604052600436106101e35760003560e01c80638da5cb5b11610102578063b781b39a11610095578063e3e1e8ef11610064578063e3e1e8ef146105e5578063e985e9c5146105f8578063f2fde38b14610641578063f5c7a9f41461066157600080fd5b8063b781b39a14610565578063b88d4fde14610585578063c87b56dd146105a5578063dc33e681146105c557600080fd5b8063996517cf116100d1578063996517cf14610506578063a22cb4651461051b578063a5b9f9a01461053b578063ac4460021461055057600080fd5b80638da5cb5b146103f357806390aa0b0f146104115780639231ab2a1461049a57806395d89b41146104f157600080fd5b8063375a069a1161017a5780636352211e116101495780636352211e1461037e57806370a082311461039e578063715018a6146103be5780637cb64759146103d357600080fd5b8063375a069a1461030857806342842e0e1461032857806345c0f5331461034857806355f804b31461035e57600080fd5b806318160ddd116101b657806318160ddd1461029957806323b872dd146102c05780632db11544146102e05780633222f42e146102f357600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b506102086102033660046120d4565b610681565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326106d3565b6040516102149190612149565b34801561024b57600080fd5b5061025f61025a36600461215c565b610765565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b50610297610292366004612191565b6107a9565b005b3480156102a557600080fd5b5060025460015403600019015b604051908152602001610214565b3480156102cc57600080fd5b506102976102db3660046121bb565b610837565b6102976102ee36600461215c565b610842565b3480156102ff57600080fd5b506102b2600f81565b34801561031457600080fd5b5061029761032336600461215c565b610a1f565b34801561033457600080fd5b506102976103433660046121bb565b610b16565b34801561035457600080fd5b506102b261015981565b34801561036a57600080fd5b506102976103793660046121f7565b610b31565b34801561038a57600080fd5b5061025f61039936600461215c565b610b97565b3480156103aa57600080fd5b506102b26103b9366004612269565b610ba9565b3480156103ca57600080fd5b50610297610bf8565b3480156103df57600080fd5b506102976103ee36600461215c565b610c5e565b3480156103ff57600080fd5b506000546001600160a01b031661025f565b34801561041d57600080fd5b50600a54600b5461045d9163ffffffff8082169264010000000083049091169167ffffffffffffffff600160401b8204811692600160801b909204169085565b6040805163ffffffff968716815295909416602086015267ffffffffffffffff92831693850193909352166060830152608082015260a001610214565b3480156104a657600080fd5b506104ba6104b536600461215c565b610cbd565b6040805182516001600160a01b0316815260208084015167ffffffffffffffff169082015291810151151590820152606001610214565b3480156104fd57600080fd5b50610232610ce3565b34801561051257600080fd5b506102b2600181565b34801561052757600080fd5b50610297610536366004612284565b610cf2565b34801561054757600080fd5b506102b2600581565b34801561055c57600080fd5b50610297610d88565b34801561057157600080fd5b506102976105803660046122d4565b610eda565b34801561059157600080fd5b506102976105a036600461231d565b610f64565b3480156105b157600080fd5b506102326105c036600461215c565b610f9e565b3480156105d157600080fd5b506102b26105e0366004612269565b611023565b6102976105f33660046123f9565b61102e565b34801561060457600080fd5b50610208610613366004612478565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561064d57600080fd5b5061029761065c366004612269565b611317565b34801561066d57600080fd5b5061029761067c3660046124ba565b6113f6565b60006001600160e01b031982166380ac58cd60e01b14806106b257506001600160e01b03198216635b5e139f60e01b145b806106cd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546106e290612516565b80601f016020809104026020016040519081016040528092919081815260200182805461070e90612516565b801561075b5780601f106107305761010080835404028352916020019161075b565b820191906000526020600020905b81548152906001019060200180831161073e57829003601f168201915b5050505050905090565b600061077082611517565b61078d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006107b482610b97565b9050806001600160a01b0316836001600160a01b031614156107e95760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061080957506108078133610613565b155b15610827576040516367d9dca160e11b815260040160405180910390fd5b610832838383611550565b505050565b6108328383836115b9565b3233146108965760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064015b60405180910390fd5b600a546000906108b8908390600160801b900467ffffffffffffffff16612567565b600a54909150640100000000900463ffffffff1680158015906108db5750804210155b6109275760405162461bcd60e51b815260206004820152601f60248201527f7075626c69632073616c6520686173206e6f7420737461727465642079657400604482015260640161088d565b6109346005610159612586565b836109426001546000190190565b61094c919061259d565b111561099a5760405162461bcd60e51b815260206004820152601260248201527f72656163686564206d617820737570706c790000000000000000000000000000604482015260640161088d565b6001836109a6336117ce565b6109b0919061259d565b1115610a0a5760405162461bcd60e51b815260206004820152602360248201527f6578636565646564206d696e74206c696d697420666f72207075626c69632073604482015262616c6560e81b606482015260840161088d565b610a1633846001611824565b6108328261183f565b6000546001600160a01b03163314610a795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b600f81610a896001546000190190565b610a93919061259d565b1115610b075760405162461bcd60e51b815260206004820152602760248201527f746f6f206d616e7920616c7265616479206d696e746564206265666f7265206460448201527f6576206d696e7400000000000000000000000000000000000000000000000000606482015260840161088d565b610b1333826001611824565b50565b61083283838360405180602001604052806000815250610f64565b6000546001600160a01b03163314610b8b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b610832600c8383612025565b6000610ba2826118d1565b5192915050565b60006001600160a01b038216610bd2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314610c525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b610c5c60006119fa565b565b6000546001600160a01b03163314610cb85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b600b55565b60408051606081018252600080825260208201819052918101919091526106cd826118d1565b6060600480546106e290612516565b6001600160a01b038216331415610d1c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b03163314610de25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b60026009541415610e355760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161088d565b6002600955604051600090339047908381818185875af1925050503d8060008114610e7c576040519150601f19603f3d011682016040523d82523d6000602084013e610e81565b606091505b5050905080610ed25760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e00000000000000000000000000000000604482015260640161088d565b506001600955565b6000546001600160a01b03163314610f345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b600a805463ffffffff9283166401000000000267ffffffffffffffff199091169290931691909117919091179055565b610f6f8484846115b9565b610f7b84848484611a57565b610f98576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610fa982611517565b610fc657604051630a14c4b560e41b815260040160405180910390fd5b6000610fd0611b57565b9050805160001415610ff1576040518060200160405280600081525061101c565b80610ffb84611b66565b60405160200161100c9291906125b5565b6040516020818303038152906040525b9392505050565b60006106cd82611c7c565b32331461107d5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161088d565b6040805160a081018252600a5463ffffffff80821680845264010000000083049091166020840181905267ffffffffffffffff600160401b84048116958501869052600160801b9093049092166060840152600b54608084015291926000906110e7908890612567565b9050600082158015906110fa5750824210155b90508315801590611109575080155b80156111155750834210155b6111615760405162461bcd60e51b815260206004820152601b60248201527f70726573616c6520686173206e6f742073746172746564207965740000000000604482015260640161088d565b61116e6005610159612586565b8861117c6001546000190190565b611186919061259d565b11156111d45760405162461bcd60e51b815260206004820152601260248201527f72656163686564206d617820737570706c790000000000000000000000000000604482015260640161088d565b61124887878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050505060808701516040516bffffffffffffffffffffffff193360601b16602082015260340160405160208183030381529060405280519060200120611cf2565b6112945760405162461bcd60e51b815260206004820152601d60248201527f696e76616c6964206d65726b6c652070726f6f6620737570706c696564000000604482015260640161088d565b6001886112a033611d08565b6112aa919061259d565b11156112f85760405162461bcd60e51b815260206004820152601f60248201527f6578636565646564206d696e74206c696d697420666f722070726573616c6500604482015260640161088d565b61130433896000611824565b61130d8261183f565b5050505050505050565b6000546001600160a01b031633146113715760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b6001600160a01b0381166113ed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161088d565b610b13816119fa565b6000546001600160a01b031633146114505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161088d565b6040805160a08101825263ffffffff968716808252959096166020870181905267ffffffffffffffff94851691870182905292909316606086018190526080909501819052600a805467ffffffffffffffff1916909417640100000000909202919091177fffffffffffffffff00000000000000000000000000000000ffffffffffffffff16600160401b9092027fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff1691909117600160801b909302929092179055600b55565b60008160011115801561152b575060015482105b80156106cd575050600090815260056020526040902054600160e01b900460ff161590565b600082815260076020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006115c4826118d1565b80519091506000906001600160a01b0316336001600160a01b031614806115f2575081516115f29033610613565b8061160d57503361160284610765565b6001600160a01b0316145b90508061162d57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146116625760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661168957604051633a954ecd60e21b815260040160405180910390fd5b6116996000848460000151611550565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661178557600154811015611785578251600082815260056020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60006001600160a01b0382166117f7576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260066020526040902054600160801b900467ffffffffffffffff1690565b61083283838360405180602001604052806000815250611d5e565b8034101561188f5760405162461bcd60e51b815260206004820152601660248201527f4e65656420746f2073656e64206d6f7265204554482e00000000000000000000604482015260640161088d565b80341115610b1357336108fc6118a58334612586565b6040518115909202916000818181858888f193505050501580156118cd573d6000803e3d6000fd5b5050565b60408051606081018252600080825260208201819052918101919091528180600111158015611901575060015481105b156119e157600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906119df5780516001600160a01b031615611975579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156119da579392505050565b611975565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b15611b4b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a9b9033908990889088906004016125e4565b6020604051808303816000875af1925050508015611ad6575060408051601f3d908101601f19168201909252611ad391810190612620565b60015b611b31573d808015611b04576040519150601f19603f3d011682016040523d82523d6000602084013e611b09565b606091505b508051611b29576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b4f565b5060015b949350505050565b6060600c80546106e290612516565b606081611b8a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611bb45780611b9e8161263d565b9150611bad9050600a8361266e565b9150611b8e565b60008167ffffffffffffffff811115611bcf57611bcf612307565b6040519080825280601f01601f191660200182016040528015611bf9576020820181803683370190505b5090505b8415611b4f57611c0e600183612586565b9150611c1b600a86612682565b611c2690603061259d565b60f81b818381518110611c3b57611c3b612696565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611c75600a8661266e565b9450611bfd565b60006001600160a01b038216611ca5576040516335ebb31960e01b815260040160405180910390fd5b6001600160a01b038216600090815260066020526040902054611ce29067ffffffffffffffff600160c01b8204811691600160801b9004166126ac565b67ffffffffffffffff1692915050565b600082611cff8584611d6c565b14949350505050565b60006001600160a01b038216611d31576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260066020526040902054600160c01b900467ffffffffffffffff1690565b610f98848484846001611de0565b600081815b8451811015611dd8576000858281518110611d8e57611d8e612696565b60200260200101519050808311611db45760008381526020829052604090209250611dc5565b600081815260208490526040902092505b5080611dd08161263d565b915050611d71565b509392505050565b6001546001600160a01b038616611e0957604051622e076360e81b815260040160405180910390fd5b84611e275760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0386166000908152600660209081526040918290208251608081018452905467ffffffffffffffff600160401b8204811693830193909352600160801b8104831693820193909352600160c01b83048216606082015291811687011681528415611eab57604081018051870167ffffffffffffffff169052611ec0565b606081018051870167ffffffffffffffff1690525b6001600160a01b038716600081815260066020908152604080832085518154878501518885015160608a015167ffffffffffffffff9485166fffffffffffffffffffffffffffffffff1990941693909317600160401b92851692909202919091176fffffffffffffffffffffffffffffffff16600160801b9184169190910277ffffffffffffffffffffffffffffffffffffffffffffffff1617600160c01b91831691909102179091558684526005909252822080546001600160e01b031916909317600160a01b42909216919091021790915582905b878110156120185760405182906001600160a01b038b16906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4848015611fee5750611fec60008a8489611a57565b155b1561200c576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611f97565b5060015550505050505050565b82805461203190612516565b90600052602060002090601f0160209004810192826120535760008555612099565b82601f1061206c5782800160ff19823516178555612099565b82800160010185558215612099579182015b8281111561209957823582559160200191906001019061207e565b506120a59291506120a9565b5090565b5b808211156120a557600081556001016120aa565b6001600160e01b031981168114610b1357600080fd5b6000602082840312156120e657600080fd5b813561101c816120be565b60005b8381101561210c5781810151838201526020016120f4565b83811115610f985750506000910152565b600081518084526121358160208601602086016120f1565b601f01601f19169290920160200192915050565b60208152600061101c602083018461211d565b60006020828403121561216e57600080fd5b5035919050565b80356001600160a01b038116811461218c57600080fd5b919050565b600080604083850312156121a457600080fd5b6121ad83612175565b946020939093013593505050565b6000806000606084860312156121d057600080fd5b6121d984612175565b92506121e760208501612175565b9150604084013590509250925092565b6000806020838503121561220a57600080fd5b823567ffffffffffffffff8082111561222257600080fd5b818501915085601f83011261223657600080fd5b81358181111561224557600080fd5b86602082850101111561225757600080fd5b60209290920196919550909350505050565b60006020828403121561227b57600080fd5b61101c82612175565b6000806040838503121561229757600080fd5b6122a083612175565b9150602083013580151581146122b557600080fd5b809150509250929050565b803563ffffffff8116811461218c57600080fd5b600080604083850312156122e757600080fd5b6122f0836122c0565b91506122fe602084016122c0565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561233357600080fd5b61233c85612175565b935061234a60208601612175565b925060408501359150606085013567ffffffffffffffff8082111561236e57600080fd5b818701915087601f83011261238257600080fd5b81358181111561239457612394612307565b604051601f8201601f19908116603f011681019083821181831017156123bc576123bc612307565b816040528281528a60208487010111156123d557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060006040848603121561240e57600080fd5b83359250602084013567ffffffffffffffff8082111561242d57600080fd5b818601915086601f83011261244157600080fd5b81358181111561245057600080fd5b8760208260051b850101111561246557600080fd5b6020830194508093505050509250925092565b6000806040838503121561248b57600080fd5b61249483612175565b91506122fe60208401612175565b803567ffffffffffffffff8116811461218c57600080fd5b600080600080600060a086880312156124d257600080fd5b6124db866122c0565b94506124e9602087016122c0565b93506124f7604087016124a2565b9250612505606087016124a2565b949793965091946080013592915050565b600181811c9082168061252a57607f821691505b6020821081141561254b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561258157612581612551565b500290565b60008282101561259857612598612551565b500390565b600082198211156125b0576125b0612551565b500190565b600083516125c78184602088016120f1565b8351908301906125db8183602088016120f1565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612616608083018461211d565b9695505050505050565b60006020828403121561263257600080fd5b815161101c816120be565b600060001982141561265157612651612551565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261267d5761267d612658565b500490565b60008261269157612691612658565b500690565b634e487b7160e01b600052603260045260246000fd5b600067ffffffffffffffff8083168185168083038211156125db576125db61255156fea26469706673582212209efcdf0d342453b538f43e1c15c1613d151a20f1824058435f3648eab37cb35d64736f6c634300080b0033

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.