ETH Price: $3,893.24 (+0.22%)

Token

REV3ALBABY (REV3ALBABY)
 

Overview

Max Total Supply

1,352 REV3ALBABY

Holders

433

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 REV3ALBABY
0x400bcb08aeda22862577ca2bd23c91af78a1ee6b
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:
REV3ALBABY

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

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

/*
██████╗ ███████╗██╗   ██╗██████╗  █████╗ ██╗         ██████╗  █████╗ ██████╗ ██╗   ██╗
██╔══██╗██╔════╝██║   ██║╚════██╗██╔══██╗██║         ██╔══██╗██╔══██╗██╔══██╗╚██╗ ██╔╝
██████╔╝█████╗  ██║   ██║ █████╔╝███████║██║         ██████╔╝███████║██████╔╝ ╚████╔╝ 
██╔══██╗██╔══╝  ╚██╗ ██╔╝ ╚═══██╗██╔══██║██║         ██╔══██╗██╔══██║██╔══██╗  ╚██╔╝  
██║  ██║███████╗ ╚████╔╝ ██████╔╝██║  ██║███████╗    ██████╔╝██║  ██║██████╔╝   ██║   
╚═╝  ╚═╝╚══════╝  ╚═══╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝    ╚═════╝ ╚═╝  ╚═╝╚═════╝    ╚═╝  
*/


pragma solidity ^0.8.0;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Address.sol"; 
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract REV3ALBABY is ERC721A, Ownable, ReentrancyGuard {

uint256 public immutable maxSupply = 2500;
uint256 private immutable reservedSize = 200;
uint64  private immutable maxBatchSize = 50;

struct MintInfo {
    bytes32 Root;
    uint256 Price;
    uint64 Max;
    uint256 Supply;
    bool Paused;
}

mapping(uint64 => MintInfo) public MintList;
mapping(address => uint256) public OwnersHistory;
mapping(address => uint256) public OGOwnersHistory;


ERC721A REBORNCONTRACT = ERC721A(0x4b530443A78001F38d96A272f0d5eD3eB0A5328e);
string public _baseTokenURI = "ipfs://QmYgUs7rSvyKav3q9g6ZoZUCP4JDnNBSaD8StzcRX2dC4r/";

constructor() ERC721A("REV3ALBABY", "REV3ALBABY") {
    MintList[1]  = MintInfo(0x98e42f970869dadbd53f93dc89999572154c33b4ce44c5a7446d821778ae8a85,0,1,2300,false); // owners
    MintList[2]  = MintInfo(0x520e3e0a36ab3c07f460cafea2522970cda08be7258fc66f41c5d746d2b8d312,0,1,2300,false); // og owners
}

function _onlySender() private view {
    require(msg.sender == tx.origin);
}

modifier onlySender {
    _onlySender();
    _;
}


function _revMint(address to, uint256 amount) internal {
    require((totalSupply() + amount) <= maxSupply - reservedSize, "Sold out!");
    _safeMint(to, amount);
}

function lowBulkMint(address to,uint256 amount) external onlyOwner {
    _safeMint(to,amount);
}


function getUserMintCount(address _address, bool _isOG) public view returns(uint256){
        uint256 balance = REBORNCONTRACT.balanceOf(_address);
        if(_isOG == true){
            balance = balance < 2 ? 2 : balance;
        }
        return _isOG == true ? balance : balance / 2;
}

function bulkMint(uint256 amount) external onlyOwner {
    require((totalSupply() + amount) <= maxSupply, "Sold out!");
    require(amount % maxBatchSize == 0,"Can only mint a multiple of the maxBatchSize");
    uint256 numChunks = amount / maxBatchSize;
    numChunks = numChunks == 0 ? amount : numChunks;
    for (uint256 i = 0; i < numChunks; i++) {
        _safeMint(msg.sender, maxBatchSize);
    }
}

function isAddressOwner(bytes32[] memory proof, bytes32 _leaf) public view returns (bool)
{
    return checkMerkleRoot(MintList[1].Root, proof, _leaf);
}

function isAddressOGOwner(bytes32[] memory proof, bytes32 _leaf) public view returns (bool)
{
    return checkMerkleRoot(MintList[2].Root, proof, _leaf);
}

function checkMerkleRoot(bytes32 merkleRoot,bytes32[] memory proof,bytes32 _leaf) internal pure returns (bool) {
    return MerkleProof.verify(proof,merkleRoot, _leaf);
}

function setPrices(uint256 _ownerPrice,uint256 _ogOwnerPrice) external onlyOwner{
    MintList[1].Price = _ownerPrice;
    MintList[2].Price = _ogOwnerPrice;
}


function setOptions(bytes32 _ownerRoot,bytes32 _ogRoot) external onlyOwner {
    MintList[1].Root = _ownerRoot;
    MintList[2].Root = _ogRoot;
}

function OwnerMint(bytes32[] memory proof, uint256 amount) external payable onlySender nonReentrant {
    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
    require(isAddressOwner(proof,leaf),"You are not eligible for an owner mint");
    uint256 balance = getUserMintCount(msg.sender,false);
    require(OwnersHistory[msg.sender] + amount <= balance,"Minting amount exceeds allowance per wallet");
    MintList[1].Supply = MintList[1].Supply - amount;
    OwnersHistory[msg.sender] += amount;
    _revMint(msg.sender, amount);
}


function OGOwnerMint(bytes32[] memory proof, uint256 amount) external payable onlySender nonReentrant {
    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
    require(isAddressOGOwner(proof,leaf),"You are not eligible for an og owner mint");
    uint256 balance = getUserMintCount(msg.sender,true);
    require(OGOwnersHistory[msg.sender] + amount <=  balance,"Minting amount exceeds allowance per wallet");
    MintList[2].Supply = MintList[2].Supply - amount;
    OGOwnersHistory[msg.sender] += amount;
    _revMint(msg.sender, amount);
}

function withdraw() public onlyOwner nonReentrant
{
    uint256 total = address(this).balance;
     (bool success, ) =  payable(msg.sender).call{value: total}("");
     require(success, "Transfer failed..");
}

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

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

function tokenURI(uint256 tokenId) public view override(ERC721A) returns (string memory)
{
    return string(abi.encodePacked(_baseTokenURI, Strings.toString(tokenId),".json"));
}

function walletOfOwner(address address_) public virtual view returns (uint256[] memory) {
    uint256 _balance = balanceOf(address_);
    uint256[] memory _tokens = new uint256[] (_balance);
    uint256 _index;
    uint256 _loopThrough = totalSupply();
    for (uint256 i = 0; i < _loopThrough; i++) {
    bool _exists = _exists(i);
    if (_exists) {
    if (ownerOf(i) == address_) { _tokens[_index] = i; _index++; }
    }
    else if (!_exists && _tokens[_balance - 1] == 0) { _loopThrough++; }
    }
    return _tokens;
}  

}

File 2 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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 MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
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 _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is 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 mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

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

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

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

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

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * 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 = ERC721A.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 virtual 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 (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

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

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _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,
        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 numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

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

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

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

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

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

    /**
     * @dev 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 contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try 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))
                }
            }
        }
    }

    /**
     * @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 14 : 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 14 : 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 14 : 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 14 : 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 7 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 8 of 14 : 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 9 of 14 : 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 10 of 14 : 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 11 of 14 : 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 14 : 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 13 of 14 : 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 14 of 14 : 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": false,
    "runs": 200
  },
  "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":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","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":"uint64","name":"","type":"uint64"}],"name":"MintList","outputs":[{"internalType":"bytes32","name":"Root","type":"bytes32"},{"internalType":"uint256","name":"Price","type":"uint256"},{"internalType":"uint64","name":"Max","type":"uint64"},{"internalType":"uint256","name":"Supply","type":"uint256"},{"internalType":"bool","name":"Paused","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OGOwnerMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"OGOwnersHistory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OwnerMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"OwnersHistory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"bulkMint","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":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isOG","type":"bool"}],"name":"getUserMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"_leaf","type":"bytes32"}],"name":"isAddressOGOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"_leaf","type":"bytes32"}],"name":"isAddressOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"lowBulkMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_ownerRoot","type":"bytes32"},{"internalType":"bytes32","name":"_ogRoot","type":"bytes32"}],"name":"setOptions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ownerPrice","type":"uint256"},{"internalType":"uint256","name":"_ogOwnerPrice","type":"uint256"}],"name":"setPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040526109c460809081525060c860a090815250603267ffffffffffffffff1660c09067ffffffffffffffff16815250734b530443a78001f38d96a272f0d5ed3eb0a5328e600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060405180606001604052806036815260200162004cc860369139600e9080519060200190620000b79291906200044f565b50348015620000c557600080fd5b506040518060400160405280600a81526020017f52455633414c42414259000000000000000000000000000000000000000000008152506040518060400160405280600a81526020017f52455633414c424142590000000000000000000000000000000000000000000081525081600290805190602001906200014a9291906200044f565b508060039080519060200190620001639291906200044f565b50620001746200037c60201b60201c565b60008190555050506200019c620001906200038160201b60201c565b6200038960201b60201c565b60016009819055506040518060a001604052807f98e42f970869dadbd53f93dc89999572154c33b4ce44c5a7446d821778ae8a8560001b815260200160008152602001600167ffffffffffffffff1681526020016108fc815260200160001515815250600a6000600167ffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506060820151816003015560808201518160040160006101000a81548160ff0219169083151502179055509050506040518060a001604052807f520e3e0a36ab3c07f460cafea2522970cda08be7258fc66f41c5d746d2b8d31260001b815260200160008152602001600167ffffffffffffffff1681526020016108fc815260200160001515815250600a6000600267ffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506060820151816003015560808201518160040160006101000a81548160ff02191690831515021790555090505062000563565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200045d906200052e565b90600052602060002090601f016020900481019282620004815760008555620004cd565b82601f106200049c57805160ff1916838001178555620004cd565b82800160010185558215620004cd579182015b82811115620004cc578251825591602001919060010190620004af565b5b509050620004dc9190620004e0565b5090565b5b80821115620004fb576000816000905550600101620004e1565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200054757607f821691505b6020821081036200055d576200055c620004ff565b5b50919050565b60805160a05160c051614719620005af6000396000818161093a015281816109b20152610a0b015260006121c20152600081816108c301528181611de501526121e301526147196000f3fe6080604052600436106101f85760003560e01c8063659c36ae1161010d578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb011461073a578063e87406ba14610765578063e985e9c5146107a2578063f2fde38b146107df578063f7005b9a14610808576101f8565b8063b88d4fde14610680578063c78903a8146106a9578063c87b56dd146106d2578063cfc86f7b1461070f576101f8565b80638db4fa20116100dc5780638db4fa20146105d357806395d89b41146105ef578063a22cb4651461061a578063a6d1934f14610643576101f8565b8063659c36ae1461051757806370a0823114610554578063715018a6146105915780638da5cb5b146105a8576101f8565b80630cd694e6116101905780633ccfd60b1161015f5780633ccfd60b1461043457806342842e0e1461044b578063438b63001461047457806355f804b3146104b15780636352211e146104da576101f8565b80630cd694e61461038357806312f715cf146103c457806318160ddd146103e057806323b872dd1461040b576101f8565b806305fefda7116101cc57806305fefda7146102c957806306fdde03146102f2578063081812fc1461031d578063095ea7b31461035a576101f8565b8062bc653c146101fd57806301ffc9a71461022657806302d2aa671461026357806305e50804146102a0575b600080fd5b34801561020957600080fd5b50610224600480360381019061021f919061330a565b610845565b005b34801561023257600080fd5b5061024d6004803603810190610248919061338f565b610a51565b60405161025a91906133d7565b60405180910390f35b34801561026f57600080fd5b5061028a60048036038101906102859190613581565b610b33565b60405161029791906133d7565b60405180910390f35b3480156102ac57600080fd5b506102c760048036038101906102c291906135dd565b610b69565b005b3480156102d557600080fd5b506102f060048036038101906102eb919061361d565b610c35565b005b3480156102fe57600080fd5b50610307610d01565b60405161031491906136e5565b60405180910390f35b34801561032957600080fd5b50610344600480360381019061033f919061330a565b610d93565b6040516103519190613748565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c919061378f565b610e0f565b005b34801561038f57600080fd5b506103aa60048036038101906103a5919061380f565b610f19565b6040516103bb959493929190613869565b60405180910390f35b6103de60048036038101906103d991906138bc565b610f70565b005b3480156103ec57600080fd5b506103f5611195565b6040516104029190613918565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d9190613933565b6111ac565b005b34801561044057600080fd5b506104496111bc565b005b34801561045757600080fd5b50610472600480360381019061046d9190613933565b611342565b005b34801561048057600080fd5b5061049b60048036038101906104969190613986565b611362565b6040516104a89190613a71565b60405180910390f35b3480156104bd57600080fd5b506104d860048036038101906104d39190613aee565b6114c2565b005b3480156104e657600080fd5b5061050160048036038101906104fc919061330a565b611554565b60405161050e9190613748565b60405180910390f35b34801561052357600080fd5b5061053e60048036038101906105399190613b67565b61156a565b60405161054b9190613918565b60405180910390f35b34801561056057600080fd5b5061057b60048036038101906105769190613986565b611654565b6040516105889190613918565b60405180910390f35b34801561059d57600080fd5b506105a6611723565b005b3480156105b457600080fd5b506105bd6117ab565b6040516105ca9190613748565b60405180910390f35b6105ed60048036038101906105e891906138bc565b6117d5565b005b3480156105fb57600080fd5b506106046119fa565b60405161061191906136e5565b60405180910390f35b34801561062657600080fd5b50610641600480360381019061063c9190613b67565b611a8c565b005b34801561064f57600080fd5b5061066a60048036038101906106659190613986565b611c03565b6040516106779190613918565b60405180910390f35b34801561068c57600080fd5b506106a760048036038101906106a29190613c5c565b611c1b565b005b3480156106b557600080fd5b506106d060048036038101906106cb919061378f565b611c97565b005b3480156106de57600080fd5b506106f960048036038101906106f4919061330a565b611d21565b60405161070691906136e5565b60405180910390f35b34801561071b57600080fd5b50610724611d55565b60405161073191906136e5565b60405180910390f35b34801561074657600080fd5b5061074f611de3565b60405161075c9190613918565b60405180910390f35b34801561077157600080fd5b5061078c60048036038101906107879190613986565b611e07565b6040516107999190613918565b60405180910390f35b3480156107ae57600080fd5b506107c960048036038101906107c49190613cdf565b611e1f565b6040516107d691906133d7565b60405180910390f35b3480156107eb57600080fd5b5061080660048036038101906108019190613986565b611eb3565b005b34801561081457600080fd5b5061082f600480360381019061082a9190613581565b611faa565b60405161083c91906133d7565b60405180910390f35b61084d611fe0565b73ffffffffffffffffffffffffffffffffffffffff1661086b6117ab565b73ffffffffffffffffffffffffffffffffffffffff16146108c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b890613d6b565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000816108eb611195565b6108f59190613dba565b1115610936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092d90613e5c565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff168261096e9190613eab565b146109ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a590613f4e565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16826109e69190613f6e565b9050600081146109f657806109f8565b815b905060005b81811015610a4c57610a39337f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16611fe8565b8080610a4490613f9f565b9150506109fd565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b1c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b2c5750610b2b82612006565b5b9050919050565b6000610b61600a6000600267ffffffffffffffff168152602001908152602001600020600001548484612070565b905092915050565b610b71611fe0565b73ffffffffffffffffffffffffffffffffffffffff16610b8f6117ab565b73ffffffffffffffffffffffffffffffffffffffff1614610be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdc90613d6b565b60405180910390fd5b81600a6000600167ffffffffffffffff1681526020019081526020016000206000018190555080600a6000600267ffffffffffffffff168152602001908152602001600020600001819055505050565b610c3d611fe0565b73ffffffffffffffffffffffffffffffffffffffff16610c5b6117ab565b73ffffffffffffffffffffffffffffffffffffffff1614610cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca890613d6b565b60405180910390fd5b81600a6000600167ffffffffffffffff1681526020019081526020016000206001018190555080600a6000600267ffffffffffffffff168152602001908152602001600020600101819055505050565b606060028054610d1090614016565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3c90614016565b8015610d895780601f10610d5e57610100808354040283529160200191610d89565b820191906000526020600020905b815481529060010190602001808311610d6c57829003601f168201915b5050505050905090565b6000610d9e82612086565b610dd4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e1a82611554565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e81576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ea0611fe0565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ed25750610ed081610ecb611fe0565b611e1f565b155b15610f09576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f148383836120d4565b505050565b600a6020528060005260406000206000915090508060000154908060010154908060020160009054906101000a900467ffffffffffffffff16908060030154908060040160009054906101000a900460ff16905085565b610f78612186565b600260095403610fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb490614093565b60405180910390fd5b6002600981905550600033604051602001610fd891906140fb565b604051602081830303815290604052805190602001209050610ffa8382610b33565b611039576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103090614188565b60405180910390fd5b600061104633600161156a565b90508083600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110949190613dba565b11156110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc9061421a565b60405180910390fd5b82600a6000600267ffffffffffffffff16815260200190815260200160002060030154611102919061423a565b600a6000600267ffffffffffffffff1681526020019081526020016000206003018190555082600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111769190613dba565b9250508190555061118733846121c0565b505060016009819055505050565b600061119f61226e565b6001546000540303905090565b6111b7838383612273565b505050565b6111c4611fe0565b73ffffffffffffffffffffffffffffffffffffffff166111e26117ab565b73ffffffffffffffffffffffffffffffffffffffff1614611238576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122f90613d6b565b60405180910390fd5b60026009540361127d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127490614093565b60405180910390fd5b6002600981905550600047905060003373ffffffffffffffffffffffffffffffffffffffff16826040516112b09061429f565b60006040518083038185875af1925050503d80600081146112ed576040519150601f19603f3d011682016040523d82523d6000602084013e6112f2565b606091505b5050905080611336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132d90614300565b60405180910390fd5b50506001600981905550565b61135d83838360405180602001604052806000815250611c1b565b505050565b6060600061136f83611654565b905060008167ffffffffffffffff81111561138d5761138c613408565b5b6040519080825280602002602001820160405280156113bb5781602001602082028036833780820191505090505b5090506000806113c9611195565b905060005b818110156114b55760006113e182612086565b90508015611458578773ffffffffffffffffffffffffffffffffffffffff1661140983611554565b73ffffffffffffffffffffffffffffffffffffffff1603611453578185858151811061143857611437614320565b5b602002602001018181525050838061144f90613f9f565b9450505b6114a1565b8015801561148c5750600085600188611471919061423a565b8151811061148257611481614320565b5b6020026020010151145b156114a057828061149c90613f9f565b9350505b5b5080806114ad90613f9f565b9150506113ce565b5082945050505050919050565b6114ca611fe0565b73ffffffffffffffffffffffffffffffffffffffff166114e86117ab565b73ffffffffffffffffffffffffffffffffffffffff161461153e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153590613d6b565b60405180910390fd5b8181600e919061154f9291906131da565b505050565b600061155f82612727565b600001519050919050565b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016115c89190613748565b602060405180830381865afa1580156115e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116099190614364565b9050600115158315150361162b57600281106116255780611628565b60025b90505b6001151583151514611649576002816116449190613f6e565b61164b565b805b91505092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116bb576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61172b611fe0565b73ffffffffffffffffffffffffffffffffffffffff166117496117ab565b73ffffffffffffffffffffffffffffffffffffffff161461179f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179690613d6b565b60405180910390fd5b6117a960006129b6565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117dd612186565b600260095403611822576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181990614093565b60405180910390fd5b600260098190555060003360405160200161183d91906140fb565b60405160208183030381529060405280519060200120905061185f8382611faa565b61189e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189590614403565b60405180910390fd5b60006118ab33600061156a565b90508083600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118f99190613dba565b111561193a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119319061421a565b60405180910390fd5b82600a6000600167ffffffffffffffff16815260200190815260200160002060030154611967919061423a565b600a6000600167ffffffffffffffff1681526020019081526020016000206003018190555082600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119db9190613dba565b925050819055506119ec33846121c0565b505060016009819055505050565b606060038054611a0990614016565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3590614016565b8015611a825780601f10611a5757610100808354040283529160200191611a82565b820191906000526020600020905b815481529060010190602001808311611a6557829003601f168201915b5050505050905090565b611a94611fe0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611af8576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611b05611fe0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bb2611fe0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bf791906133d7565b60405180910390a35050565b600c6020528060005260406000206000915090505481565b611c26848484612273565b611c458373ffffffffffffffffffffffffffffffffffffffff16612a7c565b8015611c5a5750611c5884848484612a9f565b155b15611c91576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611c9f611fe0565b73ffffffffffffffffffffffffffffffffffffffff16611cbd6117ab565b73ffffffffffffffffffffffffffffffffffffffff1614611d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0a90613d6b565b60405180910390fd5b611d1d8282611fe8565b5050565b6060600e611d2e83612bef565b604051602001611d3f92919061453f565b6040516020818303038152906040529050919050565b600e8054611d6290614016565b80601f0160208091040260200160405190810160405280929190818152602001828054611d8e90614016565b8015611ddb5780601f10611db057610100808354040283529160200191611ddb565b820191906000526020600020905b815481529060010190602001808311611dbe57829003601f168201915b505050505081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600b6020528060005260406000206000915090505481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ebb611fe0565b73ffffffffffffffffffffffffffffffffffffffff16611ed96117ab565b73ffffffffffffffffffffffffffffffffffffffff1614611f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2690613d6b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f95906145e0565b60405180910390fd5b611fa7816129b6565b50565b6000611fd8600a6000600167ffffffffffffffff168152602001908152602001600020600001548484612070565b905092915050565b600033905090565b612002828260405180602001604052806000815250612d4f565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600061207d838584612d61565b90509392505050565b60008161209161226e565b111580156120a0575060005482105b80156120cd575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146121be57600080fd5b565b7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061220c919061423a565b81612215611195565b61221f9190613dba565b1115612260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225790613e5c565b60405180910390fd5b61226a8282611fe8565b5050565b600090565b600061227e82612727565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146122e9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661230a611fe0565b73ffffffffffffffffffffffffffffffffffffffff161480612339575061233885612333611fe0565b611e1f565b5b8061237e5750612347611fe0565b73ffffffffffffffffffffffffffffffffffffffff1661236684610d93565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806123b7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361241d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61242a8585856001612d78565b612436600084876120d4565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036126b55760005482146126b457878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127208585856001612d7e565b5050505050565b61272f613260565b60008290508061273d61226e565b1115801561274c575060005481105b1561297f576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161297d57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128615780925050506129b1565b5b60011561297c57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146129775780925050506129b1565b612862565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ac5611fe0565b8786866040518563ffffffff1660e01b8152600401612ae79493929190614655565b6020604051808303816000875af1925050508015612b2357506040513d601f19601f82011682018060405250810190612b2091906146b6565b60015b612b9c573d8060008114612b53576040519150601f19603f3d011682016040523d82523d6000602084013e612b58565b606091505b506000815103612b94576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203612c36576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d4a565b600082905060005b60008214612c68578080612c5190613f9f565b915050600a82612c619190613f6e565b9150612c3e565b60008167ffffffffffffffff811115612c8457612c83613408565b5b6040519080825280601f01601f191660200182016040528015612cb65781602001600182028036833780820191505090505b5090505b60008514612d4357600182612ccf919061423a565b9150600a85612cde9190613eab565b6030612cea9190613dba565b60f81b818381518110612d0057612cff614320565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d3c9190613f6e565b9450612cba565b8093505050505b919050565b612d5c8383836001612d84565b505050565b600082612d6e858461314e565b1490509392505050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612df0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403612e2a576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e376000868387612d78565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561300157506130008773ffffffffffffffffffffffffffffffffffffffff16612a7c565b5b156130c6575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130766000888480600101955088612a9f565b6130ac576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082036130075782600054146130c157600080fd5b613131565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036130c7575b8160008190555050506131476000868387612d7e565b5050505050565b60008082905060005b84518110156131b857600085828151811061317557613174614320565b5b602002602001015190508083116131975761319083826131c3565b92506131a4565b6131a181846131c3565b92505b5080806131b090613f9f565b915050613157565b508091505092915050565b600082600052816020526040600020905092915050565b8280546131e690614016565b90600052602060002090601f016020900481019282613208576000855561324f565b82601f1061322157803560ff191683800117855561324f565b8280016001018555821561324f579182015b8281111561324e578235825591602001919060010190613233565b5b50905061325c91906132a3565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156132bc5760008160009055506001016132a4565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6132e7816132d4565b81146132f257600080fd5b50565b600081359050613304816132de565b92915050565b6000602082840312156133205761331f6132ca565b5b600061332e848285016132f5565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61336c81613337565b811461337757600080fd5b50565b60008135905061338981613363565b92915050565b6000602082840312156133a5576133a46132ca565b5b60006133b38482850161337a565b91505092915050565b60008115159050919050565b6133d1816133bc565b82525050565b60006020820190506133ec60008301846133c8565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613440826133f7565b810181811067ffffffffffffffff8211171561345f5761345e613408565b5b80604052505050565b60006134726132c0565b905061347e8282613437565b919050565b600067ffffffffffffffff82111561349e5761349d613408565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6134c7816134b4565b81146134d257600080fd5b50565b6000813590506134e4816134be565b92915050565b60006134fd6134f884613483565b613468565b905080838252602082019050602084028301858111156135205761351f6134af565b5b835b81811015613549578061353588826134d5565b845260208401935050602081019050613522565b5050509392505050565b600082601f830112613568576135676133f2565b5b81356135788482602086016134ea565b91505092915050565b60008060408385031215613598576135976132ca565b5b600083013567ffffffffffffffff8111156135b6576135b56132cf565b5b6135c285828601613553565b92505060206135d3858286016134d5565b9150509250929050565b600080604083850312156135f4576135f36132ca565b5b6000613602858286016134d5565b9250506020613613858286016134d5565b9150509250929050565b60008060408385031215613634576136336132ca565b5b6000613642858286016132f5565b9250506020613653858286016132f5565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561369757808201518184015260208101905061367c565b838111156136a6576000848401525b50505050565b60006136b78261365d565b6136c18185613668565b93506136d1818560208601613679565b6136da816133f7565b840191505092915050565b600060208201905081810360008301526136ff81846136ac565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061373282613707565b9050919050565b61374281613727565b82525050565b600060208201905061375d6000830184613739565b92915050565b61376c81613727565b811461377757600080fd5b50565b60008135905061378981613763565b92915050565b600080604083850312156137a6576137a56132ca565b5b60006137b48582860161377a565b92505060206137c5858286016132f5565b9150509250929050565b600067ffffffffffffffff82169050919050565b6137ec816137cf565b81146137f757600080fd5b50565b600081359050613809816137e3565b92915050565b600060208284031215613825576138246132ca565b5b6000613833848285016137fa565b91505092915050565b613845816134b4565b82525050565b613854816132d4565b82525050565b613863816137cf565b82525050565b600060a08201905061387e600083018861383c565b61388b602083018761384b565b613898604083018661385a565b6138a5606083018561384b565b6138b260808301846133c8565b9695505050505050565b600080604083850312156138d3576138d26132ca565b5b600083013567ffffffffffffffff8111156138f1576138f06132cf565b5b6138fd85828601613553565b925050602061390e858286016132f5565b9150509250929050565b600060208201905061392d600083018461384b565b92915050565b60008060006060848603121561394c5761394b6132ca565b5b600061395a8682870161377a565b935050602061396b8682870161377a565b925050604061397c868287016132f5565b9150509250925092565b60006020828403121561399c5761399b6132ca565b5b60006139aa8482850161377a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6139e8816132d4565b82525050565b60006139fa83836139df565b60208301905092915050565b6000602082019050919050565b6000613a1e826139b3565b613a2881856139be565b9350613a33836139cf565b8060005b83811015613a64578151613a4b88826139ee565b9750613a5683613a06565b925050600181019050613a37565b5085935050505092915050565b60006020820190508181036000830152613a8b8184613a13565b905092915050565b600080fd5b60008083601f840112613aae57613aad6133f2565b5b8235905067ffffffffffffffff811115613acb57613aca613a93565b5b602083019150836001820283011115613ae757613ae66134af565b5b9250929050565b60008060208385031215613b0557613b046132ca565b5b600083013567ffffffffffffffff811115613b2357613b226132cf565b5b613b2f85828601613a98565b92509250509250929050565b613b44816133bc565b8114613b4f57600080fd5b50565b600081359050613b6181613b3b565b92915050565b60008060408385031215613b7e57613b7d6132ca565b5b6000613b8c8582860161377a565b9250506020613b9d85828601613b52565b9150509250929050565b600080fd5b600067ffffffffffffffff821115613bc757613bc6613408565b5b613bd0826133f7565b9050602081019050919050565b82818337600083830152505050565b6000613bff613bfa84613bac565b613468565b905082815260208101848484011115613c1b57613c1a613ba7565b5b613c26848285613bdd565b509392505050565b600082601f830112613c4357613c426133f2565b5b8135613c53848260208601613bec565b91505092915050565b60008060008060808587031215613c7657613c756132ca565b5b6000613c848782880161377a565b9450506020613c958782880161377a565b9350506040613ca6878288016132f5565b925050606085013567ffffffffffffffff811115613cc757613cc66132cf565b5b613cd387828801613c2e565b91505092959194509250565b60008060408385031215613cf657613cf56132ca565b5b6000613d048582860161377a565b9250506020613d158582860161377a565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d55602083613668565b9150613d6082613d1f565b602082019050919050565b60006020820190508181036000830152613d8481613d48565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613dc5826132d4565b9150613dd0836132d4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e0557613e04613d8b565b5b828201905092915050565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b6000613e46600983613668565b9150613e5182613e10565b602082019050919050565b60006020820190508181036000830152613e7581613e39565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613eb6826132d4565b9150613ec1836132d4565b925082613ed157613ed0613e7c565b5b828206905092915050565b7f43616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060008201527f6d6178426174636853697a650000000000000000000000000000000000000000602082015250565b6000613f38602c83613668565b9150613f4382613edc565b604082019050919050565b60006020820190508181036000830152613f6781613f2b565b9050919050565b6000613f79826132d4565b9150613f84836132d4565b925082613f9457613f93613e7c565b5b828204905092915050565b6000613faa826132d4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613fdc57613fdb613d8b565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061402e57607f821691505b60208210810361404157614040613fe7565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061407d601f83613668565b915061408882614047565b602082019050919050565b600060208201905081810360008301526140ac81614070565b9050919050565b60008160601b9050919050565b60006140cb826140b3565b9050919050565b60006140dd826140c0565b9050919050565b6140f56140f082613727565b6140d2565b82525050565b600061410782846140e4565b60148201915081905092915050565b7f596f7520617265206e6f7420656c696769626c6520666f7220616e206f67206f60008201527f776e6572206d696e740000000000000000000000000000000000000000000000602082015250565b6000614172602983613668565b915061417d82614116565b604082019050919050565b600060208201905081810360008301526141a181614165565b9050919050565b7f4d696e74696e6720616d6f756e74206578636565647320616c6c6f77616e636560008201527f207065722077616c6c6574000000000000000000000000000000000000000000602082015250565b6000614204602b83613668565b915061420f826141a8565b604082019050919050565b60006020820190508181036000830152614233816141f7565b9050919050565b6000614245826132d4565b9150614250836132d4565b92508282101561426357614262613d8b565b5b828203905092915050565b600081905092915050565b50565b600061428960008361426e565b915061429482614279565b600082019050919050565b60006142aa8261427c565b9150819050919050565b7f5472616e73666572206661696c65642e2e000000000000000000000000000000600082015250565b60006142ea601183613668565b91506142f5826142b4565b602082019050919050565b60006020820190508181036000830152614319816142dd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061435e816132de565b92915050565b60006020828403121561437a576143796132ca565b5b60006143888482850161434f565b91505092915050565b7f596f7520617265206e6f7420656c696769626c6520666f7220616e206f776e6560008201527f72206d696e740000000000000000000000000000000000000000000000000000602082015250565b60006143ed602683613668565b91506143f882614391565b604082019050919050565b6000602082019050818103600083015261441c816143e0565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461445081614016565b61445a8186614423565b945060018216600081146144755760018114614486576144b9565b60ff198316865281860193506144b9565b61448f8561442e565b60005b838110156144b157815481890152600182019150602081019050614492565b838801955050505b50505092915050565b60006144cd8261365d565b6144d78185614423565b93506144e7818560208601613679565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614529600583614423565b9150614534826144f3565b600582019050919050565b600061454b8285614443565b915061455782846144c2565b91506145628261451c565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145ca602683613668565b91506145d58261456e565b604082019050919050565b600060208201905081810360008301526145f9816145bd565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061462782614600565b614631818561460b565b9350614641818560208601613679565b61464a816133f7565b840191505092915050565b600060808201905061466a6000830187613739565b6146776020830186613739565b614684604083018561384b565b8181036060830152614696818461461c565b905095945050505050565b6000815190506146b081613363565b92915050565b6000602082840312156146cc576146cb6132ca565b5b60006146da848285016146a1565b9150509291505056fea2646970667358221220b4eed410023a4f4e60fb1d99b122385fc55d9954e166ab41d6969b3003f4a6db64736f6c634300080d0033697066733a2f2f516d5967557337725376794b617633713967365a6f5a554350344a446e4e425361443853747a63525832644334722f

Deployed Bytecode

0x6080604052600436106101f85760003560e01c8063659c36ae1161010d578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb011461073a578063e87406ba14610765578063e985e9c5146107a2578063f2fde38b146107df578063f7005b9a14610808576101f8565b8063b88d4fde14610680578063c78903a8146106a9578063c87b56dd146106d2578063cfc86f7b1461070f576101f8565b80638db4fa20116100dc5780638db4fa20146105d357806395d89b41146105ef578063a22cb4651461061a578063a6d1934f14610643576101f8565b8063659c36ae1461051757806370a0823114610554578063715018a6146105915780638da5cb5b146105a8576101f8565b80630cd694e6116101905780633ccfd60b1161015f5780633ccfd60b1461043457806342842e0e1461044b578063438b63001461047457806355f804b3146104b15780636352211e146104da576101f8565b80630cd694e61461038357806312f715cf146103c457806318160ddd146103e057806323b872dd1461040b576101f8565b806305fefda7116101cc57806305fefda7146102c957806306fdde03146102f2578063081812fc1461031d578063095ea7b31461035a576101f8565b8062bc653c146101fd57806301ffc9a71461022657806302d2aa671461026357806305e50804146102a0575b600080fd5b34801561020957600080fd5b50610224600480360381019061021f919061330a565b610845565b005b34801561023257600080fd5b5061024d6004803603810190610248919061338f565b610a51565b60405161025a91906133d7565b60405180910390f35b34801561026f57600080fd5b5061028a60048036038101906102859190613581565b610b33565b60405161029791906133d7565b60405180910390f35b3480156102ac57600080fd5b506102c760048036038101906102c291906135dd565b610b69565b005b3480156102d557600080fd5b506102f060048036038101906102eb919061361d565b610c35565b005b3480156102fe57600080fd5b50610307610d01565b60405161031491906136e5565b60405180910390f35b34801561032957600080fd5b50610344600480360381019061033f919061330a565b610d93565b6040516103519190613748565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c919061378f565b610e0f565b005b34801561038f57600080fd5b506103aa60048036038101906103a5919061380f565b610f19565b6040516103bb959493929190613869565b60405180910390f35b6103de60048036038101906103d991906138bc565b610f70565b005b3480156103ec57600080fd5b506103f5611195565b6040516104029190613918565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d9190613933565b6111ac565b005b34801561044057600080fd5b506104496111bc565b005b34801561045757600080fd5b50610472600480360381019061046d9190613933565b611342565b005b34801561048057600080fd5b5061049b60048036038101906104969190613986565b611362565b6040516104a89190613a71565b60405180910390f35b3480156104bd57600080fd5b506104d860048036038101906104d39190613aee565b6114c2565b005b3480156104e657600080fd5b5061050160048036038101906104fc919061330a565b611554565b60405161050e9190613748565b60405180910390f35b34801561052357600080fd5b5061053e60048036038101906105399190613b67565b61156a565b60405161054b9190613918565b60405180910390f35b34801561056057600080fd5b5061057b60048036038101906105769190613986565b611654565b6040516105889190613918565b60405180910390f35b34801561059d57600080fd5b506105a6611723565b005b3480156105b457600080fd5b506105bd6117ab565b6040516105ca9190613748565b60405180910390f35b6105ed60048036038101906105e891906138bc565b6117d5565b005b3480156105fb57600080fd5b506106046119fa565b60405161061191906136e5565b60405180910390f35b34801561062657600080fd5b50610641600480360381019061063c9190613b67565b611a8c565b005b34801561064f57600080fd5b5061066a60048036038101906106659190613986565b611c03565b6040516106779190613918565b60405180910390f35b34801561068c57600080fd5b506106a760048036038101906106a29190613c5c565b611c1b565b005b3480156106b557600080fd5b506106d060048036038101906106cb919061378f565b611c97565b005b3480156106de57600080fd5b506106f960048036038101906106f4919061330a565b611d21565b60405161070691906136e5565b60405180910390f35b34801561071b57600080fd5b50610724611d55565b60405161073191906136e5565b60405180910390f35b34801561074657600080fd5b5061074f611de3565b60405161075c9190613918565b60405180910390f35b34801561077157600080fd5b5061078c60048036038101906107879190613986565b611e07565b6040516107999190613918565b60405180910390f35b3480156107ae57600080fd5b506107c960048036038101906107c49190613cdf565b611e1f565b6040516107d691906133d7565b60405180910390f35b3480156107eb57600080fd5b5061080660048036038101906108019190613986565b611eb3565b005b34801561081457600080fd5b5061082f600480360381019061082a9190613581565b611faa565b60405161083c91906133d7565b60405180910390f35b61084d611fe0565b73ffffffffffffffffffffffffffffffffffffffff1661086b6117ab565b73ffffffffffffffffffffffffffffffffffffffff16146108c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b890613d6b565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000009c4816108eb611195565b6108f59190613dba565b1115610936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092d90613e5c565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000003267ffffffffffffffff168261096e9190613eab565b146109ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a590613f4e565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000003267ffffffffffffffff16826109e69190613f6e565b9050600081146109f657806109f8565b815b905060005b81811015610a4c57610a39337f000000000000000000000000000000000000000000000000000000000000003267ffffffffffffffff16611fe8565b8080610a4490613f9f565b9150506109fd565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b1c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b2c5750610b2b82612006565b5b9050919050565b6000610b61600a6000600267ffffffffffffffff168152602001908152602001600020600001548484612070565b905092915050565b610b71611fe0565b73ffffffffffffffffffffffffffffffffffffffff16610b8f6117ab565b73ffffffffffffffffffffffffffffffffffffffff1614610be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdc90613d6b565b60405180910390fd5b81600a6000600167ffffffffffffffff1681526020019081526020016000206000018190555080600a6000600267ffffffffffffffff168152602001908152602001600020600001819055505050565b610c3d611fe0565b73ffffffffffffffffffffffffffffffffffffffff16610c5b6117ab565b73ffffffffffffffffffffffffffffffffffffffff1614610cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca890613d6b565b60405180910390fd5b81600a6000600167ffffffffffffffff1681526020019081526020016000206001018190555080600a6000600267ffffffffffffffff168152602001908152602001600020600101819055505050565b606060028054610d1090614016565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3c90614016565b8015610d895780601f10610d5e57610100808354040283529160200191610d89565b820191906000526020600020905b815481529060010190602001808311610d6c57829003601f168201915b5050505050905090565b6000610d9e82612086565b610dd4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e1a82611554565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e81576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ea0611fe0565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ed25750610ed081610ecb611fe0565b611e1f565b155b15610f09576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f148383836120d4565b505050565b600a6020528060005260406000206000915090508060000154908060010154908060020160009054906101000a900467ffffffffffffffff16908060030154908060040160009054906101000a900460ff16905085565b610f78612186565b600260095403610fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb490614093565b60405180910390fd5b6002600981905550600033604051602001610fd891906140fb565b604051602081830303815290604052805190602001209050610ffa8382610b33565b611039576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103090614188565b60405180910390fd5b600061104633600161156a565b90508083600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110949190613dba565b11156110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc9061421a565b60405180910390fd5b82600a6000600267ffffffffffffffff16815260200190815260200160002060030154611102919061423a565b600a6000600267ffffffffffffffff1681526020019081526020016000206003018190555082600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111769190613dba565b9250508190555061118733846121c0565b505060016009819055505050565b600061119f61226e565b6001546000540303905090565b6111b7838383612273565b505050565b6111c4611fe0565b73ffffffffffffffffffffffffffffffffffffffff166111e26117ab565b73ffffffffffffffffffffffffffffffffffffffff1614611238576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122f90613d6b565b60405180910390fd5b60026009540361127d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127490614093565b60405180910390fd5b6002600981905550600047905060003373ffffffffffffffffffffffffffffffffffffffff16826040516112b09061429f565b60006040518083038185875af1925050503d80600081146112ed576040519150601f19603f3d011682016040523d82523d6000602084013e6112f2565b606091505b5050905080611336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132d90614300565b60405180910390fd5b50506001600981905550565b61135d83838360405180602001604052806000815250611c1b565b505050565b6060600061136f83611654565b905060008167ffffffffffffffff81111561138d5761138c613408565b5b6040519080825280602002602001820160405280156113bb5781602001602082028036833780820191505090505b5090506000806113c9611195565b905060005b818110156114b55760006113e182612086565b90508015611458578773ffffffffffffffffffffffffffffffffffffffff1661140983611554565b73ffffffffffffffffffffffffffffffffffffffff1603611453578185858151811061143857611437614320565b5b602002602001018181525050838061144f90613f9f565b9450505b6114a1565b8015801561148c5750600085600188611471919061423a565b8151811061148257611481614320565b5b6020026020010151145b156114a057828061149c90613f9f565b9350505b5b5080806114ad90613f9f565b9150506113ce565b5082945050505050919050565b6114ca611fe0565b73ffffffffffffffffffffffffffffffffffffffff166114e86117ab565b73ffffffffffffffffffffffffffffffffffffffff161461153e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153590613d6b565b60405180910390fd5b8181600e919061154f9291906131da565b505050565b600061155f82612727565b600001519050919050565b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016115c89190613748565b602060405180830381865afa1580156115e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116099190614364565b9050600115158315150361162b57600281106116255780611628565b60025b90505b6001151583151514611649576002816116449190613f6e565b61164b565b805b91505092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116bb576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61172b611fe0565b73ffffffffffffffffffffffffffffffffffffffff166117496117ab565b73ffffffffffffffffffffffffffffffffffffffff161461179f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179690613d6b565b60405180910390fd5b6117a960006129b6565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117dd612186565b600260095403611822576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181990614093565b60405180910390fd5b600260098190555060003360405160200161183d91906140fb565b60405160208183030381529060405280519060200120905061185f8382611faa565b61189e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189590614403565b60405180910390fd5b60006118ab33600061156a565b90508083600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118f99190613dba565b111561193a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119319061421a565b60405180910390fd5b82600a6000600167ffffffffffffffff16815260200190815260200160002060030154611967919061423a565b600a6000600167ffffffffffffffff1681526020019081526020016000206003018190555082600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119db9190613dba565b925050819055506119ec33846121c0565b505060016009819055505050565b606060038054611a0990614016565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3590614016565b8015611a825780601f10611a5757610100808354040283529160200191611a82565b820191906000526020600020905b815481529060010190602001808311611a6557829003601f168201915b5050505050905090565b611a94611fe0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611af8576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611b05611fe0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bb2611fe0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bf791906133d7565b60405180910390a35050565b600c6020528060005260406000206000915090505481565b611c26848484612273565b611c458373ffffffffffffffffffffffffffffffffffffffff16612a7c565b8015611c5a5750611c5884848484612a9f565b155b15611c91576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611c9f611fe0565b73ffffffffffffffffffffffffffffffffffffffff16611cbd6117ab565b73ffffffffffffffffffffffffffffffffffffffff1614611d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0a90613d6b565b60405180910390fd5b611d1d8282611fe8565b5050565b6060600e611d2e83612bef565b604051602001611d3f92919061453f565b6040516020818303038152906040529050919050565b600e8054611d6290614016565b80601f0160208091040260200160405190810160405280929190818152602001828054611d8e90614016565b8015611ddb5780601f10611db057610100808354040283529160200191611ddb565b820191906000526020600020905b815481529060010190602001808311611dbe57829003601f168201915b505050505081565b7f00000000000000000000000000000000000000000000000000000000000009c481565b600b6020528060005260406000206000915090505481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ebb611fe0565b73ffffffffffffffffffffffffffffffffffffffff16611ed96117ab565b73ffffffffffffffffffffffffffffffffffffffff1614611f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2690613d6b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f95906145e0565b60405180910390fd5b611fa7816129b6565b50565b6000611fd8600a6000600167ffffffffffffffff168152602001908152602001600020600001548484612070565b905092915050565b600033905090565b612002828260405180602001604052806000815250612d4f565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600061207d838584612d61565b90509392505050565b60008161209161226e565b111580156120a0575060005482105b80156120cd575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146121be57600080fd5b565b7f00000000000000000000000000000000000000000000000000000000000000c87f00000000000000000000000000000000000000000000000000000000000009c461220c919061423a565b81612215611195565b61221f9190613dba565b1115612260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225790613e5c565b60405180910390fd5b61226a8282611fe8565b5050565b600090565b600061227e82612727565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146122e9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661230a611fe0565b73ffffffffffffffffffffffffffffffffffffffff161480612339575061233885612333611fe0565b611e1f565b5b8061237e5750612347611fe0565b73ffffffffffffffffffffffffffffffffffffffff1661236684610d93565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806123b7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361241d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61242a8585856001612d78565b612436600084876120d4565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036126b55760005482146126b457878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127208585856001612d7e565b5050505050565b61272f613260565b60008290508061273d61226e565b1115801561274c575060005481105b1561297f576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161297d57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128615780925050506129b1565b5b60011561297c57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146129775780925050506129b1565b612862565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ac5611fe0565b8786866040518563ffffffff1660e01b8152600401612ae79493929190614655565b6020604051808303816000875af1925050508015612b2357506040513d601f19601f82011682018060405250810190612b2091906146b6565b60015b612b9c573d8060008114612b53576040519150601f19603f3d011682016040523d82523d6000602084013e612b58565b606091505b506000815103612b94576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203612c36576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d4a565b600082905060005b60008214612c68578080612c5190613f9f565b915050600a82612c619190613f6e565b9150612c3e565b60008167ffffffffffffffff811115612c8457612c83613408565b5b6040519080825280601f01601f191660200182016040528015612cb65781602001600182028036833780820191505090505b5090505b60008514612d4357600182612ccf919061423a565b9150600a85612cde9190613eab565b6030612cea9190613dba565b60f81b818381518110612d0057612cff614320565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d3c9190613f6e565b9450612cba565b8093505050505b919050565b612d5c8383836001612d84565b505050565b600082612d6e858461314e565b1490509392505050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612df0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403612e2a576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e376000868387612d78565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561300157506130008773ffffffffffffffffffffffffffffffffffffffff16612a7c565b5b156130c6575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130766000888480600101955088612a9f565b6130ac576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082036130075782600054146130c157600080fd5b613131565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036130c7575b8160008190555050506131476000868387612d7e565b5050505050565b60008082905060005b84518110156131b857600085828151811061317557613174614320565b5b602002602001015190508083116131975761319083826131c3565b92506131a4565b6131a181846131c3565b92505b5080806131b090613f9f565b915050613157565b508091505092915050565b600082600052816020526040600020905092915050565b8280546131e690614016565b90600052602060002090601f016020900481019282613208576000855561324f565b82601f1061322157803560ff191683800117855561324f565b8280016001018555821561324f579182015b8281111561324e578235825591602001919060010190613233565b5b50905061325c91906132a3565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156132bc5760008160009055506001016132a4565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6132e7816132d4565b81146132f257600080fd5b50565b600081359050613304816132de565b92915050565b6000602082840312156133205761331f6132ca565b5b600061332e848285016132f5565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61336c81613337565b811461337757600080fd5b50565b60008135905061338981613363565b92915050565b6000602082840312156133a5576133a46132ca565b5b60006133b38482850161337a565b91505092915050565b60008115159050919050565b6133d1816133bc565b82525050565b60006020820190506133ec60008301846133c8565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613440826133f7565b810181811067ffffffffffffffff8211171561345f5761345e613408565b5b80604052505050565b60006134726132c0565b905061347e8282613437565b919050565b600067ffffffffffffffff82111561349e5761349d613408565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6134c7816134b4565b81146134d257600080fd5b50565b6000813590506134e4816134be565b92915050565b60006134fd6134f884613483565b613468565b905080838252602082019050602084028301858111156135205761351f6134af565b5b835b81811015613549578061353588826134d5565b845260208401935050602081019050613522565b5050509392505050565b600082601f830112613568576135676133f2565b5b81356135788482602086016134ea565b91505092915050565b60008060408385031215613598576135976132ca565b5b600083013567ffffffffffffffff8111156135b6576135b56132cf565b5b6135c285828601613553565b92505060206135d3858286016134d5565b9150509250929050565b600080604083850312156135f4576135f36132ca565b5b6000613602858286016134d5565b9250506020613613858286016134d5565b9150509250929050565b60008060408385031215613634576136336132ca565b5b6000613642858286016132f5565b9250506020613653858286016132f5565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561369757808201518184015260208101905061367c565b838111156136a6576000848401525b50505050565b60006136b78261365d565b6136c18185613668565b93506136d1818560208601613679565b6136da816133f7565b840191505092915050565b600060208201905081810360008301526136ff81846136ac565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061373282613707565b9050919050565b61374281613727565b82525050565b600060208201905061375d6000830184613739565b92915050565b61376c81613727565b811461377757600080fd5b50565b60008135905061378981613763565b92915050565b600080604083850312156137a6576137a56132ca565b5b60006137b48582860161377a565b92505060206137c5858286016132f5565b9150509250929050565b600067ffffffffffffffff82169050919050565b6137ec816137cf565b81146137f757600080fd5b50565b600081359050613809816137e3565b92915050565b600060208284031215613825576138246132ca565b5b6000613833848285016137fa565b91505092915050565b613845816134b4565b82525050565b613854816132d4565b82525050565b613863816137cf565b82525050565b600060a08201905061387e600083018861383c565b61388b602083018761384b565b613898604083018661385a565b6138a5606083018561384b565b6138b260808301846133c8565b9695505050505050565b600080604083850312156138d3576138d26132ca565b5b600083013567ffffffffffffffff8111156138f1576138f06132cf565b5b6138fd85828601613553565b925050602061390e858286016132f5565b9150509250929050565b600060208201905061392d600083018461384b565b92915050565b60008060006060848603121561394c5761394b6132ca565b5b600061395a8682870161377a565b935050602061396b8682870161377a565b925050604061397c868287016132f5565b9150509250925092565b60006020828403121561399c5761399b6132ca565b5b60006139aa8482850161377a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6139e8816132d4565b82525050565b60006139fa83836139df565b60208301905092915050565b6000602082019050919050565b6000613a1e826139b3565b613a2881856139be565b9350613a33836139cf565b8060005b83811015613a64578151613a4b88826139ee565b9750613a5683613a06565b925050600181019050613a37565b5085935050505092915050565b60006020820190508181036000830152613a8b8184613a13565b905092915050565b600080fd5b60008083601f840112613aae57613aad6133f2565b5b8235905067ffffffffffffffff811115613acb57613aca613a93565b5b602083019150836001820283011115613ae757613ae66134af565b5b9250929050565b60008060208385031215613b0557613b046132ca565b5b600083013567ffffffffffffffff811115613b2357613b226132cf565b5b613b2f85828601613a98565b92509250509250929050565b613b44816133bc565b8114613b4f57600080fd5b50565b600081359050613b6181613b3b565b92915050565b60008060408385031215613b7e57613b7d6132ca565b5b6000613b8c8582860161377a565b9250506020613b9d85828601613b52565b9150509250929050565b600080fd5b600067ffffffffffffffff821115613bc757613bc6613408565b5b613bd0826133f7565b9050602081019050919050565b82818337600083830152505050565b6000613bff613bfa84613bac565b613468565b905082815260208101848484011115613c1b57613c1a613ba7565b5b613c26848285613bdd565b509392505050565b600082601f830112613c4357613c426133f2565b5b8135613c53848260208601613bec565b91505092915050565b60008060008060808587031215613c7657613c756132ca565b5b6000613c848782880161377a565b9450506020613c958782880161377a565b9350506040613ca6878288016132f5565b925050606085013567ffffffffffffffff811115613cc757613cc66132cf565b5b613cd387828801613c2e565b91505092959194509250565b60008060408385031215613cf657613cf56132ca565b5b6000613d048582860161377a565b9250506020613d158582860161377a565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d55602083613668565b9150613d6082613d1f565b602082019050919050565b60006020820190508181036000830152613d8481613d48565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613dc5826132d4565b9150613dd0836132d4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e0557613e04613d8b565b5b828201905092915050565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b6000613e46600983613668565b9150613e5182613e10565b602082019050919050565b60006020820190508181036000830152613e7581613e39565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613eb6826132d4565b9150613ec1836132d4565b925082613ed157613ed0613e7c565b5b828206905092915050565b7f43616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060008201527f6d6178426174636853697a650000000000000000000000000000000000000000602082015250565b6000613f38602c83613668565b9150613f4382613edc565b604082019050919050565b60006020820190508181036000830152613f6781613f2b565b9050919050565b6000613f79826132d4565b9150613f84836132d4565b925082613f9457613f93613e7c565b5b828204905092915050565b6000613faa826132d4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613fdc57613fdb613d8b565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061402e57607f821691505b60208210810361404157614040613fe7565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061407d601f83613668565b915061408882614047565b602082019050919050565b600060208201905081810360008301526140ac81614070565b9050919050565b60008160601b9050919050565b60006140cb826140b3565b9050919050565b60006140dd826140c0565b9050919050565b6140f56140f082613727565b6140d2565b82525050565b600061410782846140e4565b60148201915081905092915050565b7f596f7520617265206e6f7420656c696769626c6520666f7220616e206f67206f60008201527f776e6572206d696e740000000000000000000000000000000000000000000000602082015250565b6000614172602983613668565b915061417d82614116565b604082019050919050565b600060208201905081810360008301526141a181614165565b9050919050565b7f4d696e74696e6720616d6f756e74206578636565647320616c6c6f77616e636560008201527f207065722077616c6c6574000000000000000000000000000000000000000000602082015250565b6000614204602b83613668565b915061420f826141a8565b604082019050919050565b60006020820190508181036000830152614233816141f7565b9050919050565b6000614245826132d4565b9150614250836132d4565b92508282101561426357614262613d8b565b5b828203905092915050565b600081905092915050565b50565b600061428960008361426e565b915061429482614279565b600082019050919050565b60006142aa8261427c565b9150819050919050565b7f5472616e73666572206661696c65642e2e000000000000000000000000000000600082015250565b60006142ea601183613668565b91506142f5826142b4565b602082019050919050565b60006020820190508181036000830152614319816142dd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061435e816132de565b92915050565b60006020828403121561437a576143796132ca565b5b60006143888482850161434f565b91505092915050565b7f596f7520617265206e6f7420656c696769626c6520666f7220616e206f776e6560008201527f72206d696e740000000000000000000000000000000000000000000000000000602082015250565b60006143ed602683613668565b91506143f882614391565b604082019050919050565b6000602082019050818103600083015261441c816143e0565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461445081614016565b61445a8186614423565b945060018216600081146144755760018114614486576144b9565b60ff198316865281860193506144b9565b61448f8561442e565b60005b838110156144b157815481890152600182019150602081019050614492565b838801955050505b50505092915050565b60006144cd8261365d565b6144d78185614423565b93506144e7818560208601613679565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614529600583614423565b9150614534826144f3565b600582019050919050565b600061454b8285614443565b915061455782846144c2565b91506145628261451c565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145ca602683613668565b91506145d58261456e565b604082019050919050565b600060208201905081810360008301526145f9816145bd565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061462782614600565b614631818561460b565b9350614641818560208601613679565b61464a816133f7565b840191505092915050565b600060808201905061466a6000830187613739565b6146776020830186613739565b614684604083018561384b565b8181036060830152614696818461461c565b905095945050505050565b6000815190506146b081613363565b92915050565b6000602082840312156146cc576146cb6132ca565b5b60006146da848285016146a1565b9150509291505056fea2646970667358221220b4eed410023a4f4e60fb1d99b122385fc55d9954e166ab41d6969b3003f4a6db64736f6c634300080d0033

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.