ETH Price: $2,449.96 (-2.43%)

Token

Bored Ohms Sewer Apes (BOSA)
 

Overview

Max Total Supply

0 BOSA

Holders

247

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
skippyjay.eth
Balance
1 BOSA
0xDDdD696973fd58dB7Aec22f96FbdCf40371e9fB1
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:
BoredOhmsSewerApes

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : BoredOhmsSewerApes.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./lib/YugaVerifyV3.sol";

contract BoredOhmsSewerApes is ERC721, YugaVerifyV3, Ownable {
    using Strings for uint256;

    address public constant BAYC  = 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D;
    address public constant w1     = 0x3bbCf2972299E6Da5eF830aF78791E3a7ed7278D;
    address public constant w2     = 0xd4E9486E81a73c56BAEeBF1455E114d854DFe7Ff;

    string  public baseURI;
    bool    public mintEnabled     = false;
    uint256 public maxSupply       = 10000;
    uint256 public price           = 0.003 ether;
    uint256 private _totalSupply;

    mapping(uint256 => bool) public minted;

    error MintNotLive();
    error NotEnoughETH();
    error NoneLeft();
    error NotValidToken();
    error TokenAlreadyMinted();
    error TokenDoesNotExist();
    error NotApprovedOrOwner();
    error WithdrawalFailed();

    constructor() ERC721("Bored Ohms Sewer Apes", "BOSA") YugaVerifyV3(0xC3AA9bc72Bd623168860a1e5c6a4530d3D80456c, 0x00000000000076A84feF008CDAbe6409d2FE638B){}

    function mint(uint256[] calldata tokenIds) external payable {
        if (!mintEnabled) {
            revert MintNotLive();
        }

        uint256 numTokens = tokenIds.length;
        if (msg.value < price * numTokens) {
            revert NotEnoughETH();
        }
        if (totalSupply() + numTokens > maxSupply) {
            revert NoneLeft();
        }

        for (uint256 i = 0; i < numTokens; i++) {
            uint256 tokenId = tokenIds[i];
            _tryMint(tokenId);
        }
    }

    function _tryMint(uint256 tokenId) internal {
        if (tokenId >= maxSupply) {
            revert NotValidToken();
        }
        if (minted[tokenId]) {
            revert TokenAlreadyMinted();
        }

        bool isVerified = verifyTokenOwner(
            BAYC,
            tokenId
        );
        if (!isVerified) {
            revert NotApprovedOrOwner();
        }

        minted[tokenId] = true;
        _mint(msg.sender, tokenId);
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) {
            revert TokenDoesNotExist();
        }

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

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

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

    function airdrop(uint256 tokenId, address to) external onlyOwner {
        if (totalSupply() + 1 > maxSupply) {
            revert NoneLeft();
        }
        if (tokenId >= maxSupply) {
            revert NotValidToken();
        }
        if (minted[tokenId]) {
            revert TokenAlreadyMinted();
        }
        bool isVerified = verifyAirdropOwner(
            BAYC,
            tokenId,
            to
        );
        if (!isVerified) {
            revert NotApprovedOrOwner();
        }

        minted[tokenId] = true;
        _mint(to, tokenId);
    }

    function setBaseUri(string memory _baseuri) public onlyOwner {
        baseURI = _baseuri;
    }

    function setPrice(uint256 price_) external onlyOwner {
      price = price_;
    }

    function toggleMinting() external onlyOwner {
        mintEnabled = !mintEnabled;
    }

    function withdrawAll() public onlyOwner {
        uint256 balance = address(this).balance;
        if (balance <= 0) {
            revert NotEnoughETH();
        }
        _withdraw(w1, ((balance * 60) / 100));
        _withdraw(w2, ((balance * 40) / 100));
    }

    function _withdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{value: _amount}("");
        if (!success) {
            revert WithdrawalFailed();
        }
    }
}

File 2 of 12 : YugaVerifyV3.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

interface WarmInterface {
    function ownerOf(
        address contractAddress,
        uint256 tokenId
    ) external view returns (address);
}

interface DelegateCashInterface {
    function checkDelegateForToken(
        address delegate,
        address vault,
        address contract_,
        uint256 tokenId
    ) external view returns (bool);
}

error ZeroAddressCheck();

/**
 * @title YugaVerify - check for token ownership via contract, warm wallet and delegate cash
 * Warm Wallet https://github.com/wenewlabs/public/tree/main/HotWalletProxy
 * Delegate.cash https://github.com/delegatecash/delegation-registry
 */
contract YugaVerifyV3 {
    address public immutable WARM_WALLET_CONTRACT;
    address public immutable DELEGATE_CASH_CONTRACT;

    constructor(address _warmWalletContract, address _delegateCashContract) {
        if (
            _warmWalletContract == address(0) ||
            _delegateCashContract == address(0)
        ) revert ZeroAddressCheck();
        WARM_WALLET_CONTRACT = _warmWalletContract;
        DELEGATE_CASH_CONTRACT = _delegateCashContract;
    }

    /**
     * @notice verify contract token based claim using warm wallet and delegate cash
     * @param tokenContract the smart contract address of the token
     * @param tokenId the tokenId
     * @return bool token ownership check
     */
    function verifyTokenOwner(
        address tokenContract,
        uint256 tokenId
    ) internal view returns (bool) {
        address tokenOwner = IERC721(tokenContract).ownerOf(tokenId);
        if (tokenOwner == address(0)) revert ZeroAddressCheck();
        // 1. check contract token owner
        // 2. check warm wallet delegation - ownerOf()
        //      all delegation
        //      is a mapping of token owner's wallet to hot wallet
        //      coldWalletToHotWallet[owner].walletAddress
        // 3. check delegate.cash delegation - checkDelegateForToken()
        //      checks three forms of delegation all, contract, and contract/token id
        return (
            (msg.sender == tokenOwner ||
                msg.sender ==
                WarmInterface(WARM_WALLET_CONTRACT).ownerOf(
                    tokenContract,
                    tokenId
                ) ||
                DelegateCashInterface(DELEGATE_CASH_CONTRACT)
                    .checkDelegateForToken(
                        msg.sender,
                        tokenOwner,
                        tokenContract,
                        tokenId
                    ))
        );
    }

        /**
     * @notice verify contract token based claim using warm wallet and delegate cash
     * @param tokenContract the smart contract address of the token
     * @param tokenId the tokenId
     * @return bool token ownership check
     */
    function verifyAirdropOwner(
        address tokenContract,
        uint256 tokenId,
        address to
    ) internal view returns (bool) {
        address tokenOwner = IERC721(tokenContract).ownerOf(tokenId);
        if (tokenOwner == address(0)) revert ZeroAddressCheck();
        // 1. check contract token owner
        // 2. check warm wallet delegation - ownerOf()
        //      all delegation
        //      is a mapping of token owner's wallet to hot wallet
        //      coldWalletToHotWallet[owner].walletAddress
        // 3. check delegate.cash delegation - checkDelegateForToken()
        //      checks three forms of delegation all, contract, and contract/token id
        return (
            (to == tokenOwner ||
                to ==
                WarmInterface(WARM_WALLET_CONTRACT).ownerOf(
                    tokenContract,
                    tokenId
                ) ||
                DelegateCashInterface(DELEGATE_CASH_CONTRACT)
                    .checkDelegateForToken(
                        to,
                        tokenOwner,
                        tokenContract,
                        tokenId
                    ))
        );
    }
}

File 3 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @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) {
        _requireMinted(tokenId);

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner or approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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 {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");

        _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 {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @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.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _ownerOf(tokenId) != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId, 1);

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

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

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256, /* firstTokenId */
        uint256 batchSize
    ) internal virtual {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}
}

File 6 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

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

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

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

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

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

File 7 of 12 : 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 8 of 12 : 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 9 of 12 : 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 10 of 12 : 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 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MintNotLive","type":"error"},{"inputs":[],"name":"NoneLeft","type":"error"},{"inputs":[],"name":"NotApprovedOrOwner","type":"error"},{"inputs":[],"name":"NotEnoughETH","type":"error"},{"inputs":[],"name":"NotValidToken","type":"error"},{"inputs":[],"name":"TokenAlreadyMinted","type":"error"},{"inputs":[],"name":"TokenDoesNotExist","type":"error"},{"inputs":[],"name":"WithdrawalFailed","type":"error"},{"inputs":[],"name":"ZeroAddressCheck","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BAYC","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELEGATE_CASH_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WARM_WALLET_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"price_","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"w1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"w2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526008805460ff19169055612710600955660aa87bee538000600a553480156200002c57600080fd5b5073c3aa9bc72bd623168860a1e5c6a4530d3d80456c6d76a84fef008cdabe6409d2fe638b6040518060400160405280601581526020017f426f726564204f686d732053657765722041706573000000000000000000000081525060405180604001604052806004815260200163424f534160e01b8152508160009081620000b591906200021e565b506001620000c482826200021e565b5050506001600160a01b0382161580620000e557506001600160a01b038116155b1562000104576040516399676b1160e01b815260040160405180910390fd5b6001600160a01b039182166080521660a052620001213362000127565b620002ea565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001a457607f821691505b602082108103620001c557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021957600081815260208120601f850160051c81016020861015620001f45750805b601f850160051c820191505b81811015620002155782815560010162000200565b5050505b505050565b81516001600160401b038111156200023a576200023a62000179565b62000252816200024b84546200018f565b84620001cb565b602080601f8311600181146200028a5760008415620002715750858301515b600019600386901b1c1916600185901b17855562000215565b600085815260208120601f198616915b82811015620002bb578886015182559484019460019091019084016200029a565b5085821015620002da5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a0516124446200032c600039600081816105be0152818161151a0152611bfd01526000818161031d0152818161145e0152611b4301526124446000f3fe6080604052600436106101ee5760003560e01c8063853828b61161010d578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb0114610596578063e454fa7d146105ac578063e985e9c5146105e0578063f2fde38b14610600578063f8e93ef91461062057600080fd5b8063b88d4fde1461051c578063bc63f02e1461053c578063c87b56dd1461055c578063d12397301461057c57600080fd5b806395d89b41116100dc57806395d89b41146104b1578063a035b1fe146104c6578063a0bcfc7f146104dc578063a22cb465146104fc57600080fd5b8063853828b6146104365780638da5cb5b1461044b57806391b7f5ed146104695780639582b6e51461048957600080fd5b806342842e0e11610185578063715018a611610154578063715018a6146103b45780637d55094d146103c95780637dc0bf3f146103de5780637e44755b1461040e57600080fd5b806342842e0e1461033f5780636352211e1461035f5780636c0360eb1461037f57806370a082311461039457600080fd5b8063095ea7b3116101c1578063095ea7b3146102aa57806318160ddd146102cc57806323b872dd146102eb5780632cd5859e1461030b57600080fd5b806301ffc9a7146101f357806303cf8a201461022857806306fdde0314610268578063081812fc1461028a575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611c7e565b610633565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061025073d4e9486e81a73c56baeebf1455e114d854dfe7ff81565b6040516001600160a01b03909116815260200161021f565b34801561027457600080fd5b5061027d610685565b60405161021f9190611ceb565b34801561029657600080fd5b506102506102a5366004611cfe565b610717565b3480156102b657600080fd5b506102ca6102c5366004611d2c565b61073e565b005b3480156102d857600080fd5b50600b545b60405190815260200161021f565b3480156102f757600080fd5b506102ca610306366004611d58565b610858565b34801561031757600080fd5b506102507f000000000000000000000000000000000000000000000000000000000000000081565b34801561034b57600080fd5b506102ca61035a366004611d58565b610889565b34801561036b57600080fd5b5061025061037a366004611cfe565b6108a4565b34801561038b57600080fd5b5061027d610904565b3480156103a057600080fd5b506102dd6103af366004611d99565b610992565b3480156103c057600080fd5b506102ca610a18565b3480156103d557600080fd5b506102ca610a4e565b3480156103ea57600080fd5b506102136103f9366004611cfe565b600c6020526000908152604090205460ff1681565b34801561041a57600080fd5b50610250733bbcf2972299e6da5ef830af78791e3a7ed7278d81565b34801561044257600080fd5b506102ca610a8c565b34801561045757600080fd5b506006546001600160a01b0316610250565b34801561047557600080fd5b506102ca610484366004611cfe565b610b31565b34801561049557600080fd5b5061025073bc4ca0eda7647a8ab7c2061c2e118a18a936f13d81565b3480156104bd57600080fd5b5061027d610b60565b3480156104d257600080fd5b506102dd600a5481565b3480156104e857600080fd5b506102ca6104f7366004611e42565b610b6f565b34801561050857600080fd5b506102ca610517366004611e99565b610ba9565b34801561052857600080fd5b506102ca610537366004611ed2565b610bb4565b34801561054857600080fd5b506102ca610557366004611f52565b610bec565b34801561056857600080fd5b5061027d610577366004611cfe565b610cfb565b34801561058857600080fd5b506008546102139060ff1681565b3480156105a257600080fd5b506102dd60095481565b3480156105b857600080fd5b506102507f000000000000000000000000000000000000000000000000000000000000000081565b3480156105ec57600080fd5b506102136105fb366004611f77565b610d8f565b34801561060c57600080fd5b506102ca61061b366004611d99565b610dbd565b6102ca61062e366004611fa5565b610e55565b60006001600160e01b031982166380ac58cd60e01b148061066457506001600160e01b03198216635b5e139f60e01b145b8061067f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546106949061201a565b80601f01602080910402602001604051908101604052809291908181526020018280546106c09061201a565b801561070d5780601f106106e25761010080835404028352916020019161070d565b820191906000526020600020905b8154815290600101906020018083116106f057829003601f168201915b5050505050905090565b600061072282610f22565b506000908152600460205260409020546001600160a01b031690565b6000610749826108a4565b9050806001600160a01b0316836001600160a01b0316036107bb5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806107d757506107d78133610d8f565b6108495760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016107b2565b6108538383610f81565b505050565b6108623382610fef565b61087e5760405162461bcd60e51b81526004016107b290612054565b61085383838361104e565b61085383838360405180602001604052806000815250610bb4565b6000818152600260205260408120546001600160a01b03168061067f5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016107b2565b600780546109119061201a565b80601f016020809104026020016040519081016040528092919081815260200182805461093d9061201a565b801561098a5780601f1061095f5761010080835404028352916020019161098a565b820191906000526020600020905b81548152906001019060200180831161096d57829003601f168201915b505050505081565b60006001600160a01b0382166109fc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016107b2565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610a425760405162461bcd60e51b81526004016107b2906120a1565b610a4c60006111bf565b565b6006546001600160a01b03163314610a785760405162461bcd60e51b81526004016107b2906120a1565b6008805460ff19811660ff90911615179055565b6006546001600160a01b03163314610ab65760405162461bcd60e51b81526004016107b2906120a1565b4780610ad557604051632c1d501360e11b815260040160405180910390fd5b610b09733bbcf2972299e6da5ef830af78791e3a7ed7278d6064610afa84603c6120ec565b610b049190612119565b611211565b610b2e73d4e9486e81a73c56baeebf1455e114d854dfe7ff6064610afa8460286120ec565b50565b6006546001600160a01b03163314610b5b5760405162461bcd60e51b81526004016107b2906120a1565b600a55565b6060600180546106949061201a565b6006546001600160a01b03163314610b995760405162461bcd60e51b81526004016107b2906120a1565b6007610ba5828261217b565b5050565b610ba5338383611285565b610bbe3383610fef565b610bda5760405162461bcd60e51b81526004016107b290612054565b610be684848484611353565b50505050565b6006546001600160a01b03163314610c165760405162461bcd60e51b81526004016107b2906120a1565b600954600b54610c2790600161223b565b1115610c46576040516367309b4560e11b815260040160405180910390fd5b6009548210610c685760405163ee17566b60e01b815260040160405180910390fd5b6000828152600c602052604090205460ff1615610c975760405162a5a1f560e01b815260040160405180910390fd5b6000610cb873bc4ca0eda7647a8ab7c2061c2e118a18a936f13d8484611386565b905080610cd85760405163390cdd9b60e21b815260040160405180910390fd5b6000838152600c60205260409020805460ff19166001179055610853828461158e565b6000818152600260205260409020546060906001600160a01b0316610d335760405163677510db60e11b815260040160405180910390fd5b6000610d3d611727565b90506000815111610d5d5760405180602001604052806000815250610d88565b80610d6784611736565b604051602001610d7892919061224e565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6006546001600160a01b03163314610de75760405162461bcd60e51b81526004016107b2906120a1565b6001600160a01b038116610e4c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107b2565b610b2e816111bf565b60085460ff16610e7857604051630aea1c5d60e01b815260040160405180910390fd5b600a548190610e889082906120ec565b341015610ea857604051632c1d501360e11b815260040160405180910390fd5b60095481610eb5600b5490565b610ebf919061223b565b1115610ede576040516367309b4560e11b815260040160405180910390fd5b60005b81811015610be6576000848483818110610efd57610efd61228d565b905060200201359050610f0f81611837565b5080610f1a816122a3565b915050610ee1565b6000818152600260205260409020546001600160a01b0316610b2e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016107b2565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fb6826108a4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610ffb836108a4565b9050806001600160a01b0316846001600160a01b0316148061102257506110228185610d8f565b806110465750836001600160a01b031661103b84610717565b6001600160a01b0316145b949350505050565b826001600160a01b0316611061826108a4565b6001600160a01b0316146110875760405162461bcd60e51b81526004016107b2906122bc565b6001600160a01b0382166110e95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107b2565b6110f683838360016118eb565b826001600160a01b0316611109826108a4565b6001600160a01b03161461112f5760405162461bcd60e51b81526004016107b2906122bc565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461125e576040519150601f19603f3d011682016040523d82523d6000602084013e611263565b606091505b5050905080610853576040516327fcd9d160e01b815260040160405180910390fd5b816001600160a01b0316836001600160a01b0316036112e65760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107b2565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61135e84848461104e565b61136a84848484611973565b610be65760405162461bcd60e51b81526004016107b290612301565b6040516331a9108f60e11b81526004810183905260009081906001600160a01b03861690636352211e90602401602060405180830381865afa1580156113d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f49190612353565b90506001600160a01b03811661141d576040516399676b1160e01b815260040160405180910390fd5b806001600160a01b0316836001600160a01b031614806114de57506040516307ca74b760e21b81526001600160a01b038681166004830152602482018690527f00000000000000000000000000000000000000000000000000000000000000001690631f29d2dc90604401602060405180830381865afa1580156114a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c99190612353565b6001600160a01b0316836001600160a01b0316145b806115855750604051631574d39f60e31b81526001600160a01b03848116600483015282811660248301528681166044830152606482018690527f0000000000000000000000000000000000000000000000000000000000000000169063aba69cf890608401602060405180830381865afa158015611561573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115859190612370565b95945050505050565b6001600160a01b0382166115e45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107b2565b6000818152600260205260409020546001600160a01b0316156116495760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107b2565b6116576000838360016118eb565b6000818152600260205260409020546001600160a01b0316156116bc5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107b2565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060600780546106949061201a565b60608160000361175d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117875780611771816122a3565b91506117809050600a83612119565b9150611761565b60008167ffffffffffffffff8111156117a2576117a2611db6565b6040519080825280601f01601f1916602001820160405280156117cc576020820181803683370190505b5090505b8415611046576117e160018361238d565b91506117ee600a866123a0565b6117f990603061223b565b60f81b81838151811061180e5761180e61228d565b60200101906001600160f81b031916908160001a905350611830600a86612119565b94506117d0565b60095481106118595760405163ee17566b60e01b815260040160405180910390fd5b6000818152600c602052604090205460ff16156118885760405162a5a1f560e01b815260040160405180910390fd5b60006118a873bc4ca0eda7647a8ab7c2061c2e118a18a936f13d83611a74565b9050806118c85760405163390cdd9b60e21b815260040160405180910390fd5b6000828152600c60205260409020805460ff19166001179055610ba5338361158e565b6001811115610be6576001600160a01b03841615611931576001600160a01b0384166000908152600360205260408120805483929061192b90849061238d565b90915550505b6001600160a01b03831615610be6576001600160a01b0383166000908152600360205260408120805483929061196890849061223b565b909155505050505050565b60006001600160a01b0384163b15611a6957604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906119b79033908990889088906004016123b4565b6020604051808303816000875af19250505080156119f2575060408051601f3d908101601f191682019092526119ef918101906123f1565b60015b611a4f573d808015611a20576040519150601f19603f3d011682016040523d82523d6000602084013e611a25565b606091505b508051600003611a475760405162461bcd60e51b81526004016107b290612301565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611046565b506001949350505050565b6040516331a9108f60e11b81526004810182905260009081906001600160a01b03851690636352211e90602401602060405180830381865afa158015611abe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae29190612353565b90506001600160a01b038116611b0b576040516399676b1160e01b815260040160405180910390fd5b336001600160a01b0382161480611bc357506040516307ca74b760e21b81526001600160a01b038581166004830152602482018590527f00000000000000000000000000000000000000000000000000000000000000001690631f29d2dc90604401602060405180830381865afa158015611b8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bae9190612353565b6001600160a01b0316336001600160a01b0316145b806110465750604051631574d39f60e31b81523360048201526001600160a01b0382811660248301528581166044830152606482018590527f0000000000000000000000000000000000000000000000000000000000000000169063aba69cf890608401602060405180830381865afa158015611c44573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110469190612370565b6001600160e01b031981168114610b2e57600080fd5b600060208284031215611c9057600080fd5b8135610d8881611c68565b60005b83811015611cb6578181015183820152602001611c9e565b50506000910152565b60008151808452611cd7816020860160208601611c9b565b601f01601f19169290920160200192915050565b602081526000610d886020830184611cbf565b600060208284031215611d1057600080fd5b5035919050565b6001600160a01b0381168114610b2e57600080fd5b60008060408385031215611d3f57600080fd5b8235611d4a81611d17565b946020939093013593505050565b600080600060608486031215611d6d57600080fd5b8335611d7881611d17565b92506020840135611d8881611d17565b929592945050506040919091013590565b600060208284031215611dab57600080fd5b8135610d8881611d17565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611de757611de7611db6565b604051601f8501601f19908116603f01168101908282118183101715611e0f57611e0f611db6565b81604052809350858152868686011115611e2857600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611e5457600080fd5b813567ffffffffffffffff811115611e6b57600080fd5b8201601f81018413611e7c57600080fd5b61104684823560208401611dcc565b8015158114610b2e57600080fd5b60008060408385031215611eac57600080fd5b8235611eb781611d17565b91506020830135611ec781611e8b565b809150509250929050565b60008060008060808587031215611ee857600080fd5b8435611ef381611d17565b93506020850135611f0381611d17565b925060408501359150606085013567ffffffffffffffff811115611f2657600080fd5b8501601f81018713611f3757600080fd5b611f4687823560208401611dcc565b91505092959194509250565b60008060408385031215611f6557600080fd5b823591506020830135611ec781611d17565b60008060408385031215611f8a57600080fd5b8235611f9581611d17565b91506020830135611ec781611d17565b60008060208385031215611fb857600080fd5b823567ffffffffffffffff80821115611fd057600080fd5b818501915085601f830112611fe457600080fd5b813581811115611ff357600080fd5b8660208260051b850101111561200857600080fd5b60209290920196919550909350505050565b600181811c9082168061202e57607f821691505b60208210810361204e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761067f5761067f6120d6565b634e487b7160e01b600052601260045260246000fd5b60008261212857612128612103565b500490565b601f82111561085357600081815260208120601f850160051c810160208610156121545750805b601f850160051c820191505b8181101561217357828155600101612160565b505050505050565b815167ffffffffffffffff81111561219557612195611db6565b6121a9816121a3845461201a565b8461212d565b602080601f8311600181146121de57600084156121c65750858301515b600019600386901b1c1916600185901b178555612173565b600085815260208120601f198616915b8281101561220d578886015182559484019460019091019084016121ee565b508582101561222b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8082018082111561067f5761067f6120d6565b60008351612260818460208801611c9b565b835190830190612274818360208801611c9b565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016122b5576122b56120d6565b5060010190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006020828403121561236557600080fd5b8151610d8881611d17565b60006020828403121561238257600080fd5b8151610d8881611e8b565b8181038181111561067f5761067f6120d6565b6000826123af576123af612103565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123e790830184611cbf565b9695505050505050565b60006020828403121561240357600080fd5b8151610d8881611c6856fea264697066735822122094bcc8a3c260f551f9e297804ee6a5f104fadcbc85da7cb10c9958b9e5d436c764736f6c63430008130033

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c8063853828b61161010d578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb0114610596578063e454fa7d146105ac578063e985e9c5146105e0578063f2fde38b14610600578063f8e93ef91461062057600080fd5b8063b88d4fde1461051c578063bc63f02e1461053c578063c87b56dd1461055c578063d12397301461057c57600080fd5b806395d89b41116100dc57806395d89b41146104b1578063a035b1fe146104c6578063a0bcfc7f146104dc578063a22cb465146104fc57600080fd5b8063853828b6146104365780638da5cb5b1461044b57806391b7f5ed146104695780639582b6e51461048957600080fd5b806342842e0e11610185578063715018a611610154578063715018a6146103b45780637d55094d146103c95780637dc0bf3f146103de5780637e44755b1461040e57600080fd5b806342842e0e1461033f5780636352211e1461035f5780636c0360eb1461037f57806370a082311461039457600080fd5b8063095ea7b3116101c1578063095ea7b3146102aa57806318160ddd146102cc57806323b872dd146102eb5780632cd5859e1461030b57600080fd5b806301ffc9a7146101f357806303cf8a201461022857806306fdde0314610268578063081812fc1461028a575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611c7e565b610633565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061025073d4e9486e81a73c56baeebf1455e114d854dfe7ff81565b6040516001600160a01b03909116815260200161021f565b34801561027457600080fd5b5061027d610685565b60405161021f9190611ceb565b34801561029657600080fd5b506102506102a5366004611cfe565b610717565b3480156102b657600080fd5b506102ca6102c5366004611d2c565b61073e565b005b3480156102d857600080fd5b50600b545b60405190815260200161021f565b3480156102f757600080fd5b506102ca610306366004611d58565b610858565b34801561031757600080fd5b506102507f000000000000000000000000c3aa9bc72bd623168860a1e5c6a4530d3d80456c81565b34801561034b57600080fd5b506102ca61035a366004611d58565b610889565b34801561036b57600080fd5b5061025061037a366004611cfe565b6108a4565b34801561038b57600080fd5b5061027d610904565b3480156103a057600080fd5b506102dd6103af366004611d99565b610992565b3480156103c057600080fd5b506102ca610a18565b3480156103d557600080fd5b506102ca610a4e565b3480156103ea57600080fd5b506102136103f9366004611cfe565b600c6020526000908152604090205460ff1681565b34801561041a57600080fd5b50610250733bbcf2972299e6da5ef830af78791e3a7ed7278d81565b34801561044257600080fd5b506102ca610a8c565b34801561045757600080fd5b506006546001600160a01b0316610250565b34801561047557600080fd5b506102ca610484366004611cfe565b610b31565b34801561049557600080fd5b5061025073bc4ca0eda7647a8ab7c2061c2e118a18a936f13d81565b3480156104bd57600080fd5b5061027d610b60565b3480156104d257600080fd5b506102dd600a5481565b3480156104e857600080fd5b506102ca6104f7366004611e42565b610b6f565b34801561050857600080fd5b506102ca610517366004611e99565b610ba9565b34801561052857600080fd5b506102ca610537366004611ed2565b610bb4565b34801561054857600080fd5b506102ca610557366004611f52565b610bec565b34801561056857600080fd5b5061027d610577366004611cfe565b610cfb565b34801561058857600080fd5b506008546102139060ff1681565b3480156105a257600080fd5b506102dd60095481565b3480156105b857600080fd5b506102507f00000000000000000000000000000000000076a84fef008cdabe6409d2fe638b81565b3480156105ec57600080fd5b506102136105fb366004611f77565b610d8f565b34801561060c57600080fd5b506102ca61061b366004611d99565b610dbd565b6102ca61062e366004611fa5565b610e55565b60006001600160e01b031982166380ac58cd60e01b148061066457506001600160e01b03198216635b5e139f60e01b145b8061067f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546106949061201a565b80601f01602080910402602001604051908101604052809291908181526020018280546106c09061201a565b801561070d5780601f106106e25761010080835404028352916020019161070d565b820191906000526020600020905b8154815290600101906020018083116106f057829003601f168201915b5050505050905090565b600061072282610f22565b506000908152600460205260409020546001600160a01b031690565b6000610749826108a4565b9050806001600160a01b0316836001600160a01b0316036107bb5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806107d757506107d78133610d8f565b6108495760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016107b2565b6108538383610f81565b505050565b6108623382610fef565b61087e5760405162461bcd60e51b81526004016107b290612054565b61085383838361104e565b61085383838360405180602001604052806000815250610bb4565b6000818152600260205260408120546001600160a01b03168061067f5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016107b2565b600780546109119061201a565b80601f016020809104026020016040519081016040528092919081815260200182805461093d9061201a565b801561098a5780601f1061095f5761010080835404028352916020019161098a565b820191906000526020600020905b81548152906001019060200180831161096d57829003601f168201915b505050505081565b60006001600160a01b0382166109fc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016107b2565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610a425760405162461bcd60e51b81526004016107b2906120a1565b610a4c60006111bf565b565b6006546001600160a01b03163314610a785760405162461bcd60e51b81526004016107b2906120a1565b6008805460ff19811660ff90911615179055565b6006546001600160a01b03163314610ab65760405162461bcd60e51b81526004016107b2906120a1565b4780610ad557604051632c1d501360e11b815260040160405180910390fd5b610b09733bbcf2972299e6da5ef830af78791e3a7ed7278d6064610afa84603c6120ec565b610b049190612119565b611211565b610b2e73d4e9486e81a73c56baeebf1455e114d854dfe7ff6064610afa8460286120ec565b50565b6006546001600160a01b03163314610b5b5760405162461bcd60e51b81526004016107b2906120a1565b600a55565b6060600180546106949061201a565b6006546001600160a01b03163314610b995760405162461bcd60e51b81526004016107b2906120a1565b6007610ba5828261217b565b5050565b610ba5338383611285565b610bbe3383610fef565b610bda5760405162461bcd60e51b81526004016107b290612054565b610be684848484611353565b50505050565b6006546001600160a01b03163314610c165760405162461bcd60e51b81526004016107b2906120a1565b600954600b54610c2790600161223b565b1115610c46576040516367309b4560e11b815260040160405180910390fd5b6009548210610c685760405163ee17566b60e01b815260040160405180910390fd5b6000828152600c602052604090205460ff1615610c975760405162a5a1f560e01b815260040160405180910390fd5b6000610cb873bc4ca0eda7647a8ab7c2061c2e118a18a936f13d8484611386565b905080610cd85760405163390cdd9b60e21b815260040160405180910390fd5b6000838152600c60205260409020805460ff19166001179055610853828461158e565b6000818152600260205260409020546060906001600160a01b0316610d335760405163677510db60e11b815260040160405180910390fd5b6000610d3d611727565b90506000815111610d5d5760405180602001604052806000815250610d88565b80610d6784611736565b604051602001610d7892919061224e565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6006546001600160a01b03163314610de75760405162461bcd60e51b81526004016107b2906120a1565b6001600160a01b038116610e4c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107b2565b610b2e816111bf565b60085460ff16610e7857604051630aea1c5d60e01b815260040160405180910390fd5b600a548190610e889082906120ec565b341015610ea857604051632c1d501360e11b815260040160405180910390fd5b60095481610eb5600b5490565b610ebf919061223b565b1115610ede576040516367309b4560e11b815260040160405180910390fd5b60005b81811015610be6576000848483818110610efd57610efd61228d565b905060200201359050610f0f81611837565b5080610f1a816122a3565b915050610ee1565b6000818152600260205260409020546001600160a01b0316610b2e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016107b2565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fb6826108a4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610ffb836108a4565b9050806001600160a01b0316846001600160a01b0316148061102257506110228185610d8f565b806110465750836001600160a01b031661103b84610717565b6001600160a01b0316145b949350505050565b826001600160a01b0316611061826108a4565b6001600160a01b0316146110875760405162461bcd60e51b81526004016107b2906122bc565b6001600160a01b0382166110e95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107b2565b6110f683838360016118eb565b826001600160a01b0316611109826108a4565b6001600160a01b03161461112f5760405162461bcd60e51b81526004016107b2906122bc565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461125e576040519150601f19603f3d011682016040523d82523d6000602084013e611263565b606091505b5050905080610853576040516327fcd9d160e01b815260040160405180910390fd5b816001600160a01b0316836001600160a01b0316036112e65760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107b2565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61135e84848461104e565b61136a84848484611973565b610be65760405162461bcd60e51b81526004016107b290612301565b6040516331a9108f60e11b81526004810183905260009081906001600160a01b03861690636352211e90602401602060405180830381865afa1580156113d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f49190612353565b90506001600160a01b03811661141d576040516399676b1160e01b815260040160405180910390fd5b806001600160a01b0316836001600160a01b031614806114de57506040516307ca74b760e21b81526001600160a01b038681166004830152602482018690527f000000000000000000000000c3aa9bc72bd623168860a1e5c6a4530d3d80456c1690631f29d2dc90604401602060405180830381865afa1580156114a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c99190612353565b6001600160a01b0316836001600160a01b0316145b806115855750604051631574d39f60e31b81526001600160a01b03848116600483015282811660248301528681166044830152606482018690527f00000000000000000000000000000000000076a84fef008cdabe6409d2fe638b169063aba69cf890608401602060405180830381865afa158015611561573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115859190612370565b95945050505050565b6001600160a01b0382166115e45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107b2565b6000818152600260205260409020546001600160a01b0316156116495760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107b2565b6116576000838360016118eb565b6000818152600260205260409020546001600160a01b0316156116bc5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107b2565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060600780546106949061201a565b60608160000361175d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117875780611771816122a3565b91506117809050600a83612119565b9150611761565b60008167ffffffffffffffff8111156117a2576117a2611db6565b6040519080825280601f01601f1916602001820160405280156117cc576020820181803683370190505b5090505b8415611046576117e160018361238d565b91506117ee600a866123a0565b6117f990603061223b565b60f81b81838151811061180e5761180e61228d565b60200101906001600160f81b031916908160001a905350611830600a86612119565b94506117d0565b60095481106118595760405163ee17566b60e01b815260040160405180910390fd5b6000818152600c602052604090205460ff16156118885760405162a5a1f560e01b815260040160405180910390fd5b60006118a873bc4ca0eda7647a8ab7c2061c2e118a18a936f13d83611a74565b9050806118c85760405163390cdd9b60e21b815260040160405180910390fd5b6000828152600c60205260409020805460ff19166001179055610ba5338361158e565b6001811115610be6576001600160a01b03841615611931576001600160a01b0384166000908152600360205260408120805483929061192b90849061238d565b90915550505b6001600160a01b03831615610be6576001600160a01b0383166000908152600360205260408120805483929061196890849061223b565b909155505050505050565b60006001600160a01b0384163b15611a6957604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906119b79033908990889088906004016123b4565b6020604051808303816000875af19250505080156119f2575060408051601f3d908101601f191682019092526119ef918101906123f1565b60015b611a4f573d808015611a20576040519150601f19603f3d011682016040523d82523d6000602084013e611a25565b606091505b508051600003611a475760405162461bcd60e51b81526004016107b290612301565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611046565b506001949350505050565b6040516331a9108f60e11b81526004810182905260009081906001600160a01b03851690636352211e90602401602060405180830381865afa158015611abe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae29190612353565b90506001600160a01b038116611b0b576040516399676b1160e01b815260040160405180910390fd5b336001600160a01b0382161480611bc357506040516307ca74b760e21b81526001600160a01b038581166004830152602482018590527f000000000000000000000000c3aa9bc72bd623168860a1e5c6a4530d3d80456c1690631f29d2dc90604401602060405180830381865afa158015611b8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bae9190612353565b6001600160a01b0316336001600160a01b0316145b806110465750604051631574d39f60e31b81523360048201526001600160a01b0382811660248301528581166044830152606482018590527f00000000000000000000000000000000000076a84fef008cdabe6409d2fe638b169063aba69cf890608401602060405180830381865afa158015611c44573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110469190612370565b6001600160e01b031981168114610b2e57600080fd5b600060208284031215611c9057600080fd5b8135610d8881611c68565b60005b83811015611cb6578181015183820152602001611c9e565b50506000910152565b60008151808452611cd7816020860160208601611c9b565b601f01601f19169290920160200192915050565b602081526000610d886020830184611cbf565b600060208284031215611d1057600080fd5b5035919050565b6001600160a01b0381168114610b2e57600080fd5b60008060408385031215611d3f57600080fd5b8235611d4a81611d17565b946020939093013593505050565b600080600060608486031215611d6d57600080fd5b8335611d7881611d17565b92506020840135611d8881611d17565b929592945050506040919091013590565b600060208284031215611dab57600080fd5b8135610d8881611d17565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611de757611de7611db6565b604051601f8501601f19908116603f01168101908282118183101715611e0f57611e0f611db6565b81604052809350858152868686011115611e2857600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611e5457600080fd5b813567ffffffffffffffff811115611e6b57600080fd5b8201601f81018413611e7c57600080fd5b61104684823560208401611dcc565b8015158114610b2e57600080fd5b60008060408385031215611eac57600080fd5b8235611eb781611d17565b91506020830135611ec781611e8b565b809150509250929050565b60008060008060808587031215611ee857600080fd5b8435611ef381611d17565b93506020850135611f0381611d17565b925060408501359150606085013567ffffffffffffffff811115611f2657600080fd5b8501601f81018713611f3757600080fd5b611f4687823560208401611dcc565b91505092959194509250565b60008060408385031215611f6557600080fd5b823591506020830135611ec781611d17565b60008060408385031215611f8a57600080fd5b8235611f9581611d17565b91506020830135611ec781611d17565b60008060208385031215611fb857600080fd5b823567ffffffffffffffff80821115611fd057600080fd5b818501915085601f830112611fe457600080fd5b813581811115611ff357600080fd5b8660208260051b850101111561200857600080fd5b60209290920196919550909350505050565b600181811c9082168061202e57607f821691505b60208210810361204e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761067f5761067f6120d6565b634e487b7160e01b600052601260045260246000fd5b60008261212857612128612103565b500490565b601f82111561085357600081815260208120601f850160051c810160208610156121545750805b601f850160051c820191505b8181101561217357828155600101612160565b505050505050565b815167ffffffffffffffff81111561219557612195611db6565b6121a9816121a3845461201a565b8461212d565b602080601f8311600181146121de57600084156121c65750858301515b600019600386901b1c1916600185901b178555612173565b600085815260208120601f198616915b8281101561220d578886015182559484019460019091019084016121ee565b508582101561222b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8082018082111561067f5761067f6120d6565b60008351612260818460208801611c9b565b835190830190612274818360208801611c9b565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016122b5576122b56120d6565b5060010190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006020828403121561236557600080fd5b8151610d8881611d17565b60006020828403121561238257600080fd5b8151610d8881611e8b565b8181038181111561067f5761067f6120d6565b6000826123af576123af612103565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123e790830184611cbf565b9695505050505050565b60006020828403121561240357600080fd5b8151610d8881611c6856fea264697066735822122094bcc8a3c260f551f9e297804ee6a5f104fadcbc85da7cb10c9958b9e5d436c764736f6c63430008130033

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.