ETH Price: $3,376.28 (+0.27%)

Token

Bored Founders Club (Founders NFT) (BFC(FOUNDERS))
 

Overview

Max Total Supply

500 BFC(FOUNDERS)

Holders

439

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
xmstan.eth
Balance
1 BFC(FOUNDERS)
0x16bb37c97b28a71303493b033ae39713b577cd36
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Bored Founders Club (BFC) is a global community of web3 enthusiasts. Developers, founders, creators, investors and more.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BFCFoundersNFT

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

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

// https://www.boredfoundersclub.com

// Deploy and contract customizations by: Harry89pl
// ERC721A creator: Chiru Labs

pragma solidity ^0.8.4;

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

    error ApprovalCallerNotOwnerNorApproved();
    error ApprovalQueryForNonexistentToken();
    error ApproveToCaller();
    error ApprovalToCurrentOwner();
    error BalanceQueryForZeroAddress();
    error MintToZeroAddress();
    error MintZeroQuantity();
    error OwnerQueryForNonexistentToken();
    error TransferCallerNotOwnerNorApproved();
    error TransferFromIncorrectOwner();
    error TransferToNonERC721ReceiverImplementer();
    error TransferToZeroAddress();
    error URIQueryForNonexistentToken();

contract BFCFoundersNFT is Context, ERC165, IERC721, IERC721Metadata, Ownable {
    using Address for address;
    using Strings for uint256;

    struct AddressData {
        uint16 balance;

        uint8 whitelistSpots;
    }

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    string private _base_uri = "https://storageapi.fleek.co/6a646ebd-03fd-4080-81d1-9d522e4e1101-bucket/BFC%20Founders/";

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => address) internal _ownerships;

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

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    uint16 public maxSupply = 500;

    string private _contractMetadataURI = "https://bafkreihuhqpebwa6oury24tokrq6eyi4zc6ic33lyxtqbgt5px4f5yjd7e.ipfs.nftstorage.link";

    bool private _airdrop = false;

    constructor(string memory name_, string memory symbol_, string memory baseUri_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
        _base_uri = baseUri_;
    }

    function airdrop(address oldContractAddress_, uint16 tokenAirdropCount_) public onlyOwner {
        require(_airdrop == false, "it is one time method");
        uint256 updatedIndex = _currentIndex;

        while(updatedIndex <= tokenAirdropCount_) {
            address oldOwner = IERC721(oldContractAddress_).ownerOf(updatedIndex);
            _safeMint(oldOwner, 1);
            updatedIndex = updatedIndex + 1;
        }

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

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        return _currentIndex - _startTokenId();
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
        interfaceId == type(IERC721).interfaceId ||
        interfaceId == type(IERC721Metadata).interfaceId ||
        super.supportsInterface(interfaceId);
    }

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

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

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (address) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                if (_ownerships[curr] != address(0)) {
                    return _ownerships[curr];
                }
                // Invariant:
                // There will always be an ownership that has an address and is not burned
                // before an ownership that does not have an address and is not burned.
                // Hence, curr will not underflow.
                while (true) {
                    curr--;
                    if (_ownerships[curr] != address(0)) {
                        return _ownerships[curr];
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return string(abi.encodePacked(baseURI, tokenId.toString(), ".json"));
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return _base_uri;
    }

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

        return uint256(_addressData[owner].balance);
    }

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

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

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

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

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        // current index is number of currently minted token id
        // that's why we need to check _currentIndex - 1 <= maxSupply
        require(_currentIndex <= maxSupply, "total supply exceeded");
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
    unchecked {
        _addressData[to].balance += uint16(quantity);
        _ownerships[startTokenId] = to;

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {

        if (_ownershipOf(tokenId) != from) revert TransferFromIncorrectOwner();

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    function batchAddToWhitelist(
        address [] calldata recipients,
        uint8 [] calldata quantities
    ) public onlyOwner {
        for(uint16 i = 0; i < recipients.length; i++) {
            _addressData[recipients[i]].whitelistSpots = quantities[i];
        }
    }

    function changeBaseUri(
        string calldata newBaseUri
    ) public onlyOwner {
        _base_uri = newBaseUri;
    }

    function mint() public {
        require(_addressData[msg.sender].whitelistSpots > 0, "caller not whitelisted");

        _safeMint(msg.sender, 1);
        _addressData[msg.sender].whitelistSpots = _addressData[msg.sender].whitelistSpots - 1;
    }

    function batchMint(uint16 amount) public {
        require(_addressData[msg.sender].whitelistSpots >= amount, "caller not whitelisted for enough copies");

        for(uint i = 0; i < amount; i++) {
            _safeMint(msg.sender, 1);
            _addressData[msg.sender].whitelistSpots = _addressData[msg.sender].whitelistSpots - 1;
        }
    }

    function getWLSpots() public view returns (uint8) {
        return _addressData[msg.sender].whitelistSpots;
    }

    function contractURI() public view returns (string memory) {
        return _contractMetadataURI;
    }

    function setContractMetadataURI(string calldata newContractMetadataUri) public onlyOwner {
        _contractMetadataURI = newContractMetadataUri;
    }
}
// harry89pl was here

File 2 of 10 : 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 3 of 10 : 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 4 of 10 : 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 5 of 10 : 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 6 of 10 : 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 7 of 10 : 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 8 of 10 : 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 9 of 10 : 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 10 of 10 : 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"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"baseUri_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"oldContractAddress_","type":"address"},{"internalType":"uint16","name":"tokenAirdropCount_","type":"uint16"}],"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":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint8[]","name":"quantities","type":"uint8[]"}],"name":"batchAddToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseUri","type":"string"}],"name":"changeBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","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":[],"name":"getWLSpots","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractMetadataUri","type":"string"}],"name":"setContractMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610100604052605760808181529062001eba60a03980516200002a916004916020909101906200014e565b506009805461ffff19166101f41790556040805160808101909152605880825262001f11602083013980516200006991600a916020909101906200014e565b50600b805460ff191690553480156200008157600080fd5b5060405162001f6938038062001f69833981016040819052620000a491620002a7565b620000af33620000fe565b8251620000c49060029060208601906200014e565b508151620000da9060039060208501906200014e565b50600180558051620000f49060049060208401906200014e565b5050505062000387565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200015c9062000334565b90600052602060002090601f016020900481019282620001805760008555620001cb565b82601f106200019b57805160ff1916838001178555620001cb565b82800160010185558215620001cb579182015b82811115620001cb578251825591602001919060010190620001ae565b50620001d9929150620001dd565b5090565b5b80821115620001d95760008155600101620001de565b600082601f83011262000205578081fd5b81516001600160401b038082111562000222576200022262000371565b604051601f8301601f19908116603f011681019082821181831017156200024d576200024d62000371565b8160405283815260209250868385880101111562000269578485fd5b8491505b838210156200028c57858201830151818301840152908201906200026d565b838211156200029d57848385830101525b9695505050505050565b600080600060608486031215620002bc578283fd5b83516001600160401b0380821115620002d3578485fd5b620002e187838801620001f4565b94506020860151915080821115620002f7578384fd5b6200030587838801620001f4565b935060408601519150808211156200031b578283fd5b506200032a86828701620001f4565b9150509250925092565b600181811c908216806200034957607f821691505b602082108114156200036b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611b2380620003976000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80638da5cb5b116100de578063c87b56dd11610097578063e8a3d48511610071578063e8a3d4851461036c578063e985e9c514610374578063ec8d130b146103b0578063f2fde38b146103c357600080fd5b8063c87b56dd14610325578063cd08f22b14610338578063d5abeb011461034b57600080fd5b80638da5cb5b146102c057806395d89b41146102d1578063a201fc50146102d9578063a22cb465146102ec578063a53c1e86146102ff578063b88d4fde1461031257600080fd5b806318160ddd1161014b578063492d306b11610125578063492d306b1461027f5780636352211e1461029257806370a08231146102a5578063715018a6146102b857600080fd5b806318160ddd1461024357806323b872dd1461025957806342842e0e1461026c57600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb5780630f9080ec146102105780631249c58b1461023b575b600080fd5b6101a66101a136600461177a565b6103d6565b60405190151581526020015b60405180910390f35b6101c3610428565b6040516101b2919061191a565b6101e36101de366004611839565b6104ba565b6040516001600160a01b0390911681526020016101b2565b61020e6102093660046116e6565b6104fe565b005b3360009081526006602052604090205462010000900460ff1660405160ff90911681526020016101b2565b61020e61058c565b61024b61064b565b6040519081526020016101b2565b61020e610267366004611568565b610660565b61020e61027a366004611568565b61066b565b61020e61028d3660046117b2565b610686565b6101e36102a0366004611839565b6106bc565b61024b6102b33660046114f1565b6106c7565b61020e610710565b6000546001600160a01b03166101e3565b6101c3610746565b61020e6102e73660046117b2565b610755565b61020e6102fa366004611681565b61078b565b61020e61030d366004611711565b610821565b61020e6103203660046115a8565b61091d565b6101c3610333366004611839565b61096e565b61020e61034636600461181f565b6109d4565b6009546103599061ffff1681565b60405161ffff90911681526020016101b2565b6101c3610ad1565b6101a6610382366004611530565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b61020e6103be3660046116b2565b610ae0565b61020e6103d13660046114f1565b610c11565b60006001600160e01b031982166380ac58cd60e01b148061040757506001600160e01b03198216635b5e139f60e01b145b8061042257506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610437906119f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610463906119f4565b80156104b05780601f10610485576101008083540402835291602001916104b0565b820191906000526020600020905b81548152906001019060200180831161049357829003601f168201915b5050505050905090565b60006104c582610cac565b6104e2576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610509826106bc565b9050806001600160a01b0316836001600160a01b0316141561053e5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061055e575061055c8133610382565b155b1561057c576040516367d9dca160e11b815260040160405180910390fd5b610587838383610cc2565b505050565b3360009081526006602052604090205462010000900460ff166105ef5760405162461bcd60e51b815260206004820152601660248201527518d85b1b195c881b9bdd081dda1a5d195b1a5cdd195960521b60448201526064015b60405180910390fd5b6105fa336001610d1e565b3360009081526006602052604090205461061f9060019062010000900460ff166119a5565b336000908152600660205260409020805460ff92909216620100000262ff000019909216919091179055565b60006001805461065b919061198e565b905090565b610587838383610d38565b6105878383836040518060200160405280600081525061091d565b6000546001600160a01b031633146106b05760405162461bcd60e51b81526004016105e69061192d565b610587600483836113f7565b600061042282610ef6565b60006001600160a01b0382166106f0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205461ffff1690565b6000546001600160a01b0316331461073a5760405162461bcd60e51b81526004016105e69061192d565b6107446000610fa8565b565b606060038054610437906119f4565b6000546001600160a01b0316331461077f5760405162461bcd60e51b81526004016105e69061192d565b610587600a83836113f7565b6001600160a01b0382163314156107b55760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b0316331461084b5760405162461bcd60e51b81526004016105e69061192d565b60005b61ffff81168411156109165782828261ffff1681811061087e57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906108939190611851565b6006600087878561ffff168181106108bb57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906108d091906114f1565b6001600160a01b031681526020810191909152604001600020805460ff92909216620100000262ff0000199092169190911790558061090e81611a2f565b91505061084e565b5050505050565b610928848484610d38565b6001600160a01b0383163b1515801561094a575061094884848484610ff8565b155b15610968576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061097982610cac565b61099657604051630a14c4b560e41b815260040160405180910390fd5b60006109a06110f0565b9050806109ac846110ff565b6040516020016109bd92919061189e565b604051602081830303815290604052915050919050565b3360009081526006602052604090205461ffff82166201000090910460ff161015610a525760405162461bcd60e51b815260206004820152602860248201527f63616c6c6572206e6f742077686974656c697374656420666f7220656e6f75676044820152676820636f7069657360c01b60648201526084016105e6565b60005b8161ffff16811015610acd57610a6c336001610d1e565b33600090815260066020526040902054610a919060019062010000900460ff166119a5565b336000908152600660205260409020805460ff92909216620100000262ff00001990921691909117905580610ac581611a51565b915050610a55565b5050565b6060600a8054610437906119f4565b6000546001600160a01b03163314610b0a5760405162461bcd60e51b81526004016105e69061192d565b600b5460ff1615610b555760405162461bcd60e51b81526020600482015260156024820152741a5d081a5cc81bdb99481d1a5b59481b595d1a1bd9605a1b60448201526064016105e6565b6001545b8161ffff168111610bff576040516331a9108f60e11b8152600481018290526000906001600160a01b03851690636352211e9060240160206040518083038186803b158015610ba757600080fd5b505afa158015610bbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdf9190611514565b9050610bec816001610d1e565b610bf7826001611962565b915050610b59565b5050600b805460ff1916600117905550565b6000546001600160a01b03163314610c3b5760405162461bcd60e51b81526004016105e69061192d565b6001600160a01b038116610ca05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105e6565b610ca981610fa8565b50565b6000816001111580156104225750506001541190565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610acd828260405180602001604052806000815250611219565b826001600160a01b0316610d4b82610ef6565b6001600160a01b031614610d715760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0385161480610d8f5750610d8f8433610382565b80610daa575033610d9f836104ba565b6001600160a01b0316145b905080610dca57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038316610df157604051633a954ecd60e21b815260040160405180910390fd5b610dfd60008386610cc2565b6001600160a01b038481166000908152600660209081526040808320805461ffff1980821661ffff928316600019018316179092558886168086528386208054938416938316600190810190931693909317909255878552600590935281842080546001600160a01b0319169091179055908501808352912054909116610eaf576001548114610eaf57600081815260056020526040902080546001600160a01b0319166001600160a01b0387161790555b5081836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610968565b60008180600111158015610f0b575060015481105b15610f8f576000818152600560205260409020546001600160a01b031615610f4b576000908152600560205260409020546001600160a01b031692915050565b600019016000818152600560205260409020546001600160a01b031615610f8a576000908152600560205260409020546001600160a01b031692915050565b610f4b565b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061102d9033908990889088906004016118dd565b602060405180830381600087803b15801561104757600080fd5b505af1925050508015611077575060408051601f3d908101601f1916820190925261107491810190611796565b60015b6110d2573d8080156110a5576040519150601f19603f3d011682016040523d82523d6000602084013e6110aa565b606091505b5080516110ca576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060048054610437906119f4565b6060816111235750506040805180820190915260018152600360fc1b602082015290565b8160005b811561114d578061113781611a51565b91506111469050600a8361197a565b9150611127565b60008167ffffffffffffffff81111561117657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111a0576020820181803683370190505b5090505b84156110e8576111b560018361198e565b91506111c2600a86611a6c565b6111cd906030611962565b60f81b8183815181106111f057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611212600a8661197a565b94506111a4565b610587838383600160095460015461ffff90911610156112735760405162461bcd60e51b81526020600482015260156024820152741d1bdd185b081cdd5c1c1b1e48195e18d959591959605a1b60448201526064016105e6565b6001546001600160a01b03851661129c57604051622e076360e81b815260040160405180910390fd5b836112ba5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0385166000818152600660209081526040808320805461ffff8082168b011661ffff199091161790558483526005909152902080546001600160a01b03191690911790558080850183801561131f57506001600160a01b0387163b15155b156113a8575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46113706000888480600101955088610ff8565b61138d576040516368d2bf6b60e11b815260040160405180910390fd5b808214156113255782600154146113a357600080fd5b6113ee565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156113a9575b50600155610916565b828054611403906119f4565b90600052602060002090601f016020900481019282611425576000855561146b565b82601f1061143e5782800160ff1982351617855561146b565b8280016001018555821561146b579182015b8281111561146b578235825591602001919060010190611450565b5061147792915061147b565b5090565b5b80821115611477576000815560010161147c565b60008083601f8401126114a1578081fd5b50813567ffffffffffffffff8111156114b8578182fd5b6020830191508360208260051b85010111156114d357600080fd5b9250929050565b803561ffff811681146114ec57600080fd5b919050565b600060208284031215611502578081fd5b813561150d81611ac2565b9392505050565b600060208284031215611525578081fd5b815161150d81611ac2565b60008060408385031215611542578081fd5b823561154d81611ac2565b9150602083013561155d81611ac2565b809150509250929050565b60008060006060848603121561157c578081fd5b833561158781611ac2565b9250602084013561159781611ac2565b929592945050506040919091013590565b600080600080608085870312156115bd578081fd5b84356115c881611ac2565b935060208501356115d881611ac2565b925060408501359150606085013567ffffffffffffffff808211156115fb578283fd5b818701915087601f83011261160e578283fd5b81358181111561162057611620611aac565b604051601f8201601f19908116603f0116810190838211818310171561164857611648611aac565b816040528281528a6020848701011115611660578586fd5b82602086016020830137918201602001949094529598949750929550505050565b60008060408385031215611693578182fd5b823561169e81611ac2565b91506020830135801515811461155d578182fd5b600080604083850312156116c4578182fd5b82356116cf81611ac2565b91506116dd602084016114da565b90509250929050565b600080604083850312156116f8578182fd5b823561170381611ac2565b946020939093013593505050565b60008060008060408587031215611726578384fd5b843567ffffffffffffffff8082111561173d578586fd5b61174988838901611490565b90965094506020870135915080821115611761578384fd5b5061176e87828801611490565b95989497509550505050565b60006020828403121561178b578081fd5b813561150d81611ad7565b6000602082840312156117a7578081fd5b815161150d81611ad7565b600080602083850312156117c4578182fd5b823567ffffffffffffffff808211156117db578384fd5b818501915085601f8301126117ee578384fd5b8135818111156117fc578485fd5b86602082850101111561180d578485fd5b60209290920196919550909350505050565b600060208284031215611830578081fd5b61150d826114da565b60006020828403121561184a578081fd5b5035919050565b600060208284031215611862578081fd5b813560ff8116811461150d578182fd5b6000815180845261188a8160208601602086016119c8565b601f01601f19169290920160200192915050565b600083516118b08184602088016119c8565b8351908301906118c48183602088016119c8565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061191090830184611872565b9695505050505050565b60208152600061150d6020830184611872565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561197557611975611a80565b500190565b60008261198957611989611a96565b500490565b6000828210156119a0576119a0611a80565b500390565b600060ff821660ff8416808210156119bf576119bf611a80565b90039392505050565b60005b838110156119e35781810151838201526020016119cb565b838111156109685750506000910152565b600181811c90821680611a0857607f821691505b60208210811415611a2957634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415611a4757611a47611a80565b6001019392505050565b6000600019821415611a6557611a65611a80565b5060010190565b600082611a7b57611a7b611a96565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610ca957600080fd5b6001600160e01b031981168114610ca957600080fdfea2646970667358221220ff6945fd3208fcfaf6929fe609aab253aa45f2dfd8d082d024dca438e1525b9464736f6c6343000804003368747470733a2f2f73746f726167656170692e666c65656b2e636f2f36613634366562642d303366642d343038302d383164312d3964353232653465313130312d6275636b65742f424643253230466f756e646572732f68747470733a2f2f6261666b726569687568717065627761366f7572793234746f6b727136657969347a6336696333336c79787471626774357078346635796a6437652e697066732e6e667473746f726167652e6c696e6b000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000022426f72656420466f756e6465727320436c75622028466f756e64657273204e465429000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d42464328464f554e444552532900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005768747470733a2f2f73746f726167656170692e666c65656b2e636f2f36613634366562642d303366642d343038302d383164312d3964353232653465313130312d6275636b65742f424643253230466f756e646572732f000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018e5760003560e01c80638da5cb5b116100de578063c87b56dd11610097578063e8a3d48511610071578063e8a3d4851461036c578063e985e9c514610374578063ec8d130b146103b0578063f2fde38b146103c357600080fd5b8063c87b56dd14610325578063cd08f22b14610338578063d5abeb011461034b57600080fd5b80638da5cb5b146102c057806395d89b41146102d1578063a201fc50146102d9578063a22cb465146102ec578063a53c1e86146102ff578063b88d4fde1461031257600080fd5b806318160ddd1161014b578063492d306b11610125578063492d306b1461027f5780636352211e1461029257806370a08231146102a5578063715018a6146102b857600080fd5b806318160ddd1461024357806323b872dd1461025957806342842e0e1461026c57600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb5780630f9080ec146102105780631249c58b1461023b575b600080fd5b6101a66101a136600461177a565b6103d6565b60405190151581526020015b60405180910390f35b6101c3610428565b6040516101b2919061191a565b6101e36101de366004611839565b6104ba565b6040516001600160a01b0390911681526020016101b2565b61020e6102093660046116e6565b6104fe565b005b3360009081526006602052604090205462010000900460ff1660405160ff90911681526020016101b2565b61020e61058c565b61024b61064b565b6040519081526020016101b2565b61020e610267366004611568565b610660565b61020e61027a366004611568565b61066b565b61020e61028d3660046117b2565b610686565b6101e36102a0366004611839565b6106bc565b61024b6102b33660046114f1565b6106c7565b61020e610710565b6000546001600160a01b03166101e3565b6101c3610746565b61020e6102e73660046117b2565b610755565b61020e6102fa366004611681565b61078b565b61020e61030d366004611711565b610821565b61020e6103203660046115a8565b61091d565b6101c3610333366004611839565b61096e565b61020e61034636600461181f565b6109d4565b6009546103599061ffff1681565b60405161ffff90911681526020016101b2565b6101c3610ad1565b6101a6610382366004611530565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b61020e6103be3660046116b2565b610ae0565b61020e6103d13660046114f1565b610c11565b60006001600160e01b031982166380ac58cd60e01b148061040757506001600160e01b03198216635b5e139f60e01b145b8061042257506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610437906119f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610463906119f4565b80156104b05780601f10610485576101008083540402835291602001916104b0565b820191906000526020600020905b81548152906001019060200180831161049357829003601f168201915b5050505050905090565b60006104c582610cac565b6104e2576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610509826106bc565b9050806001600160a01b0316836001600160a01b0316141561053e5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061055e575061055c8133610382565b155b1561057c576040516367d9dca160e11b815260040160405180910390fd5b610587838383610cc2565b505050565b3360009081526006602052604090205462010000900460ff166105ef5760405162461bcd60e51b815260206004820152601660248201527518d85b1b195c881b9bdd081dda1a5d195b1a5cdd195960521b60448201526064015b60405180910390fd5b6105fa336001610d1e565b3360009081526006602052604090205461061f9060019062010000900460ff166119a5565b336000908152600660205260409020805460ff92909216620100000262ff000019909216919091179055565b60006001805461065b919061198e565b905090565b610587838383610d38565b6105878383836040518060200160405280600081525061091d565b6000546001600160a01b031633146106b05760405162461bcd60e51b81526004016105e69061192d565b610587600483836113f7565b600061042282610ef6565b60006001600160a01b0382166106f0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205461ffff1690565b6000546001600160a01b0316331461073a5760405162461bcd60e51b81526004016105e69061192d565b6107446000610fa8565b565b606060038054610437906119f4565b6000546001600160a01b0316331461077f5760405162461bcd60e51b81526004016105e69061192d565b610587600a83836113f7565b6001600160a01b0382163314156107b55760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b0316331461084b5760405162461bcd60e51b81526004016105e69061192d565b60005b61ffff81168411156109165782828261ffff1681811061087e57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906108939190611851565b6006600087878561ffff168181106108bb57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906108d091906114f1565b6001600160a01b031681526020810191909152604001600020805460ff92909216620100000262ff0000199092169190911790558061090e81611a2f565b91505061084e565b5050505050565b610928848484610d38565b6001600160a01b0383163b1515801561094a575061094884848484610ff8565b155b15610968576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061097982610cac565b61099657604051630a14c4b560e41b815260040160405180910390fd5b60006109a06110f0565b9050806109ac846110ff565b6040516020016109bd92919061189e565b604051602081830303815290604052915050919050565b3360009081526006602052604090205461ffff82166201000090910460ff161015610a525760405162461bcd60e51b815260206004820152602860248201527f63616c6c6572206e6f742077686974656c697374656420666f7220656e6f75676044820152676820636f7069657360c01b60648201526084016105e6565b60005b8161ffff16811015610acd57610a6c336001610d1e565b33600090815260066020526040902054610a919060019062010000900460ff166119a5565b336000908152600660205260409020805460ff92909216620100000262ff00001990921691909117905580610ac581611a51565b915050610a55565b5050565b6060600a8054610437906119f4565b6000546001600160a01b03163314610b0a5760405162461bcd60e51b81526004016105e69061192d565b600b5460ff1615610b555760405162461bcd60e51b81526020600482015260156024820152741a5d081a5cc81bdb99481d1a5b59481b595d1a1bd9605a1b60448201526064016105e6565b6001545b8161ffff168111610bff576040516331a9108f60e11b8152600481018290526000906001600160a01b03851690636352211e9060240160206040518083038186803b158015610ba757600080fd5b505afa158015610bbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdf9190611514565b9050610bec816001610d1e565b610bf7826001611962565b915050610b59565b5050600b805460ff1916600117905550565b6000546001600160a01b03163314610c3b5760405162461bcd60e51b81526004016105e69061192d565b6001600160a01b038116610ca05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105e6565b610ca981610fa8565b50565b6000816001111580156104225750506001541190565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610acd828260405180602001604052806000815250611219565b826001600160a01b0316610d4b82610ef6565b6001600160a01b031614610d715760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0385161480610d8f5750610d8f8433610382565b80610daa575033610d9f836104ba565b6001600160a01b0316145b905080610dca57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038316610df157604051633a954ecd60e21b815260040160405180910390fd5b610dfd60008386610cc2565b6001600160a01b038481166000908152600660209081526040808320805461ffff1980821661ffff928316600019018316179092558886168086528386208054938416938316600190810190931693909317909255878552600590935281842080546001600160a01b0319169091179055908501808352912054909116610eaf576001548114610eaf57600081815260056020526040902080546001600160a01b0319166001600160a01b0387161790555b5081836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610968565b60008180600111158015610f0b575060015481105b15610f8f576000818152600560205260409020546001600160a01b031615610f4b576000908152600560205260409020546001600160a01b031692915050565b600019016000818152600560205260409020546001600160a01b031615610f8a576000908152600560205260409020546001600160a01b031692915050565b610f4b565b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061102d9033908990889088906004016118dd565b602060405180830381600087803b15801561104757600080fd5b505af1925050508015611077575060408051601f3d908101601f1916820190925261107491810190611796565b60015b6110d2573d8080156110a5576040519150601f19603f3d011682016040523d82523d6000602084013e6110aa565b606091505b5080516110ca576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060048054610437906119f4565b6060816111235750506040805180820190915260018152600360fc1b602082015290565b8160005b811561114d578061113781611a51565b91506111469050600a8361197a565b9150611127565b60008167ffffffffffffffff81111561117657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111a0576020820181803683370190505b5090505b84156110e8576111b560018361198e565b91506111c2600a86611a6c565b6111cd906030611962565b60f81b8183815181106111f057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611212600a8661197a565b94506111a4565b610587838383600160095460015461ffff90911610156112735760405162461bcd60e51b81526020600482015260156024820152741d1bdd185b081cdd5c1c1b1e48195e18d959591959605a1b60448201526064016105e6565b6001546001600160a01b03851661129c57604051622e076360e81b815260040160405180910390fd5b836112ba5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0385166000818152600660209081526040808320805461ffff8082168b011661ffff199091161790558483526005909152902080546001600160a01b03191690911790558080850183801561131f57506001600160a01b0387163b15155b156113a8575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46113706000888480600101955088610ff8565b61138d576040516368d2bf6b60e11b815260040160405180910390fd5b808214156113255782600154146113a357600080fd5b6113ee565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156113a9575b50600155610916565b828054611403906119f4565b90600052602060002090601f016020900481019282611425576000855561146b565b82601f1061143e5782800160ff1982351617855561146b565b8280016001018555821561146b579182015b8281111561146b578235825591602001919060010190611450565b5061147792915061147b565b5090565b5b80821115611477576000815560010161147c565b60008083601f8401126114a1578081fd5b50813567ffffffffffffffff8111156114b8578182fd5b6020830191508360208260051b85010111156114d357600080fd5b9250929050565b803561ffff811681146114ec57600080fd5b919050565b600060208284031215611502578081fd5b813561150d81611ac2565b9392505050565b600060208284031215611525578081fd5b815161150d81611ac2565b60008060408385031215611542578081fd5b823561154d81611ac2565b9150602083013561155d81611ac2565b809150509250929050565b60008060006060848603121561157c578081fd5b833561158781611ac2565b9250602084013561159781611ac2565b929592945050506040919091013590565b600080600080608085870312156115bd578081fd5b84356115c881611ac2565b935060208501356115d881611ac2565b925060408501359150606085013567ffffffffffffffff808211156115fb578283fd5b818701915087601f83011261160e578283fd5b81358181111561162057611620611aac565b604051601f8201601f19908116603f0116810190838211818310171561164857611648611aac565b816040528281528a6020848701011115611660578586fd5b82602086016020830137918201602001949094529598949750929550505050565b60008060408385031215611693578182fd5b823561169e81611ac2565b91506020830135801515811461155d578182fd5b600080604083850312156116c4578182fd5b82356116cf81611ac2565b91506116dd602084016114da565b90509250929050565b600080604083850312156116f8578182fd5b823561170381611ac2565b946020939093013593505050565b60008060008060408587031215611726578384fd5b843567ffffffffffffffff8082111561173d578586fd5b61174988838901611490565b90965094506020870135915080821115611761578384fd5b5061176e87828801611490565b95989497509550505050565b60006020828403121561178b578081fd5b813561150d81611ad7565b6000602082840312156117a7578081fd5b815161150d81611ad7565b600080602083850312156117c4578182fd5b823567ffffffffffffffff808211156117db578384fd5b818501915085601f8301126117ee578384fd5b8135818111156117fc578485fd5b86602082850101111561180d578485fd5b60209290920196919550909350505050565b600060208284031215611830578081fd5b61150d826114da565b60006020828403121561184a578081fd5b5035919050565b600060208284031215611862578081fd5b813560ff8116811461150d578182fd5b6000815180845261188a8160208601602086016119c8565b601f01601f19169290920160200192915050565b600083516118b08184602088016119c8565b8351908301906118c48183602088016119c8565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061191090830184611872565b9695505050505050565b60208152600061150d6020830184611872565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561197557611975611a80565b500190565b60008261198957611989611a96565b500490565b6000828210156119a0576119a0611a80565b500390565b600060ff821660ff8416808210156119bf576119bf611a80565b90039392505050565b60005b838110156119e35781810151838201526020016119cb565b838111156109685750506000910152565b600181811c90821680611a0857607f821691505b60208210811415611a2957634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415611a4757611a47611a80565b6001019392505050565b6000600019821415611a6557611a65611a80565b5060010190565b600082611a7b57611a7b611a96565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610ca957600080fd5b6001600160e01b031981168114610ca957600080fdfea2646970667358221220ff6945fd3208fcfaf6929fe609aab253aa45f2dfd8d082d024dca438e1525b9464736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000022426f72656420466f756e6465727320436c75622028466f756e64657273204e465429000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d42464328464f554e444552532900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005768747470733a2f2f73746f726167656170692e666c65656b2e636f2f36613634366562642d303366642d343038302d383164312d3964353232653465313130312d6275636b65742f424643253230466f756e646572732f000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Bored Founders Club (Founders NFT)
Arg [1] : symbol_ (string): BFC(FOUNDERS)
Arg [2] : baseUri_ (string): https://storageapi.fleek.co/6a646ebd-03fd-4080-81d1-9d522e4e1101-bucket/BFC%20Founders/

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [4] : 426f72656420466f756e6465727320436c75622028466f756e64657273204e46
Arg [5] : 5429000000000000000000000000000000000000000000000000000000000000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [7] : 42464328464f554e444552532900000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000057
Arg [9] : 68747470733a2f2f73746f726167656170692e666c65656b2e636f2f36613634
Arg [10] : 366562642d303366642d343038302d383164312d396435323265346531313031
Arg [11] : 2d6275636b65742f424643253230466f756e646572732f000000000000000000


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.