ETH Price: $3,468.21 (+2.18%)
Gas: 12 Gwei

Token

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

Overview

Max Total Supply

296 BFC(FOUNDERS)

Holders

286

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 BFC(FOUNDERS)
0x2bb0131f561df1a69b49da3d26c8501710327dc1
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:
BoredFoundersClubNFT

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : BoredFoundersClubNFT.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 BoredFoundersClubNFT 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 _whitelistAddresses;

    // 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 _reveal = false;

    constructor(string memory name_, string memory symbol_, string memory base_uri_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
        _base_uri = base_uri_;
        _safeMint(msg.sender, 1);
    }

    /**
     * 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 _whitelistAddresses[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 {
        _whitelistAddresses[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();

        if(_reveal) {
            return string(abi.encodePacked(baseURI, tokenId.toString(), ".json"));
        }

        return string(abi.encodePacked(baseURI, "common.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(_whitelistAddresses[owner].balance);
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = BoredFoundersClubNFT.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 - 1 <= 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 {
        _whitelistAddresses[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 {
        _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++) {
            _whitelistAddresses[recipients[i]].whitelistSpots = quantities[i];
        }
    }

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

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

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

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

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

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

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

    function setContractMetadataURI(string calldata newContractMetadataUri) public onlyOwner {
        _contractMetadataURI = newContractMetadataUri;
    }

    function setReveal(bool val_) public onlyOwner {
        _reveal = val_;
    }
}
// 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":"base_uri_","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":"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":"bool","name":"val_","type":"bool"}],"name":"setReveal","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"}]

6101006040526057608081815290620021a460a03980516200002a9160049160209091019062000499565b506009805461ffff19166101f417905560408051608081019091526058808252620021fb602083013980516200006991600a9160209091019062000499565b50600b805460ff191690553480156200008157600080fd5b506040516200227338038062002273833981016040819052620000a491620005ff565b620000af336200010b565b8251620000c490600290602086019062000499565b508151620000da90600390602085019062000499565b50600180558051620000f490600490602084019062000499565b50620001023360016200015b565b50505062000788565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6200017d8282604051806020016040528060008152506200018160201b60201c565b5050565b62000190838383600162000195565b505050565b6009546001805461ffff90921691620001af9190620006e2565b1115620002025760405162461bcd60e51b815260206004820152601560248201527f746f74616c20737570706c792065786365656465640000000000000000000000604482015260640160405180910390fd5b6001546001600160a01b0385166200022c57604051622e076360e81b815260040160405180910390fd5b836200024b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0385166000818152600660209081526040808320805461ffff8082168b011661ffff199091161790558483526005909152902080546001600160a01b031916909117905580808501838015620002c25750620002c2876001600160a01b03166200038960201b62000bd51760201c565b1562000342575b60405182906001600160a01b0389169060009060008051602062002253833981519152908290a46001820191620003069060009089908862000398565b62000324576040516368d2bf6b60e11b815260040160405180910390fd5b80821415620002c95782600154146200033c57600080fd5b62000378565b5b6040516001830192906001600160a01b0389169060009060008051602062002253833981519152908290a48082141562000343575b506001555050505050565b50505050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290620003cf9033908990889088906004016200068c565b602060405180830381600087803b158015620003ea57600080fd5b505af19250505080156200041d575060408051601f3d908101601f191682019092526200041a91810190620005ce565b60015b6200047c573d8080156200044e576040519150601f19603f3d011682016040523d82523d6000602084013e62000453565b606091505b50805162000474576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b828054620004a79062000735565b90600052602060002090601f016020900481019282620004cb576000855562000516565b82601f10620004e657805160ff191683800117855562000516565b8280016001018555821562000516579182015b8281111562000516578251825591602001919060010190620004f9565b506200052492915062000528565b5090565b5b8082111562000524576000815560010162000529565b600082601f83011262000550578081fd5b81516001600160401b03808211156200056d576200056d62000772565b604051601f8301601f19908116603f0116810190828211818310171562000598576200059862000772565b81604052838152866020858801011115620005b1578485fd5b620005c484602083016020890162000706565b9695505050505050565b600060208284031215620005e0578081fd5b81516001600160e01b031981168114620005f8578182fd5b9392505050565b60008060006060848603121562000614578182fd5b83516001600160401b03808211156200062b578384fd5b62000639878388016200053f565b945060208601519150808211156200064f578384fd5b6200065d878388016200053f565b9350604086015191508082111562000673578283fd5b5062000682868287016200053f565b9150509250925092565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620006cb8160a085016020870162000706565b601f01601f19169190910160a00195945050505050565b6000828210156200070157634e487b7160e01b81526011600452602481fd5b500390565b60005b838110156200072357818101518382015260200162000709565b83811115620003835750506000910152565b600181811c908216806200074a57607f821691505b602082108114156200076c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611a0c80620007986000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063715018a6116100de578063b88d4fde11610097578063d5abeb0111610071578063d5abeb011461035e578063e8a3d4851461037f578063e985e9c514610387578063f2fde38b146103c357600080fd5b8063b88d4fde14610325578063c87b56dd14610338578063cd08f22b1461034b57600080fd5b8063715018a6146102cb5780638da5cb5b146102d357806395d89b41146102e4578063a201fc50146102ec578063a22cb465146102ff578063a53c1e861461031257600080fd5b806318160ddd1161014b57806342842e0e1161012557806342842e0e1461027f578063492d306b146102925780636352211e146102a557806370a08231146102b857600080fd5b806318160ddd1461024357806323b872dd146102595780632a3f300c1461026c57600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb5780630f9080ec146102105780631249c58b1461023b575b600080fd5b6101a66101a1366004611641565b6103d6565b60405190151581526020015b60405180910390f35b6101c3610428565b6040516101b29190611818565b6101e36101de366004611708565b6104ba565b6040516001600160a01b0390911681526020016101b2565b61020e610209366004611595565b6104fe565b005b3360009081526006602052604090205462010000900460ff1660405160ff90911681526020016101b2565b61020e61058c565b61024b61064b565b6040519081526020016101b2565b61020e61026736600461145c565b610660565b61020e61027a366004611627565b61066b565b61020e61028d36600461145c565b6106a8565b61020e6102a0366004611679565b6106c3565b6101e36102b3366004611708565b6106f9565b61024b6102c6366004611409565b610704565b61020e61074d565b6000546001600160a01b03166101e3565b6101c3610783565b61020e6102fa366004611679565b610792565b61020e61030d36600461156c565b6107c8565b61020e6103203660046115be565b61085e565b61020e610333366004611497565b61095a565b6101c3610346366004611708565b6109ab565b61020e6103593660046116e6565b610a2e565b60095461036c9061ffff1681565b60405161ffff90911681526020016101b2565b6101c3610b2b565b6101a661039536600461142a565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b61020e6103d1366004611409565b610b3a565b60006001600160e01b031982166380ac58cd60e01b148061040757506001600160e01b03198216635b5e139f60e01b145b8061042257506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610437906118f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610463906118f2565b80156104b05780601f10610485576101008083540402835291602001916104b0565b820191906000526020600020905b81548152906001019060200180831161049357829003601f168201915b5050505050905090565b60006104c582610be4565b6104e2576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610509826106f9565b9050806001600160a01b0316836001600160a01b0316141561053e5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061055e575061055c8133610395565b155b1561057c576040516367d9dca160e11b815260040160405180910390fd5b610587838383610bfa565b505050565b3360009081526006602052604090205462010000900460ff166105ef5760405162461bcd60e51b815260206004820152601660248201527518d85b1b195c881b9bdd081dda1a5d195b1a5cdd195960521b60448201526064015b60405180910390fd5b6105fa336001610c56565b3360009081526006602052604090205461061f9060019062010000900460ff166118a3565b336000908152600660205260409020805460ff92909216620100000262ff000019909216919091179055565b60006001805461065b919061188c565b905090565b610587838383610c70565b6000546001600160a01b031633146106955760405162461bcd60e51b81526004016105e69061182b565b600b805460ff1916911515919091179055565b6105878383836040518060200160405280600081525061095a565b6000546001600160a01b031633146106ed5760405162461bcd60e51b81526004016105e69061182b565b610587600483836112fa565b600061042282610ded565b60006001600160a01b03821661072d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205461ffff1690565b6000546001600160a01b031633146107775760405162461bcd60e51b81526004016105e69061182b565b6107816000610e9f565b565b606060038054610437906118f2565b6000546001600160a01b031633146107bc5760405162461bcd60e51b81526004016105e69061182b565b610587600a83836112fa565b6001600160a01b0382163314156107f25760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b031633146108885760405162461bcd60e51b81526004016105e69061182b565b60005b61ffff81168411156109535782828261ffff168181106108bb57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906108d09190611720565b6006600087878561ffff168181106108f857634e487b7160e01b600052603260045260246000fd5b905060200201602081019061090d9190611409565b6001600160a01b031681526020810191909152604001600020805460ff92909216620100000262ff0000199092169190911790558061094b8161192d565b91505061088b565b5050505050565b610965848484610c70565b6001600160a01b0383163b15158015610987575061098584848484610eef565b155b156109a5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606109b682610be4565b6109d357604051630a14c4b560e41b815260040160405180910390fd5b60006109dd610fe7565b600b5490915060ff1615610a1d57806109f584610ff6565b604051602001610a0692919061176d565b604051602081830303815290604052915050919050565b80604051602001610a0691906117ac565b3360009081526006602052604090205461ffff82166201000090910460ff161015610aac5760405162461bcd60e51b815260206004820152602860248201527f63616c6c6572206e6f742077686974656c697374656420666f7220656e6f75676044820152676820636f7069657360c01b60648201526084016105e6565b60005b8161ffff16811015610b2757610ac6336001610c56565b33600090815260066020526040902054610aeb9060019062010000900460ff166118a3565b336000908152600660205260409020805460ff92909216620100000262ff00001990921691909117905580610b1f8161194f565b915050610aaf565b5050565b6060600a8054610437906118f2565b6000546001600160a01b03163314610b645760405162461bcd60e51b81526004016105e69061182b565b6001600160a01b038116610bc95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105e6565b610bd281610e9f565b50565b6001600160a01b03163b151590565b6000816001111580156104225750506001541190565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610b27828260405180602001604052806000815250611110565b826001600160a01b0316610c8382610ded565b6001600160a01b031614610ca95760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0385161480610cc75750610cc78433610395565b80610ce2575033610cd7836104ba565b6001600160a01b0316145b905080610d0257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038316610d2957604051633a954ecd60e21b815260040160405180910390fd5b610d3560008386610bfa565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691909117909155600185018084529190922054909116610da6576001548114610da657600081815260056020526040902080546001600160a01b0319166001600160a01b0387161790555b5081836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46109a5565b60008180600111158015610e02575060015481105b15610e86576000818152600560205260409020546001600160a01b031615610e42576000908152600560205260409020546001600160a01b031692915050565b600019016000818152600560205260409020546001600160a01b031615610e81576000908152600560205260409020546001600160a01b031692915050565b610e42565b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610f249033908990889088906004016117db565b602060405180830381600087803b158015610f3e57600080fd5b505af1925050508015610f6e575060408051601f3d908101601f19168201909252610f6b9181019061165d565b60015b610fc9573d808015610f9c576040519150601f19603f3d011682016040523d82523d6000602084013e610fa1565b606091505b508051610fc1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060048054610437906118f2565b60608161101a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611044578061102e8161194f565b915061103d9050600a83611878565b915061101e565b60008167ffffffffffffffff81111561106d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611097576020820181803683370190505b5090505b8415610fdf576110ac60018361188c565b91506110b9600a8661196a565b6110c4906030611860565b60f81b8183815181106110e757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611109600a86611878565b945061109b565b61058783838360016009546001805461ffff90921691611130919061188c565b11156111765760405162461bcd60e51b81526020600482015260156024820152741d1bdd185b081cdd5c1c1b1e48195e18d959591959605a1b60448201526064016105e6565b6001546001600160a01b03851661119f57604051622e076360e81b815260040160405180910390fd5b836111bd5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0385166000818152600660209081526040808320805461ffff8082168b011661ffff199091161790558483526005909152902080546001600160a01b03191690911790558080850183801561122257506001600160a01b0387163b15155b156112ab575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46112736000888480600101955088610eef565b611290576040516368d2bf6b60e11b815260040160405180910390fd5b808214156112285782600154146112a657600080fd5b6112f1565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156112ac575b50600155610953565b828054611306906118f2565b90600052602060002090601f016020900481019282611328576000855561136e565b82601f106113415782800160ff1982351617855561136e565b8280016001018555821561136e579182015b8281111561136e578235825591602001919060010190611353565b5061137a92915061137e565b5090565b5b8082111561137a576000815560010161137f565b80356001600160a01b03811681146113aa57600080fd5b919050565b60008083601f8401126113c0578081fd5b50813567ffffffffffffffff8111156113d7578182fd5b6020830191508360208260051b85010111156113f257600080fd5b9250929050565b803580151581146113aa57600080fd5b60006020828403121561141a578081fd5b61142382611393565b9392505050565b6000806040838503121561143c578081fd5b61144583611393565b915061145360208401611393565b90509250929050565b600080600060608486031215611470578081fd5b61147984611393565b925061148760208501611393565b9150604084013590509250925092565b600080600080608085870312156114ac578081fd5b6114b585611393565b93506114c360208601611393565b925060408501359150606085013567ffffffffffffffff808211156114e6578283fd5b818701915087601f8301126114f9578283fd5b81358181111561150b5761150b6119aa565b604051601f8201601f19908116603f01168101908382118183101715611533576115336119aa565b816040528281528a602084870101111561154b578586fd5b82602086016020830137918201602001949094529598949750929550505050565b6000806040838503121561157e578182fd5b61158783611393565b9150611453602084016113f9565b600080604083850312156115a7578182fd5b6115b083611393565b946020939093013593505050565b600080600080604085870312156115d3578384fd5b843567ffffffffffffffff808211156115ea578586fd5b6115f6888389016113af565b9096509450602087013591508082111561160e578384fd5b5061161b878288016113af565b95989497509550505050565b600060208284031215611638578081fd5b611423826113f9565b600060208284031215611652578081fd5b8135611423816119c0565b60006020828403121561166e578081fd5b8151611423816119c0565b6000806020838503121561168b578182fd5b823567ffffffffffffffff808211156116a2578384fd5b818501915085601f8301126116b5578384fd5b8135818111156116c3578485fd5b8660208285010111156116d4578485fd5b60209290920196919550909350505050565b6000602082840312156116f7578081fd5b813561ffff81168114611423578182fd5b600060208284031215611719578081fd5b5035919050565b600060208284031215611731578081fd5b813560ff81168114611423578182fd5b600081518084526117598160208601602086016118c6565b601f01601f19169290920160200192915050565b6000835161177f8184602088016118c6565b8351908301906117938183602088016118c6565b64173539b7b760d91b9101908152600501949350505050565b600082516117be8184602087016118c6565b6a31b7b6b6b7b7173539b7b760a91b920191825250600b01919050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061180e90830184611741565b9695505050505050565b6020815260006114236020830184611741565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156118735761187361197e565b500190565b60008261188757611887611994565b500490565b60008282101561189e5761189e61197e565b500390565b600060ff821660ff8416808210156118bd576118bd61197e565b90039392505050565b60005b838110156118e15781810151838201526020016118c9565b838111156109a55750506000910152565b600181811c9082168061190657607f821691505b6020821081141561192757634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff808316818114156119455761194561197e565b6001019392505050565b60006000198214156119635761196361197e565b5060010190565b60008261197957611979611994565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610bd257600080fdfea264697066735822122095172a70ec46fc8688f43cb9655a09138b6a9b1170c82c399e455e33354aed6e64736f6c6343000804003368747470733a2f2f73746f726167656170692e666c65656b2e636f2f36613634366562642d303366642d343038302d383164312d3964353232653465313130312d6275636b65742f424643253230466f756e646572732f68747470733a2f2f6261666b726569687568717065627761366f7572793234746f6b727136657969347a6336696333336c79787471626774357078346635796a6437652e697066732e6e667473746f726167652e6c696e6bddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000022426f72656420466f756e6465727320436c75622028466f756e64657273204e465429000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d42464328464f554e444552532900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005768747470733a2f2f73746f726167656170692e666c65656b2e636f2f36613634366562642d303366642d343038302d383164312d3964353232653465313130312d6275636b65742f424643253230466f756e646572732f000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018e5760003560e01c8063715018a6116100de578063b88d4fde11610097578063d5abeb0111610071578063d5abeb011461035e578063e8a3d4851461037f578063e985e9c514610387578063f2fde38b146103c357600080fd5b8063b88d4fde14610325578063c87b56dd14610338578063cd08f22b1461034b57600080fd5b8063715018a6146102cb5780638da5cb5b146102d357806395d89b41146102e4578063a201fc50146102ec578063a22cb465146102ff578063a53c1e861461031257600080fd5b806318160ddd1161014b57806342842e0e1161012557806342842e0e1461027f578063492d306b146102925780636352211e146102a557806370a08231146102b857600080fd5b806318160ddd1461024357806323b872dd146102595780632a3f300c1461026c57600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb5780630f9080ec146102105780631249c58b1461023b575b600080fd5b6101a66101a1366004611641565b6103d6565b60405190151581526020015b60405180910390f35b6101c3610428565b6040516101b29190611818565b6101e36101de366004611708565b6104ba565b6040516001600160a01b0390911681526020016101b2565b61020e610209366004611595565b6104fe565b005b3360009081526006602052604090205462010000900460ff1660405160ff90911681526020016101b2565b61020e61058c565b61024b61064b565b6040519081526020016101b2565b61020e61026736600461145c565b610660565b61020e61027a366004611627565b61066b565b61020e61028d36600461145c565b6106a8565b61020e6102a0366004611679565b6106c3565b6101e36102b3366004611708565b6106f9565b61024b6102c6366004611409565b610704565b61020e61074d565b6000546001600160a01b03166101e3565b6101c3610783565b61020e6102fa366004611679565b610792565b61020e61030d36600461156c565b6107c8565b61020e6103203660046115be565b61085e565b61020e610333366004611497565b61095a565b6101c3610346366004611708565b6109ab565b61020e6103593660046116e6565b610a2e565b60095461036c9061ffff1681565b60405161ffff90911681526020016101b2565b6101c3610b2b565b6101a661039536600461142a565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b61020e6103d1366004611409565b610b3a565b60006001600160e01b031982166380ac58cd60e01b148061040757506001600160e01b03198216635b5e139f60e01b145b8061042257506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610437906118f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610463906118f2565b80156104b05780601f10610485576101008083540402835291602001916104b0565b820191906000526020600020905b81548152906001019060200180831161049357829003601f168201915b5050505050905090565b60006104c582610be4565b6104e2576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610509826106f9565b9050806001600160a01b0316836001600160a01b0316141561053e5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061055e575061055c8133610395565b155b1561057c576040516367d9dca160e11b815260040160405180910390fd5b610587838383610bfa565b505050565b3360009081526006602052604090205462010000900460ff166105ef5760405162461bcd60e51b815260206004820152601660248201527518d85b1b195c881b9bdd081dda1a5d195b1a5cdd195960521b60448201526064015b60405180910390fd5b6105fa336001610c56565b3360009081526006602052604090205461061f9060019062010000900460ff166118a3565b336000908152600660205260409020805460ff92909216620100000262ff000019909216919091179055565b60006001805461065b919061188c565b905090565b610587838383610c70565b6000546001600160a01b031633146106955760405162461bcd60e51b81526004016105e69061182b565b600b805460ff1916911515919091179055565b6105878383836040518060200160405280600081525061095a565b6000546001600160a01b031633146106ed5760405162461bcd60e51b81526004016105e69061182b565b610587600483836112fa565b600061042282610ded565b60006001600160a01b03821661072d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205461ffff1690565b6000546001600160a01b031633146107775760405162461bcd60e51b81526004016105e69061182b565b6107816000610e9f565b565b606060038054610437906118f2565b6000546001600160a01b031633146107bc5760405162461bcd60e51b81526004016105e69061182b565b610587600a83836112fa565b6001600160a01b0382163314156107f25760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b031633146108885760405162461bcd60e51b81526004016105e69061182b565b60005b61ffff81168411156109535782828261ffff168181106108bb57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906108d09190611720565b6006600087878561ffff168181106108f857634e487b7160e01b600052603260045260246000fd5b905060200201602081019061090d9190611409565b6001600160a01b031681526020810191909152604001600020805460ff92909216620100000262ff0000199092169190911790558061094b8161192d565b91505061088b565b5050505050565b610965848484610c70565b6001600160a01b0383163b15158015610987575061098584848484610eef565b155b156109a5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606109b682610be4565b6109d357604051630a14c4b560e41b815260040160405180910390fd5b60006109dd610fe7565b600b5490915060ff1615610a1d57806109f584610ff6565b604051602001610a0692919061176d565b604051602081830303815290604052915050919050565b80604051602001610a0691906117ac565b3360009081526006602052604090205461ffff82166201000090910460ff161015610aac5760405162461bcd60e51b815260206004820152602860248201527f63616c6c6572206e6f742077686974656c697374656420666f7220656e6f75676044820152676820636f7069657360c01b60648201526084016105e6565b60005b8161ffff16811015610b2757610ac6336001610c56565b33600090815260066020526040902054610aeb9060019062010000900460ff166118a3565b336000908152600660205260409020805460ff92909216620100000262ff00001990921691909117905580610b1f8161194f565b915050610aaf565b5050565b6060600a8054610437906118f2565b6000546001600160a01b03163314610b645760405162461bcd60e51b81526004016105e69061182b565b6001600160a01b038116610bc95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105e6565b610bd281610e9f565b50565b6001600160a01b03163b151590565b6000816001111580156104225750506001541190565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610b27828260405180602001604052806000815250611110565b826001600160a01b0316610c8382610ded565b6001600160a01b031614610ca95760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0385161480610cc75750610cc78433610395565b80610ce2575033610cd7836104ba565b6001600160a01b0316145b905080610d0257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038316610d2957604051633a954ecd60e21b815260040160405180910390fd5b610d3560008386610bfa565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691909117909155600185018084529190922054909116610da6576001548114610da657600081815260056020526040902080546001600160a01b0319166001600160a01b0387161790555b5081836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46109a5565b60008180600111158015610e02575060015481105b15610e86576000818152600560205260409020546001600160a01b031615610e42576000908152600560205260409020546001600160a01b031692915050565b600019016000818152600560205260409020546001600160a01b031615610e81576000908152600560205260409020546001600160a01b031692915050565b610e42565b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610f249033908990889088906004016117db565b602060405180830381600087803b158015610f3e57600080fd5b505af1925050508015610f6e575060408051601f3d908101601f19168201909252610f6b9181019061165d565b60015b610fc9573d808015610f9c576040519150601f19603f3d011682016040523d82523d6000602084013e610fa1565b606091505b508051610fc1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060048054610437906118f2565b60608161101a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611044578061102e8161194f565b915061103d9050600a83611878565b915061101e565b60008167ffffffffffffffff81111561106d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611097576020820181803683370190505b5090505b8415610fdf576110ac60018361188c565b91506110b9600a8661196a565b6110c4906030611860565b60f81b8183815181106110e757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611109600a86611878565b945061109b565b61058783838360016009546001805461ffff90921691611130919061188c565b11156111765760405162461bcd60e51b81526020600482015260156024820152741d1bdd185b081cdd5c1c1b1e48195e18d959591959605a1b60448201526064016105e6565b6001546001600160a01b03851661119f57604051622e076360e81b815260040160405180910390fd5b836111bd5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0385166000818152600660209081526040808320805461ffff8082168b011661ffff199091161790558483526005909152902080546001600160a01b03191690911790558080850183801561122257506001600160a01b0387163b15155b156112ab575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46112736000888480600101955088610eef565b611290576040516368d2bf6b60e11b815260040160405180910390fd5b808214156112285782600154146112a657600080fd5b6112f1565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156112ac575b50600155610953565b828054611306906118f2565b90600052602060002090601f016020900481019282611328576000855561136e565b82601f106113415782800160ff1982351617855561136e565b8280016001018555821561136e579182015b8281111561136e578235825591602001919060010190611353565b5061137a92915061137e565b5090565b5b8082111561137a576000815560010161137f565b80356001600160a01b03811681146113aa57600080fd5b919050565b60008083601f8401126113c0578081fd5b50813567ffffffffffffffff8111156113d7578182fd5b6020830191508360208260051b85010111156113f257600080fd5b9250929050565b803580151581146113aa57600080fd5b60006020828403121561141a578081fd5b61142382611393565b9392505050565b6000806040838503121561143c578081fd5b61144583611393565b915061145360208401611393565b90509250929050565b600080600060608486031215611470578081fd5b61147984611393565b925061148760208501611393565b9150604084013590509250925092565b600080600080608085870312156114ac578081fd5b6114b585611393565b93506114c360208601611393565b925060408501359150606085013567ffffffffffffffff808211156114e6578283fd5b818701915087601f8301126114f9578283fd5b81358181111561150b5761150b6119aa565b604051601f8201601f19908116603f01168101908382118183101715611533576115336119aa565b816040528281528a602084870101111561154b578586fd5b82602086016020830137918201602001949094529598949750929550505050565b6000806040838503121561157e578182fd5b61158783611393565b9150611453602084016113f9565b600080604083850312156115a7578182fd5b6115b083611393565b946020939093013593505050565b600080600080604085870312156115d3578384fd5b843567ffffffffffffffff808211156115ea578586fd5b6115f6888389016113af565b9096509450602087013591508082111561160e578384fd5b5061161b878288016113af565b95989497509550505050565b600060208284031215611638578081fd5b611423826113f9565b600060208284031215611652578081fd5b8135611423816119c0565b60006020828403121561166e578081fd5b8151611423816119c0565b6000806020838503121561168b578182fd5b823567ffffffffffffffff808211156116a2578384fd5b818501915085601f8301126116b5578384fd5b8135818111156116c3578485fd5b8660208285010111156116d4578485fd5b60209290920196919550909350505050565b6000602082840312156116f7578081fd5b813561ffff81168114611423578182fd5b600060208284031215611719578081fd5b5035919050565b600060208284031215611731578081fd5b813560ff81168114611423578182fd5b600081518084526117598160208601602086016118c6565b601f01601f19169290920160200192915050565b6000835161177f8184602088016118c6565b8351908301906117938183602088016118c6565b64173539b7b760d91b9101908152600501949350505050565b600082516117be8184602087016118c6565b6a31b7b6b6b7b7173539b7b760a91b920191825250600b01919050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061180e90830184611741565b9695505050505050565b6020815260006114236020830184611741565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156118735761187361197e565b500190565b60008261188757611887611994565b500490565b60008282101561189e5761189e61197e565b500390565b600060ff821660ff8416808210156118bd576118bd61197e565b90039392505050565b60005b838110156118e15781810151838201526020016118c9565b838111156109a55750506000910152565b600181811c9082168061190657607f821691505b6020821081141561192757634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff808316818114156119455761194561197e565b6001019392505050565b60006000198214156119635761196361197e565b5060010190565b60008261197957611979611994565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610bd257600080fdfea264697066735822122095172a70ec46fc8688f43cb9655a09138b6a9b1170c82c399e455e33354aed6e64736f6c63430008040033

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] : base_uri_ (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.