ERC-721
Overview
Max Total Supply
2,500 BFC(VIP)
Holders
679
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BFC(VIP)Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BoredFoundersClubVipNFT
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// 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 BoredFoundersClubVipNFT is Context, ERC165, IERC721, IERC721Metadata, Ownable { using Address for address; using Strings for uint256; modifier onlyVault { require(msg.sender == _vaultAddress, "caller is not the vault"); _; } struct AddressData { uint64 balance; uint64 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 = "TBA"; // 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; uint64 public maxSupply = 2500; string private _contractMetadataURI = "https://bafkreif5dopujityw4f7rz766yinj3d6wrkljvshvw65vijkluefiek2ga.ipfs.nftstorage.link/"; uint private _endOfPublicMintEpoch; address private _vaultAddress = address(0); constructor(string memory name_, string memory symbol_, string memory baseUri_, uint endOfPublicMintEpoch_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); _base_uri = baseUri_; _endOfPublicMintEpoch = endOfPublicMintEpoch_; } /** * 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 (uint64) { 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, uint64 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 = BoredFoundersClubVipNFT.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, uint64 [] calldata quantities ) public onlyOwner { for(uint64 i = 0; i < recipients.length; i++) { _addressData[recipients[i]].whitelistSpots = quantities[i]; } } function changeBaseUri( string calldata newBaseUri ) public onlyOwner { _base_uri = newBaseUri; } function batchMint(uint32 amount) public { require(block.timestamp < _endOfPublicMintEpoch , "public mint is over"); 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 mintToVault(uint32 amount) public onlyVault { require(block.timestamp > _endOfPublicMintEpoch , "public mint is not over yet"); require(totalSupply() + amount <= maxSupply, "exceed of possible supply"); for(uint32 i = 0; i < amount; i++) { _safeMint(msg.sender, 1); } } function getWLSpots() public view returns (uint64) { return _addressData[msg.sender].whitelistSpots; } function contractURI() public view returns (string memory) { return _contractMetadataURI; } function setContractMetadataURI(string calldata newContractMetadataUri) public onlyOwner { _contractMetadataURI = newContractMetadataUri; } function getEndOfPublicMintEpoch() public view returns (uint) { return _endOfPublicMintEpoch; } function setEndOfPublicMintDate(uint _newDate) public onlyOwner { _endOfPublicMintEpoch = _newDate; } function setVaultAddress(address _vault) public onlyOwner { _vaultAddress = _vault; } function getVaultAddress() public view returns(address) { return _vaultAddress; } } // harry89pl was here
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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); } }
// 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); }
// 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); }
// 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; } }
// 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"baseUri_","type":"string"},{"internalType":"uint256","name":"endOfPublicMintEpoch_","type":"uint256"}],"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":"uint64[]","name":"quantities","type":"uint64[]"}],"name":"batchAddToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"amount","type":"uint32"}],"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":"getEndOfPublicMintEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getVaultAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWLSpots","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"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":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"mintToVault","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":"uint256","name":"_newDate","type":"uint256"}],"name":"setEndOfPublicMintDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"name":"setVaultAddress","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"}]
Contract Creation Code
60c0604052600360808190526254424160e81b60a090815262000026916004919062000159565b50600980546001600160401b0319166109c41790556040805160808101909152605980825262001ecd602083013980516200006a91600a9160209091019062000159565b50600c80546001600160a01b03191690553480156200008857600080fd5b5060405162001f2638038062001f26833981016040819052620000ab91620002b2565b620000b63362000109565b8351620000cb90600290602087019062000159565b508251620000e190600390602086019062000159565b50600180558151620000fb90600490602085019062000159565b50600b55506200039a915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001679062000347565b90600052602060002090601f0160209004810192826200018b5760008555620001d6565b82601f10620001a657805160ff1916838001178555620001d6565b82800160010185558215620001d6579182015b82811115620001d6578251825591602001919060010190620001b9565b50620001e4929150620001e8565b5090565b5b80821115620001e45760008155600101620001e9565b600082601f83011262000210578081fd5b81516001600160401b03808211156200022d576200022d62000384565b604051601f8301601f19908116603f0116810190828211818310171562000258576200025862000384565b8160405283815260209250868385880101111562000274578485fd5b8491505b8382101562000297578582018301518183018401529082019062000278565b83821115620002a857848385830101525b9695505050505050565b60008060008060808587031215620002c8578384fd5b84516001600160401b0380821115620002df578586fd5b620002ed88838901620001ff565b9550602087015191508082111562000303578485fd5b6200031188838901620001ff565b9450604087015191508082111562000327578384fd5b506200033687828801620001ff565b606096909601519497939650505050565b600181811c908216806200035c57607f821691505b602082108114156200037e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611b2380620003aa6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806375ab9c0011610104578063a22cb465116100a2578063d918d3a411610071578063d918d3a4146103e4578063e8a3d485146103f7578063e985e9c5146103ff578063f2fde38b1461043b57600080fd5b8063a22cb46514610398578063b88d4fde146103ab578063c87b56dd146103be578063d5abeb01146103d157600080fd5b80638a6bb239116100de5780638a6bb239146103595780638da5cb5b1461036c57806395d89b411461037d578063a201fc501461038557600080fd5b806375ab9c001461032057806382032a1d1461033357806385535cc51461034657600080fd5b806342842e0e1161017157806365cacaa41161014b57806365cacaa4146102ec5780636ba8eaa9146102fd57806370a0823114610305578063715018a61461031857600080fd5b806342842e0e146102b3578063492d306b146102c65780636352211e146102d957600080fd5b8063095ea7b3116101ad578063095ea7b31461023c5780630f9080ec1461025157806318160ddd1461028a57806323b872dd146102a057600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e2366004611791565b61044e565b60405190151581526020015b60405180910390f35b6102046104a0565b6040516101f39190611940565b61022461021f366004611835565b610532565b6040516001600160a01b0390911681526020016101f3565b61024f61024a366004611700565b610576565b005b33600090815260066020526040902054600160401b90046001600160401b03165b6040516001600160401b0390911681526020016101f3565b610292610604565b6040519081526020016101f3565b61024f6102ae3660046115b7565b610619565b61024f6102c13660046115b7565b610624565b61024f6102d43660046117c9565b61063f565b6102246102e7366004611835565b610653565b600c546001600160a01b0316610224565b600b54610292565b610292610313366004611564565b61065e565b61024f6106ac565b61024f61032e36600461184d565b6106c0565b61024f610341366004611835565b61082a565b61024f610354366004611564565b610837565b61024f610367366004611729565b610861565b6000546001600160a01b0316610224565b610204610959565b61024f6103933660046117c9565b610968565b61024f6103a63660046116c6565b61097c565b61024f6103b93660046115f2565b610a12565b6102046103cc366004611835565b610a63565b600954610272906001600160401b031681565b61024f6103f236600461184d565b610ac9565b610204610c1b565b6101e761040d366004611585565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b61024f610449366004611564565b610c2a565b60006001600160e01b031982166380ac58cd60e01b148061047f57506001600160e01b03198216635b5e139f60e01b145b8061049a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546104af906119ea565b80601f01602080910402602001604051908101604052809291908181526020018280546104db906119ea565b80156105285780601f106104fd57610100808354040283529160200191610528565b820191906000526020600020905b81548152906001019060200180831161050b57829003601f168201915b5050505050905090565b600061053d82610ca3565b61055a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061058182610653565b9050806001600160a01b0316836001600160a01b031614156105b65760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906105d657506105d4813361040d565b155b156105f4576040516367d9dca160e11b815260040160405180910390fd5b6105ff838383610cb9565b505050565b600060018054610614919061197f565b905090565b6105ff838383610d15565b6105ff83838360405180602001604052806000815250610a12565b610647610ede565b6105ff60048383611466565b600061049a82610f38565b60006001600160a01b038216610687576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6106b4610ede565b6106be6000610fea565b565b600b54421061070c5760405162461bcd60e51b8152602060048201526013602482015272383ab13634b19036b4b73a1034b99037bb32b960691b60448201526064015b60405180910390fd5b3360009081526006602052604090205463ffffffff8216600160401b9091046001600160401b031610156107935760405162461bcd60e51b815260206004820152602860248201527f63616c6c6572206e6f742077686974656c697374656420666f7220656e6f75676044820152676820636f7069657360c01b6064820152608401610703565b60005b8163ffffffff16811015610826576107af33600161103a565b336000908152600660205260409020546107db90600190600160401b90046001600160401b0316611996565b33600090815260066020526040902080546001600160401b0392909216600160401b0267ffffffffffffffff60401b199092169190911790558061081e81611a25565b915050610796565b5050565b610832610ede565b600b55565b61083f610ede565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b610869610ede565b60005b6001600160401b038116841115610952578282826001600160401b03168181106108a657634e487b7160e01b600052603260045260246000fd5b90506020020160208101906108bb9190611871565b600660008787856001600160401b03168181106108e857634e487b7160e01b600052603260045260246000fd5b90506020020160208101906108fd9190611564565b6001600160a01b03168152602081019190915260400160002080546001600160401b0392909216600160401b0267ffffffffffffffff60401b199092169190911790558061094a81611a64565b91505061086c565b5050505050565b6060600380546104af906119ea565b610970610ede565b6105ff600a8383611466565b6001600160a01b0382163314156109a65760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a1d848484610d15565b6001600160a01b0383163b15158015610a3f5750610a3d84848484611054565b155b15610a5d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a6e82610ca3565b610a8b57604051630a14c4b560e41b815260040160405180910390fd5b6000610a9561114c565b905080610aa18461115b565b604051602001610ab29291906118c4565b604051602081830303815290604052915050919050565b600c546001600160a01b03163314610b235760405162461bcd60e51b815260206004820152601760248201527f63616c6c6572206973206e6f7420746865207661756c740000000000000000006044820152606401610703565b600b544211610b745760405162461bcd60e51b815260206004820152601b60248201527f7075626c6963206d696e74206973206e6f74206f7665722079657400000000006044820152606401610703565b6009546001600160401b031663ffffffff8216610b8f610604565b610b999190611953565b1115610be75760405162461bcd60e51b815260206004820152601960248201527f657863656564206f6620706f737369626c6520737570706c79000000000000006044820152606401610703565b60005b8163ffffffff168163ffffffff16101561082657610c0933600161103a565b80610c1381611a40565b915050610bea565b6060600a80546104af906119ea565b610c32610ede565b6001600160a01b038116610c975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610703565b610ca081610fea565b50565b60008160011115801561049a5750506001541190565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b826001600160a01b0316610d2882610f38565b6001600160a01b031614610d4e5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0385161480610d6c5750610d6c843361040d565b80610d87575033610d7c83610532565b6001600160a01b0316145b905080610da757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038316610dce57604051633a954ecd60e21b815260040160405180910390fd5b610dda60008386610cb9565b6001600160a01b038481166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b03928316600019018316179092558886168086528386208054938416938316600190810190931693909317909255878552600590935281842080546001600160a01b0319169091179055908501808352912054909116610e97576001548114610e9757600081815260056020526040902080546001600160a01b0319166001600160a01b0387161790555b5081836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610a5d565b6000546001600160a01b031633146106be5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610703565b60008180600111158015610f4d575060015481105b15610fd1576000818152600560205260409020546001600160a01b031615610f8d576000908152600560205260409020546001600160a01b031692915050565b600019016000818152600560205260409020546001600160a01b031615610fcc576000908152600560205260409020546001600160a01b031692915050565b610f8d565b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610826828260405180602001604052806000815250611274565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611089903390899088908890600401611903565b602060405180830381600087803b1580156110a357600080fd5b505af19250505080156110d3575060408051601f3d908101601f191682019092526110d0918101906117ad565b60015b61112e573d808015611101576040519150601f19603f3d011682016040523d82523d6000602084013e611106565b606091505b508051611126576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600480546104af906119ea565b60608161117f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156111a9578061119381611a25565b91506111a29050600a8361196b565b9150611183565b6000816001600160401b038111156111d157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111fb576020820181803683370190505b5090505b84156111445761121060018361197f565b915061121d600a86611a81565b611228906030611953565b60f81b81838151811061124b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061126d600a8661196b565b94506111ff565b6105ff83838360016009546001546001600160401b0390911610156112d35760405162461bcd60e51b81526020600482015260156024820152741d1bdd185b081cdd5c1c1b1e48195e18d959591959605a1b6044820152606401610703565b6001546001600160a01b0385166112fc57604051622e076360e81b815260040160405180910390fd5b8361131a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546001600160401b0380821661ffff8c16011667ffffffffffffffff199091161790558483526005909152902080546001600160a01b03191690911790558080850183801561138e57506001600160a01b0387163b15155b15611417575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46113df6000888480600101955088611054565b6113fc576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561139457826001541461141257600080fd5b61145d565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611418575b50600155610952565b828054611472906119ea565b90600052602060002090601f01602090048101928261149457600085556114da565b82601f106114ad5782800160ff198235161785556114da565b828001600101855582156114da579182015b828111156114da5782358255916020019190600101906114bf565b506114e69291506114ea565b5090565b5b808211156114e657600081556001016114eb565b80356001600160a01b038116811461151657600080fd5b919050565b60008083601f84011261152c578081fd5b5081356001600160401b03811115611542578182fd5b6020830191508360208260051b850101111561155d57600080fd5b9250929050565b600060208284031215611575578081fd5b61157e826114ff565b9392505050565b60008060408385031215611597578081fd5b6115a0836114ff565b91506115ae602084016114ff565b90509250929050565b6000806000606084860312156115cb578081fd5b6115d4846114ff565b92506115e2602085016114ff565b9150604084013590509250925092565b60008060008060808587031215611607578081fd5b611610856114ff565b935061161e602086016114ff565b92506040850135915060608501356001600160401b0380821115611640578283fd5b818701915087601f830112611653578283fd5b81358181111561166557611665611ac1565b604051601f8201601f19908116603f0116810190838211818310171561168d5761168d611ac1565b816040528281528a60208487010111156116a5578586fd5b82602086016020830137918201602001949094529598949750929550505050565b600080604083850312156116d8578182fd5b6116e1836114ff565b9150602083013580151581146116f5578182fd5b809150509250929050565b60008060408385031215611712578182fd5b61171b836114ff565b946020939093013593505050565b6000806000806040858703121561173e578384fd5b84356001600160401b0380821115611754578586fd5b6117608883890161151b565b90965094506020870135915080821115611778578384fd5b506117858782880161151b565b95989497509550505050565b6000602082840312156117a2578081fd5b813561157e81611ad7565b6000602082840312156117be578081fd5b815161157e81611ad7565b600080602083850312156117db578182fd5b82356001600160401b03808211156117f1578384fd5b818501915085601f830112611804578384fd5b813581811115611812578485fd5b866020828501011115611823578485fd5b60209290920196919550909350505050565b600060208284031215611846578081fd5b5035919050565b60006020828403121561185e578081fd5b813563ffffffff8116811461157e578182fd5b600060208284031215611882578081fd5b81356001600160401b038116811461157e578182fd5b600081518084526118b08160208601602086016119be565b601f01601f19169290920160200192915050565b600083516118d68184602088016119be565b8351908301906118ea8183602088016119be565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061193690830184611898565b9695505050505050565b60208152600061157e6020830184611898565b6000821982111561196657611966611a95565b500190565b60008261197a5761197a611aab565b500490565b60008282101561199157611991611a95565b500390565b60006001600160401b03838116908316818110156119b6576119b6611a95565b039392505050565b60005b838110156119d95781810151838201526020016119c1565b83811115610a5d5750506000910152565b600181811c908216806119fe57607f821691505b60208210811415611a1f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611a3957611a39611a95565b5060010190565b600063ffffffff80831681811415611a5a57611a5a611a95565b6001019392505050565b60006001600160401b0380831681811415611a5a57611a5a611a95565b600082611a9057611a90611aab565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ca057600080fdfea26469706673582212200ceec8ef88fc473236c49abdfb8e1d1b36e8330f3e2e22a8d09bc6ca5bf894e364736f6c6343000804003368747470733a2f2f6261666b7265696635646f70756a69747977346637727a37363679696e6a33643677726b6c6a7673687677363576696a6b6c75656669656b3267612e697066732e6e667473746f726167652e6c696e6b2f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000633ed150000000000000000000000000000000000000000000000000000000000000001d426f72656420466f756e6465727320436c75622028564950204e46542900000000000000000000000000000000000000000000000000000000000000000000084246432856495029000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f73746f726167656170692e666c65656b2e636f2f36613634366562642d303366642d343038302d383164312d3964353232653465313130312d6275636b65742f4246435f5649502f00000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806375ab9c0011610104578063a22cb465116100a2578063d918d3a411610071578063d918d3a4146103e4578063e8a3d485146103f7578063e985e9c5146103ff578063f2fde38b1461043b57600080fd5b8063a22cb46514610398578063b88d4fde146103ab578063c87b56dd146103be578063d5abeb01146103d157600080fd5b80638a6bb239116100de5780638a6bb239146103595780638da5cb5b1461036c57806395d89b411461037d578063a201fc501461038557600080fd5b806375ab9c001461032057806382032a1d1461033357806385535cc51461034657600080fd5b806342842e0e1161017157806365cacaa41161014b57806365cacaa4146102ec5780636ba8eaa9146102fd57806370a0823114610305578063715018a61461031857600080fd5b806342842e0e146102b3578063492d306b146102c65780636352211e146102d957600080fd5b8063095ea7b3116101ad578063095ea7b31461023c5780630f9080ec1461025157806318160ddd1461028a57806323b872dd146102a057600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e2366004611791565b61044e565b60405190151581526020015b60405180910390f35b6102046104a0565b6040516101f39190611940565b61022461021f366004611835565b610532565b6040516001600160a01b0390911681526020016101f3565b61024f61024a366004611700565b610576565b005b33600090815260066020526040902054600160401b90046001600160401b03165b6040516001600160401b0390911681526020016101f3565b610292610604565b6040519081526020016101f3565b61024f6102ae3660046115b7565b610619565b61024f6102c13660046115b7565b610624565b61024f6102d43660046117c9565b61063f565b6102246102e7366004611835565b610653565b600c546001600160a01b0316610224565b600b54610292565b610292610313366004611564565b61065e565b61024f6106ac565b61024f61032e36600461184d565b6106c0565b61024f610341366004611835565b61082a565b61024f610354366004611564565b610837565b61024f610367366004611729565b610861565b6000546001600160a01b0316610224565b610204610959565b61024f6103933660046117c9565b610968565b61024f6103a63660046116c6565b61097c565b61024f6103b93660046115f2565b610a12565b6102046103cc366004611835565b610a63565b600954610272906001600160401b031681565b61024f6103f236600461184d565b610ac9565b610204610c1b565b6101e761040d366004611585565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b61024f610449366004611564565b610c2a565b60006001600160e01b031982166380ac58cd60e01b148061047f57506001600160e01b03198216635b5e139f60e01b145b8061049a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546104af906119ea565b80601f01602080910402602001604051908101604052809291908181526020018280546104db906119ea565b80156105285780601f106104fd57610100808354040283529160200191610528565b820191906000526020600020905b81548152906001019060200180831161050b57829003601f168201915b5050505050905090565b600061053d82610ca3565b61055a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061058182610653565b9050806001600160a01b0316836001600160a01b031614156105b65760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906105d657506105d4813361040d565b155b156105f4576040516367d9dca160e11b815260040160405180910390fd5b6105ff838383610cb9565b505050565b600060018054610614919061197f565b905090565b6105ff838383610d15565b6105ff83838360405180602001604052806000815250610a12565b610647610ede565b6105ff60048383611466565b600061049a82610f38565b60006001600160a01b038216610687576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6106b4610ede565b6106be6000610fea565b565b600b54421061070c5760405162461bcd60e51b8152602060048201526013602482015272383ab13634b19036b4b73a1034b99037bb32b960691b60448201526064015b60405180910390fd5b3360009081526006602052604090205463ffffffff8216600160401b9091046001600160401b031610156107935760405162461bcd60e51b815260206004820152602860248201527f63616c6c6572206e6f742077686974656c697374656420666f7220656e6f75676044820152676820636f7069657360c01b6064820152608401610703565b60005b8163ffffffff16811015610826576107af33600161103a565b336000908152600660205260409020546107db90600190600160401b90046001600160401b0316611996565b33600090815260066020526040902080546001600160401b0392909216600160401b0267ffffffffffffffff60401b199092169190911790558061081e81611a25565b915050610796565b5050565b610832610ede565b600b55565b61083f610ede565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b610869610ede565b60005b6001600160401b038116841115610952578282826001600160401b03168181106108a657634e487b7160e01b600052603260045260246000fd5b90506020020160208101906108bb9190611871565b600660008787856001600160401b03168181106108e857634e487b7160e01b600052603260045260246000fd5b90506020020160208101906108fd9190611564565b6001600160a01b03168152602081019190915260400160002080546001600160401b0392909216600160401b0267ffffffffffffffff60401b199092169190911790558061094a81611a64565b91505061086c565b5050505050565b6060600380546104af906119ea565b610970610ede565b6105ff600a8383611466565b6001600160a01b0382163314156109a65760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a1d848484610d15565b6001600160a01b0383163b15158015610a3f5750610a3d84848484611054565b155b15610a5d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a6e82610ca3565b610a8b57604051630a14c4b560e41b815260040160405180910390fd5b6000610a9561114c565b905080610aa18461115b565b604051602001610ab29291906118c4565b604051602081830303815290604052915050919050565b600c546001600160a01b03163314610b235760405162461bcd60e51b815260206004820152601760248201527f63616c6c6572206973206e6f7420746865207661756c740000000000000000006044820152606401610703565b600b544211610b745760405162461bcd60e51b815260206004820152601b60248201527f7075626c6963206d696e74206973206e6f74206f7665722079657400000000006044820152606401610703565b6009546001600160401b031663ffffffff8216610b8f610604565b610b999190611953565b1115610be75760405162461bcd60e51b815260206004820152601960248201527f657863656564206f6620706f737369626c6520737570706c79000000000000006044820152606401610703565b60005b8163ffffffff168163ffffffff16101561082657610c0933600161103a565b80610c1381611a40565b915050610bea565b6060600a80546104af906119ea565b610c32610ede565b6001600160a01b038116610c975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610703565b610ca081610fea565b50565b60008160011115801561049a5750506001541190565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b826001600160a01b0316610d2882610f38565b6001600160a01b031614610d4e5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0385161480610d6c5750610d6c843361040d565b80610d87575033610d7c83610532565b6001600160a01b0316145b905080610da757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038316610dce57604051633a954ecd60e21b815260040160405180910390fd5b610dda60008386610cb9565b6001600160a01b038481166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b03928316600019018316179092558886168086528386208054938416938316600190810190931693909317909255878552600590935281842080546001600160a01b0319169091179055908501808352912054909116610e97576001548114610e9757600081815260056020526040902080546001600160a01b0319166001600160a01b0387161790555b5081836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610a5d565b6000546001600160a01b031633146106be5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610703565b60008180600111158015610f4d575060015481105b15610fd1576000818152600560205260409020546001600160a01b031615610f8d576000908152600560205260409020546001600160a01b031692915050565b600019016000818152600560205260409020546001600160a01b031615610fcc576000908152600560205260409020546001600160a01b031692915050565b610f8d565b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610826828260405180602001604052806000815250611274565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611089903390899088908890600401611903565b602060405180830381600087803b1580156110a357600080fd5b505af19250505080156110d3575060408051601f3d908101601f191682019092526110d0918101906117ad565b60015b61112e573d808015611101576040519150601f19603f3d011682016040523d82523d6000602084013e611106565b606091505b508051611126576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600480546104af906119ea565b60608161117f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156111a9578061119381611a25565b91506111a29050600a8361196b565b9150611183565b6000816001600160401b038111156111d157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111fb576020820181803683370190505b5090505b84156111445761121060018361197f565b915061121d600a86611a81565b611228906030611953565b60f81b81838151811061124b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061126d600a8661196b565b94506111ff565b6105ff83838360016009546001546001600160401b0390911610156112d35760405162461bcd60e51b81526020600482015260156024820152741d1bdd185b081cdd5c1c1b1e48195e18d959591959605a1b6044820152606401610703565b6001546001600160a01b0385166112fc57604051622e076360e81b815260040160405180910390fd5b8361131a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546001600160401b0380821661ffff8c16011667ffffffffffffffff199091161790558483526005909152902080546001600160a01b03191690911790558080850183801561138e57506001600160a01b0387163b15155b15611417575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46113df6000888480600101955088611054565b6113fc576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561139457826001541461141257600080fd5b61145d565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611418575b50600155610952565b828054611472906119ea565b90600052602060002090601f01602090048101928261149457600085556114da565b82601f106114ad5782800160ff198235161785556114da565b828001600101855582156114da579182015b828111156114da5782358255916020019190600101906114bf565b506114e69291506114ea565b5090565b5b808211156114e657600081556001016114eb565b80356001600160a01b038116811461151657600080fd5b919050565b60008083601f84011261152c578081fd5b5081356001600160401b03811115611542578182fd5b6020830191508360208260051b850101111561155d57600080fd5b9250929050565b600060208284031215611575578081fd5b61157e826114ff565b9392505050565b60008060408385031215611597578081fd5b6115a0836114ff565b91506115ae602084016114ff565b90509250929050565b6000806000606084860312156115cb578081fd5b6115d4846114ff565b92506115e2602085016114ff565b9150604084013590509250925092565b60008060008060808587031215611607578081fd5b611610856114ff565b935061161e602086016114ff565b92506040850135915060608501356001600160401b0380821115611640578283fd5b818701915087601f830112611653578283fd5b81358181111561166557611665611ac1565b604051601f8201601f19908116603f0116810190838211818310171561168d5761168d611ac1565b816040528281528a60208487010111156116a5578586fd5b82602086016020830137918201602001949094529598949750929550505050565b600080604083850312156116d8578182fd5b6116e1836114ff565b9150602083013580151581146116f5578182fd5b809150509250929050565b60008060408385031215611712578182fd5b61171b836114ff565b946020939093013593505050565b6000806000806040858703121561173e578384fd5b84356001600160401b0380821115611754578586fd5b6117608883890161151b565b90965094506020870135915080821115611778578384fd5b506117858782880161151b565b95989497509550505050565b6000602082840312156117a2578081fd5b813561157e81611ad7565b6000602082840312156117be578081fd5b815161157e81611ad7565b600080602083850312156117db578182fd5b82356001600160401b03808211156117f1578384fd5b818501915085601f830112611804578384fd5b813581811115611812578485fd5b866020828501011115611823578485fd5b60209290920196919550909350505050565b600060208284031215611846578081fd5b5035919050565b60006020828403121561185e578081fd5b813563ffffffff8116811461157e578182fd5b600060208284031215611882578081fd5b81356001600160401b038116811461157e578182fd5b600081518084526118b08160208601602086016119be565b601f01601f19169290920160200192915050565b600083516118d68184602088016119be565b8351908301906118ea8183602088016119be565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061193690830184611898565b9695505050505050565b60208152600061157e6020830184611898565b6000821982111561196657611966611a95565b500190565b60008261197a5761197a611aab565b500490565b60008282101561199157611991611a95565b500390565b60006001600160401b03838116908316818110156119b6576119b6611a95565b039392505050565b60005b838110156119d95781810151838201526020016119c1565b83811115610a5d5750506000910152565b600181811c908216806119fe57607f821691505b60208210811415611a1f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611a3957611a39611a95565b5060010190565b600063ffffffff80831681811415611a5a57611a5a611a95565b6001019392505050565b60006001600160401b0380831681811415611a5a57611a5a611a95565b600082611a9057611a90611aab565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ca057600080fdfea26469706673582212200ceec8ef88fc473236c49abdfb8e1d1b36e8330f3e2e22a8d09bc6ca5bf894e364736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000633ed150000000000000000000000000000000000000000000000000000000000000001d426f72656420466f756e6465727320436c75622028564950204e46542900000000000000000000000000000000000000000000000000000000000000000000084246432856495029000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f73746f726167656170692e666c65656b2e636f2f36613634366562642d303366642d343038302d383164312d3964353232653465313130312d6275636b65742f4246435f5649502f00000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Bored Founders Club (VIP NFT)
Arg [1] : symbol_ (string): BFC(VIP)
Arg [2] : baseUri_ (string): https://storageapi.fleek.co/6a646ebd-03fd-4080-81d1-9d522e4e1101-bucket/BFC_VIP/
Arg [3] : endOfPublicMintEpoch_ (uint256): 1665061200
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 00000000000000000000000000000000000000000000000000000000633ed150
Arg [4] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [5] : 426f72656420466f756e6465727320436c75622028564950204e465429000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [7] : 4246432856495029000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [9] : 68747470733a2f2f73746f726167656170692e666c65656b2e636f2f36613634
Arg [10] : 366562642d303366642d343038302d383164312d396435323265346531313031
Arg [11] : 2d6275636b65742f4246435f5649502f00000000000000000000000000000000
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.