Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 HBS
Holders
122
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 HBSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HeartBreakers
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; abstract contract ERC721V2 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address address[] internal _owners; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count = 0; uint length = _owners.length; for( uint i = 0; i < length; ++i ){ if( owner == _owners[i] ){ ++count; } } delete length; return count; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721V2.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721V2.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _owners.push(to); emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721V2.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721V2.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721V2.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } contract HeartBreakers is Ownable, ERC721V2 { using Strings for uint256; using SafeMath for uint256; uint256 public constant PRICE = 60 * 10**15; // .06 eth uint256 public constant MAX_BY_MINT = 30; uint256 public constant MAX_RESERVE_COUNT = 100; uint256 public constant LAUNCH_TIMESTAMP = 1639166400; // Fri Dec 10 2021 22:00:00 GMT+0000 uint256 public MAX_ELEMENTS = 8888; uint256 private _reservedCount = 0; uint256 private _reserveAtATime = 50; bool public isSaleOpen = false; mapping(address => bool) private _claimList; mapping(address => uint256) private _freeMintClaimed; address public constant t1 = 0xcdC372EF1a3B7B5B985225E5d6E9237a117b03Bf; address public constant t2 = 0xE90B28593d303A018aEadD98D4EfE37754361fa2; address public constant t3 = 0x143a57E29312C19E3BF000bBe5A49242A0237ADC; address public constant t4 = 0xC5F23769E133023E01157641A7b0Ac58621f9905; address public constant t5 = 0xdb3F3868920Fc8588e4876c5901dE0ec7F2bc01c; string public baseTokenURI; event CreateHeartBreaker(uint256 indexed id); constructor(string memory baseURI) ERC721V2("The Heartbreakers", "HBS") { setBaseURI(baseURI); } modifier saleIsOpen { if (_msgSender() != owner()) { require(isSaleOpen, "Sale is not open"); } _; } function totalMint() public view returns (uint256) { return _owners.length; } function reserveTokens() public onlyOwner { require(_reservedCount + _reserveAtATime <= MAX_RESERVE_COUNT, "Max reserve exceeded"); uint256 total = _owners.length; for (uint256 i = 0; i < _reserveAtATime; i++) { _reservedCount++; _mint(msg.sender, total++); } } function mint(uint256 _count) external payable saleIsOpen { uint256 total = _owners.length; require(total + _count <= MAX_ELEMENTS, "Max limit"); require(total <= MAX_ELEMENTS, "All NFTs are sold out"); require(_count <= MAX_BY_MINT, "Exceeds number"); require(msg.value >= price(_count), "Value below price"); for (uint256 i = 0; i < _count; i++) { _mint(msg.sender, total++); } } function claim() public { uint256 _count = 1; require(isSaleOpen, "Sale is not open"); require(_claimList[msg.sender], "You are not in claim list"); require(_freeMintClaimed[msg.sender] < 1, "Claiming exceeds max allowed"); uint256 total = _owners.length; require(total + _count <= MAX_ELEMENTS, "Max limit"); require(total <= MAX_ELEMENTS, "All Heartbreakers are sold out"); for (uint256 i = 0; i < _count; i++) { _freeMintClaimed[msg.sender] += 1; _mint(msg.sender, total++); } } function price(uint256 _count) public pure returns (uint256) { return PRICE.mul(_count); } function setBaseURI(string memory baseURI) public onlyOwner { baseTokenURI = baseURI; } function setSaleOpen(bool _isSaleOpen) external onlyOwner { isSaleOpen = _isSaleOpen; } function addToClaimList(address[] calldata addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { require(addresses[i] != address(0), "Null address found"); _claimList[addresses[i]] = true; _freeMintClaimed[addresses[i]] > 0 ? _freeMintClaimed[addresses[i]] : 0; } } function addressInClaimList(address addr) external view returns (bool) { return _claimList[addr]; } function removeFromClaimList(address[] calldata addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { require(addresses[i] != address(0), "Null address found"); _claimList[addresses[i]] = false; } } function setReserveAtATime(uint256 _count) public onlyOwner { _reserveAtATime = _count; } function setMaxElements(uint _count) public onlyOwner { uint256 total = _owners.length; require(_count > total, "Incorrect new amount"); MAX_ELEMENTS = _count; } function tokenURI(uint256 tokenId) external view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(baseTokenURI, tokenId.toString())); } function withdrawAll() external onlyOwner { uint256 balance = address(this).balance; require(balance > 0); uint256 withdrawal1 = balance.mul(48).div(100); uint256 withdrawal2 = balance.mul(25).div(100); uint256 withdrawal3 = balance.mul(12).div(100); uint256 withdrawal4 = balance.mul(5).div(100); _withdraw(t1, withdrawal1); _withdraw(t2, withdrawal2); _withdraw(t3, withdrawal3); _withdraw(t4, withdrawal4); _withdraw(t5, address(this).balance); } function _withdraw(address _address, uint256 _amount) private { payable(_address).transfer(_amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"uint256","name":"id","type":"uint256"}],"name":"CreateHeartBreaker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"LAUNCH_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BY_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ELEMENTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVE_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToClaimList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"addressInClaimList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromClaimList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setMaxElements","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setReserveAtATime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isSaleOpen","type":"bool"}],"name":"setSaleOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"t1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"t2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"t3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"t4","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"t5","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"totalMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526122b8600655600060075560326008556009805460ff191690553480156200002b57600080fd5b5060405162002a6e38038062002a6e8339810160408190526200004e916200027c565b60405180604001604052806011815260200170546865204865617274627265616b65727360781b8152506040518060400160405280600381526020016248425360e81b815250620000ae620000a8620000f460201b60201c565b620000f8565b8151620000c3906001906020850190620001c0565b508051620000d9906002906020840190620001c0565b505050620000ed816200014860201b60201c565b5062000395565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314620001a75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620001bc90600c906020840190620001c0565b5050565b828054620001ce9062000358565b90600052602060002090601f016020900481019282620001f257600085556200023d565b82601f106200020d57805160ff19168380011785556200023d565b828001600101855582156200023d579182015b828111156200023d57825182559160200191906001019062000220565b506200024b9291506200024f565b5090565b5b808211156200024b576000815560010162000250565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200029057600080fd5b82516001600160401b0380821115620002a857600080fd5b818501915085601f830112620002bd57600080fd5b815181811115620002d257620002d262000266565b604051601f8201601f19908116603f01168101908382118183101715620002fd57620002fd62000266565b8160405282815288868487010111156200031657600080fd5b600093505b828410156200033a57848401860151818501870152928501926200031b565b828411156200034c5760008684830101525b98975050505050505050565b600181811c908216806200036d57607f821691505b602082108114156200038f57634e487b7160e01b600052602260045260246000fd5b50919050565b6126c980620003a56000396000f3fe6080604052600436106102465760003560e01c80638d859f3e11610139578063c87b56dd116100b6578063e985e9c51161007a578063e985e9c51461068c578063f2fde38b146106d5578063f6c9d9e3146106f5578063fb5343f314610715578063fdf20d561461073d578063feae062d1461075d57600080fd5b8063c87b56dd146105ef578063cfad78b11461060f578063d2f2b21d14610637578063d547cfb71461065f578063e954f41d1461067457600080fd5b8063a22cb465116100fd578063a22cb46514610547578063af979f2514610567578063b0f4cdcf14610587578063b88d4fde146105a7578063baf2f868146105c757600080fd5b80638d859f3e146104ad5780638da5cb5b146104c857806394e2b3e1146104e657806395d89b411461051f578063a0712d681461053457600080fd5b80634e71d92d116101c7578063715018a61161018b578063715018a61461043957806371f9f2001461044e57806376500c171461046e578063853828b6146104835780638ad5de281461049857600080fd5b80634e71d92d146103af57806355f804b3146103c457806359a7715a146103e45780636352211e146103f957806370a082311461041957600080fd5b806323b872dd1161020e57806323b872dd1461031657806326a49e371461033657806327ac36c4146103645780633502a7161461037957806342842e0e1461038f57600080fd5b806301ffc9a71461024b57806306fdde0314610280578063081812fc146102a2578063095ea7b3146102da5780631a081330146102fc575b600080fd5b34801561025757600080fd5b5061026b610266366004612004565b610785565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b506102956107d7565b6040516102779190612079565b3480156102ae57600080fd5b506102c26102bd36600461208c565b610869565b6040516001600160a01b039091168152602001610277565b3480156102e657600080fd5b506102fa6102f53660046120c1565b6108f6565b005b34801561030857600080fd5b5060095461026b9060ff1681565b34801561032257600080fd5b506102fa6103313660046120eb565b610a0c565b34801561034257600080fd5b5061035661035136600461208c565b610a3d565b604051908152602001610277565b34801561037057600080fd5b506102fa610a50565b34801561038557600080fd5b5061035660065481565b34801561039b57600080fd5b506102fa6103aa3660046120eb565b610b22565b3480156103bb57600080fd5b506102fa610b3d565b3480156103d057600080fd5b506102fa6103df3660046121b3565b610d30565b3480156103f057600080fd5b50600354610356565b34801561040557600080fd5b506102c261041436600461208c565b610d6d565b34801561042557600080fd5b506103566104343660046121fc565b610df9565b34801561044557600080fd5b506102fa610ecb565b34801561045a57600080fd5b506102fa61046936600461208c565b610f01565b34801561047a57600080fd5b50610356606481565b34801561048f57600080fd5b506102fa610f7a565b3480156104a457600080fd5b50610356601e81565b3480156104b957600080fd5b5061035666d529ae9e86000081565b3480156104d457600080fd5b506000546001600160a01b03166102c2565b3480156104f257600080fd5b5061026b6105013660046121fc565b6001600160a01b03166000908152600a602052604090205460ff1690565b34801561052b57600080fd5b506102956110a2565b6102fa61054236600461208c565b6110b1565b34801561055357600080fd5b506102fa610562366004612227565b611255565b34801561057357600080fd5b506102fa61058236600461225a565b61131a565b34801561059357600080fd5b506102fa6105a2366004612275565b611357565b3480156105b357600080fd5b506102fa6105c23660046122ea565b611468565b3480156105d357600080fd5b506102c273e90b28593d303a018aeadd98d4efe37754361fa281565b3480156105fb57600080fd5b5061029561060a36600461208c565b6114a0565b34801561061b57600080fd5b506102c273143a57e29312c19e3bf000bbe5a49242a0237adc81565b34801561064357600080fd5b506102c273db3f3868920fc8588e4876c5901de0ec7f2bc01c81565b34801561066b57600080fd5b50610295611541565b34801561068057600080fd5b506103566361b3b1c081565b34801561069857600080fd5b5061026b6106a7366004612366565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106e157600080fd5b506102fa6106f03660046121fc565b6115cf565b34801561070157600080fd5b506102fa61071036600461208c565b61166a565b34801561072157600080fd5b506102c273cdc372ef1a3b7b5b985225e5d6e9237a117b03bf81565b34801561074957600080fd5b506102fa610758366004612275565b611699565b34801561076957600080fd5b506102c273c5f23769e133023e01157641a7b0ac58621f990581565b60006001600160e01b031982166380ac58cd60e01b14806107b657506001600160e01b03198216635b5e139f60e01b145b806107d157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546107e690612390565b80601f016020809104026020016040519081016040528092919081815260200182805461081290612390565b801561085f5780601f106108345761010080835404028352916020019161085f565b820191906000526020600020905b81548152906001019060200180831161084257829003601f168201915b5050505050905090565b600061087482611852565b6108da5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061090182610d6d565b9050806001600160a01b0316836001600160a01b0316141561096f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108d1565b336001600160a01b038216148061098b575061098b81336106a7565b6109fd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108d1565b610a07838361189c565b505050565b610a16338261190a565b610a325760405162461bcd60e51b81526004016108d1906123cb565b610a078383836119f4565b60006107d166d529ae9e86000083611b4a565b6000546001600160a01b03163314610a7a5760405162461bcd60e51b81526004016108d19061241c565b6064600854600754610a8c9190612467565b1115610ad15760405162461bcd60e51b815260206004820152601460248201527313585e081c995cd95c9d9948195e18d95959195960621b60448201526064016108d1565b60035460005b600854811015610b1e5760078054906000610af18361247f565b9190505550610b0c338380610b059061247f565b9450611b5d565b80610b168161247f565b915050610ad7565b5050565b610a0783838360405180602001604052806000815250611468565b60095460019060ff16610b855760405162461bcd60e51b815260206004820152601060248201526f29b0b6329034b9903737ba1037b832b760811b60448201526064016108d1565b336000908152600a602052604090205460ff16610be45760405162461bcd60e51b815260206004820152601960248201527f596f7520617265206e6f7420696e20636c61696d206c6973740000000000000060448201526064016108d1565b336000908152600b6020526040902054600111610c435760405162461bcd60e51b815260206004820152601c60248201527f436c61696d696e672065786365656473206d617820616c6c6f7765640000000060448201526064016108d1565b600354600654610c538383612467565b1115610c8d5760405162461bcd60e51b815260206004820152600960248201526813585e081b1a5b5a5d60ba1b60448201526064016108d1565b600654811115610cdf5760405162461bcd60e51b815260206004820152601e60248201527f416c6c204865617274627265616b6572732061726520736f6c64206f7574000060448201526064016108d1565b60005b82811015610a0757336000908152600b60205260408120805460019290610d0a908490612467565b90915550610d1e90503383610b058161247f565b80610d288161247f565b915050610ce2565b6000546001600160a01b03163314610d5a5760405162461bcd60e51b81526004016108d19061241c565b8051610b1e90600c906020840190611f55565b60008060038381548110610d8357610d8361249a565b6000918252602090912001546001600160a01b03169050806107d15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108d1565b60006001600160a01b038216610e645760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108d1565b600354600090815b81811015610ec25760038181548110610e8757610e8761249a565b6000918252602090912001546001600160a01b0386811691161415610eb257610eaf8361247f565b92505b610ebb8161247f565b9050610e6c565b50909392505050565b6000546001600160a01b03163314610ef55760405162461bcd60e51b81526004016108d19061241c565b610eff6000611c85565b565b6000546001600160a01b03163314610f2b5760405162461bcd60e51b81526004016108d19061241c565b600354808211610f745760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd081b995dc8185b5bdd5b9d60621b60448201526064016108d1565b50600655565b6000546001600160a01b03163314610fa45760405162461bcd60e51b81526004016108d19061241c565b4780610faf57600080fd5b6000610fc76064610fc1846030611b4a565b90611cd5565b90506000610fdb6064610fc1856019611b4a565b90506000610fef6064610fc186600c611b4a565b905060006110036064610fc1876005611b4a565b905061102373cdc372ef1a3b7b5b985225e5d6e9237a117b03bf85611ce1565b61104173e90b28593d303a018aeadd98d4efe37754361fa284611ce1565b61105f73143a57e29312c19e3bf000bbe5a49242a0237adc83611ce1565b61107d73c5f23769e133023e01157641a7b0ac58621f990582611ce1565b61109b73db3f3868920fc8588e4876c5901de0ec7f2bc01c47611ce1565b5050505050565b6060600280546107e690612390565b6000546001600160a01b031633146111085760095460ff166111085760405162461bcd60e51b815260206004820152601060248201526f29b0b6329034b9903737ba1037b832b760811b60448201526064016108d1565b6003546006546111188383612467565b11156111525760405162461bcd60e51b815260206004820152600960248201526813585e081b1a5b5a5d60ba1b60448201526064016108d1565b60065481111561119c5760405162461bcd60e51b8152602060048201526015602482015274105b1b081391951cc8185c99481cdbdb19081bdd5d605a1b60448201526064016108d1565b601e8211156111de5760405162461bcd60e51b815260206004820152600e60248201526d22bc31b2b2b23990373ab6b132b960911b60448201526064016108d1565b6111e782610a3d565b34101561122a5760405162461bcd60e51b815260206004820152601160248201527056616c75652062656c6f7720707269636560781b60448201526064016108d1565b60005b82811015610a07576112433383610b058161247f565b8061124d8161247f565b91505061122d565b6001600160a01b0382163314156112ae5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108d1565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b031633146113445760405162461bcd60e51b81526004016108d19061241c565b6009805460ff1916911515919091179055565b6000546001600160a01b031633146113815760405162461bcd60e51b81526004016108d19061241c565b60005b81811015610a075760008383838181106113a0576113a061249a565b90506020020160208101906113b591906121fc565b6001600160a01b031614156114015760405162461bcd60e51b8152602060048201526012602482015271139d5b1b081859191c995cdcc8199bdd5b9960721b60448201526064016108d1565b6000600a60008585858181106114195761141961249a565b905060200201602081019061142e91906121fc565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806114608161247f565b915050611384565b611472338361190a565b61148e5760405162461bcd60e51b81526004016108d1906123cb565b61149a84848484611d17565b50505050565b60606114ab82611852565b61150f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108d1565b600c61151a83611d4a565b60405160200161152b9291906124cc565b6040516020818303038152906040529050919050565b600c805461154e90612390565b80601f016020809104026020016040519081016040528092919081815260200182805461157a90612390565b80156115c75780601f1061159c576101008083540402835291602001916115c7565b820191906000526020600020905b8154815290600101906020018083116115aa57829003601f168201915b505050505081565b6000546001600160a01b031633146115f95760405162461bcd60e51b81526004016108d19061241c565b6001600160a01b03811661165e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108d1565b61166781611c85565b50565b6000546001600160a01b031633146116945760405162461bcd60e51b81526004016108d19061241c565b600855565b6000546001600160a01b031633146116c35760405162461bcd60e51b81526004016108d19061241c565b60005b81811015610a075760008383838181106116e2576116e261249a565b90506020020160208101906116f791906121fc565b6001600160a01b031614156117435760405162461bcd60e51b8152602060048201526012602482015271139d5b1b081859191c995cdcc8199bdd5b9960721b60448201526064016108d1565b6001600a600085858581811061175b5761175b61249a565b905060200201602081019061177091906121fc565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155600b818585858181106117b0576117b061249a565b90506020020160208101906117c591906121fc565b6001600160a01b03166001600160a01b0316815260200190815260200160002054116117f257600061183f565b600b60008484848181106118085761180861249a565b905060200201602081019061181d91906121fc565b6001600160a01b03166001600160a01b03168152602001908152602001600020545b508061184a8161247f565b9150506116c6565b600354600090821080156107d1575060006001600160a01b03166003838154811061187f5761187f61249a565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118d182610d6d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061191582611852565b6119765760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108d1565b600061198183610d6d565b9050806001600160a01b0316846001600160a01b031614806119bc5750836001600160a01b03166119b184610869565b6001600160a01b0316145b806119ec57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611a0782610d6d565b6001600160a01b031614611a6f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108d1565b6001600160a01b038216611ad15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108d1565b611adc60008261189c565b8160038281548110611af057611af061249a565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6000611b568284612573565b9392505050565b6001600160a01b038216611bb35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108d1565b611bbc81611852565b15611c095760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108d1565b6003805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000611b5682846125a8565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610a07573d6000803e3d6000fd5b611d228484846119f4565b611d2e84848484611e48565b61149a5760405162461bcd60e51b81526004016108d1906125bc565b606081611d6e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d985780611d828161247f565b9150611d919050600a836125a8565b9150611d72565b60008167ffffffffffffffff811115611db357611db3612127565b6040519080825280601f01601f191660200182016040528015611ddd576020820181803683370190505b5090505b84156119ec57611df260018361260e565b9150611dff600a86612625565b611e0a906030612467565b60f81b818381518110611e1f57611e1f61249a565b60200101906001600160f81b031916908160001a905350611e41600a866125a8565b9450611de1565b60006001600160a01b0384163b15611f4a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e8c903390899088908890600401612639565b602060405180830381600087803b158015611ea657600080fd5b505af1925050508015611ed6575060408051601f3d908101601f19168201909252611ed391810190612676565b60015b611f30573d808015611f04576040519150601f19603f3d011682016040523d82523d6000602084013e611f09565b606091505b508051611f285760405162461bcd60e51b81526004016108d1906125bc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119ec565b506001949350505050565b828054611f6190612390565b90600052602060002090601f016020900481019282611f835760008555611fc9565b82601f10611f9c57805160ff1916838001178555611fc9565b82800160010185558215611fc9579182015b82811115611fc9578251825591602001919060010190611fae565b50611fd5929150611fd9565b5090565b5b80821115611fd55760008155600101611fda565b6001600160e01b03198116811461166757600080fd5b60006020828403121561201657600080fd5b8135611b5681611fee565b60005b8381101561203c578181015183820152602001612024565b8381111561149a5750506000910152565b60008151808452612065816020860160208601612021565b601f01601f19169290920160200192915050565b602081526000611b56602083018461204d565b60006020828403121561209e57600080fd5b5035919050565b80356001600160a01b03811681146120bc57600080fd5b919050565b600080604083850312156120d457600080fd5b6120dd836120a5565b946020939093013593505050565b60008060006060848603121561210057600080fd5b612109846120a5565b9250612117602085016120a5565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561215857612158612127565b604051601f8501601f19908116603f0116810190828211818310171561218057612180612127565b8160405280935085815286868601111561219957600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156121c557600080fd5b813567ffffffffffffffff8111156121dc57600080fd5b8201601f810184136121ed57600080fd5b6119ec8482356020840161213d565b60006020828403121561220e57600080fd5b611b56826120a5565b803580151581146120bc57600080fd5b6000806040838503121561223a57600080fd5b612243836120a5565b915061225160208401612217565b90509250929050565b60006020828403121561226c57600080fd5b611b5682612217565b6000806020838503121561228857600080fd5b823567ffffffffffffffff808211156122a057600080fd5b818501915085601f8301126122b457600080fd5b8135818111156122c357600080fd5b8660208260051b85010111156122d857600080fd5b60209290920196919550909350505050565b6000806000806080858703121561230057600080fd5b612309856120a5565b9350612317602086016120a5565b925060408501359150606085013567ffffffffffffffff81111561233a57600080fd5b8501601f8101871361234b57600080fd5b61235a8782356020840161213d565b91505092959194509250565b6000806040838503121561237957600080fd5b612382836120a5565b9150612251602084016120a5565b600181811c908216806123a457607f821691505b602082108114156123c557634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561247a5761247a612451565b500190565b600060001982141561249357612493612451565b5060010190565b634e487b7160e01b600052603260045260246000fd5b600081516124c2818560208601612021565b9290920192915050565b600080845481600182811c9150808316806124e857607f831692505b602080841082141561250857634e487b7160e01b86526022600452602486fd5b81801561251c576001811461252d5761255a565b60ff1986168952848901965061255a565b60008b81526020902060005b868110156125525781548b820152908501908301612539565b505084890196505b50505050505061256a81856124b0565b95945050505050565b600081600019048311821515161561258d5761258d612451565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826125b7576125b7612592565b500490565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008282101561262057612620612451565b500390565b60008261263457612634612592565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061266c9083018461204d565b9695505050505050565b60006020828403121561268857600080fd5b8151611b5681611fee56fea26469706673582212206c9a93c4b3cc96de2ab7e91871e014bebda416982ac96ea0b422fce83851b7aa64736f6c634300080900330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003568747470733a2f2f6170692e7468656865617274627265616b6572732e6170702f6170692f76312f6865617274627265616b65722f0000000000000000000000
Deployed Bytecode
0x6080604052600436106102465760003560e01c80638d859f3e11610139578063c87b56dd116100b6578063e985e9c51161007a578063e985e9c51461068c578063f2fde38b146106d5578063f6c9d9e3146106f5578063fb5343f314610715578063fdf20d561461073d578063feae062d1461075d57600080fd5b8063c87b56dd146105ef578063cfad78b11461060f578063d2f2b21d14610637578063d547cfb71461065f578063e954f41d1461067457600080fd5b8063a22cb465116100fd578063a22cb46514610547578063af979f2514610567578063b0f4cdcf14610587578063b88d4fde146105a7578063baf2f868146105c757600080fd5b80638d859f3e146104ad5780638da5cb5b146104c857806394e2b3e1146104e657806395d89b411461051f578063a0712d681461053457600080fd5b80634e71d92d116101c7578063715018a61161018b578063715018a61461043957806371f9f2001461044e57806376500c171461046e578063853828b6146104835780638ad5de281461049857600080fd5b80634e71d92d146103af57806355f804b3146103c457806359a7715a146103e45780636352211e146103f957806370a082311461041957600080fd5b806323b872dd1161020e57806323b872dd1461031657806326a49e371461033657806327ac36c4146103645780633502a7161461037957806342842e0e1461038f57600080fd5b806301ffc9a71461024b57806306fdde0314610280578063081812fc146102a2578063095ea7b3146102da5780631a081330146102fc575b600080fd5b34801561025757600080fd5b5061026b610266366004612004565b610785565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b506102956107d7565b6040516102779190612079565b3480156102ae57600080fd5b506102c26102bd36600461208c565b610869565b6040516001600160a01b039091168152602001610277565b3480156102e657600080fd5b506102fa6102f53660046120c1565b6108f6565b005b34801561030857600080fd5b5060095461026b9060ff1681565b34801561032257600080fd5b506102fa6103313660046120eb565b610a0c565b34801561034257600080fd5b5061035661035136600461208c565b610a3d565b604051908152602001610277565b34801561037057600080fd5b506102fa610a50565b34801561038557600080fd5b5061035660065481565b34801561039b57600080fd5b506102fa6103aa3660046120eb565b610b22565b3480156103bb57600080fd5b506102fa610b3d565b3480156103d057600080fd5b506102fa6103df3660046121b3565b610d30565b3480156103f057600080fd5b50600354610356565b34801561040557600080fd5b506102c261041436600461208c565b610d6d565b34801561042557600080fd5b506103566104343660046121fc565b610df9565b34801561044557600080fd5b506102fa610ecb565b34801561045a57600080fd5b506102fa61046936600461208c565b610f01565b34801561047a57600080fd5b50610356606481565b34801561048f57600080fd5b506102fa610f7a565b3480156104a457600080fd5b50610356601e81565b3480156104b957600080fd5b5061035666d529ae9e86000081565b3480156104d457600080fd5b506000546001600160a01b03166102c2565b3480156104f257600080fd5b5061026b6105013660046121fc565b6001600160a01b03166000908152600a602052604090205460ff1690565b34801561052b57600080fd5b506102956110a2565b6102fa61054236600461208c565b6110b1565b34801561055357600080fd5b506102fa610562366004612227565b611255565b34801561057357600080fd5b506102fa61058236600461225a565b61131a565b34801561059357600080fd5b506102fa6105a2366004612275565b611357565b3480156105b357600080fd5b506102fa6105c23660046122ea565b611468565b3480156105d357600080fd5b506102c273e90b28593d303a018aeadd98d4efe37754361fa281565b3480156105fb57600080fd5b5061029561060a36600461208c565b6114a0565b34801561061b57600080fd5b506102c273143a57e29312c19e3bf000bbe5a49242a0237adc81565b34801561064357600080fd5b506102c273db3f3868920fc8588e4876c5901de0ec7f2bc01c81565b34801561066b57600080fd5b50610295611541565b34801561068057600080fd5b506103566361b3b1c081565b34801561069857600080fd5b5061026b6106a7366004612366565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106e157600080fd5b506102fa6106f03660046121fc565b6115cf565b34801561070157600080fd5b506102fa61071036600461208c565b61166a565b34801561072157600080fd5b506102c273cdc372ef1a3b7b5b985225e5d6e9237a117b03bf81565b34801561074957600080fd5b506102fa610758366004612275565b611699565b34801561076957600080fd5b506102c273c5f23769e133023e01157641a7b0ac58621f990581565b60006001600160e01b031982166380ac58cd60e01b14806107b657506001600160e01b03198216635b5e139f60e01b145b806107d157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546107e690612390565b80601f016020809104026020016040519081016040528092919081815260200182805461081290612390565b801561085f5780601f106108345761010080835404028352916020019161085f565b820191906000526020600020905b81548152906001019060200180831161084257829003601f168201915b5050505050905090565b600061087482611852565b6108da5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061090182610d6d565b9050806001600160a01b0316836001600160a01b0316141561096f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108d1565b336001600160a01b038216148061098b575061098b81336106a7565b6109fd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108d1565b610a07838361189c565b505050565b610a16338261190a565b610a325760405162461bcd60e51b81526004016108d1906123cb565b610a078383836119f4565b60006107d166d529ae9e86000083611b4a565b6000546001600160a01b03163314610a7a5760405162461bcd60e51b81526004016108d19061241c565b6064600854600754610a8c9190612467565b1115610ad15760405162461bcd60e51b815260206004820152601460248201527313585e081c995cd95c9d9948195e18d95959195960621b60448201526064016108d1565b60035460005b600854811015610b1e5760078054906000610af18361247f565b9190505550610b0c338380610b059061247f565b9450611b5d565b80610b168161247f565b915050610ad7565b5050565b610a0783838360405180602001604052806000815250611468565b60095460019060ff16610b855760405162461bcd60e51b815260206004820152601060248201526f29b0b6329034b9903737ba1037b832b760811b60448201526064016108d1565b336000908152600a602052604090205460ff16610be45760405162461bcd60e51b815260206004820152601960248201527f596f7520617265206e6f7420696e20636c61696d206c6973740000000000000060448201526064016108d1565b336000908152600b6020526040902054600111610c435760405162461bcd60e51b815260206004820152601c60248201527f436c61696d696e672065786365656473206d617820616c6c6f7765640000000060448201526064016108d1565b600354600654610c538383612467565b1115610c8d5760405162461bcd60e51b815260206004820152600960248201526813585e081b1a5b5a5d60ba1b60448201526064016108d1565b600654811115610cdf5760405162461bcd60e51b815260206004820152601e60248201527f416c6c204865617274627265616b6572732061726520736f6c64206f7574000060448201526064016108d1565b60005b82811015610a0757336000908152600b60205260408120805460019290610d0a908490612467565b90915550610d1e90503383610b058161247f565b80610d288161247f565b915050610ce2565b6000546001600160a01b03163314610d5a5760405162461bcd60e51b81526004016108d19061241c565b8051610b1e90600c906020840190611f55565b60008060038381548110610d8357610d8361249a565b6000918252602090912001546001600160a01b03169050806107d15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108d1565b60006001600160a01b038216610e645760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108d1565b600354600090815b81811015610ec25760038181548110610e8757610e8761249a565b6000918252602090912001546001600160a01b0386811691161415610eb257610eaf8361247f565b92505b610ebb8161247f565b9050610e6c565b50909392505050565b6000546001600160a01b03163314610ef55760405162461bcd60e51b81526004016108d19061241c565b610eff6000611c85565b565b6000546001600160a01b03163314610f2b5760405162461bcd60e51b81526004016108d19061241c565b600354808211610f745760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd081b995dc8185b5bdd5b9d60621b60448201526064016108d1565b50600655565b6000546001600160a01b03163314610fa45760405162461bcd60e51b81526004016108d19061241c565b4780610faf57600080fd5b6000610fc76064610fc1846030611b4a565b90611cd5565b90506000610fdb6064610fc1856019611b4a565b90506000610fef6064610fc186600c611b4a565b905060006110036064610fc1876005611b4a565b905061102373cdc372ef1a3b7b5b985225e5d6e9237a117b03bf85611ce1565b61104173e90b28593d303a018aeadd98d4efe37754361fa284611ce1565b61105f73143a57e29312c19e3bf000bbe5a49242a0237adc83611ce1565b61107d73c5f23769e133023e01157641a7b0ac58621f990582611ce1565b61109b73db3f3868920fc8588e4876c5901de0ec7f2bc01c47611ce1565b5050505050565b6060600280546107e690612390565b6000546001600160a01b031633146111085760095460ff166111085760405162461bcd60e51b815260206004820152601060248201526f29b0b6329034b9903737ba1037b832b760811b60448201526064016108d1565b6003546006546111188383612467565b11156111525760405162461bcd60e51b815260206004820152600960248201526813585e081b1a5b5a5d60ba1b60448201526064016108d1565b60065481111561119c5760405162461bcd60e51b8152602060048201526015602482015274105b1b081391951cc8185c99481cdbdb19081bdd5d605a1b60448201526064016108d1565b601e8211156111de5760405162461bcd60e51b815260206004820152600e60248201526d22bc31b2b2b23990373ab6b132b960911b60448201526064016108d1565b6111e782610a3d565b34101561122a5760405162461bcd60e51b815260206004820152601160248201527056616c75652062656c6f7720707269636560781b60448201526064016108d1565b60005b82811015610a07576112433383610b058161247f565b8061124d8161247f565b91505061122d565b6001600160a01b0382163314156112ae5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108d1565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b031633146113445760405162461bcd60e51b81526004016108d19061241c565b6009805460ff1916911515919091179055565b6000546001600160a01b031633146113815760405162461bcd60e51b81526004016108d19061241c565b60005b81811015610a075760008383838181106113a0576113a061249a565b90506020020160208101906113b591906121fc565b6001600160a01b031614156114015760405162461bcd60e51b8152602060048201526012602482015271139d5b1b081859191c995cdcc8199bdd5b9960721b60448201526064016108d1565b6000600a60008585858181106114195761141961249a565b905060200201602081019061142e91906121fc565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806114608161247f565b915050611384565b611472338361190a565b61148e5760405162461bcd60e51b81526004016108d1906123cb565b61149a84848484611d17565b50505050565b60606114ab82611852565b61150f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108d1565b600c61151a83611d4a565b60405160200161152b9291906124cc565b6040516020818303038152906040529050919050565b600c805461154e90612390565b80601f016020809104026020016040519081016040528092919081815260200182805461157a90612390565b80156115c75780601f1061159c576101008083540402835291602001916115c7565b820191906000526020600020905b8154815290600101906020018083116115aa57829003601f168201915b505050505081565b6000546001600160a01b031633146115f95760405162461bcd60e51b81526004016108d19061241c565b6001600160a01b03811661165e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108d1565b61166781611c85565b50565b6000546001600160a01b031633146116945760405162461bcd60e51b81526004016108d19061241c565b600855565b6000546001600160a01b031633146116c35760405162461bcd60e51b81526004016108d19061241c565b60005b81811015610a075760008383838181106116e2576116e261249a565b90506020020160208101906116f791906121fc565b6001600160a01b031614156117435760405162461bcd60e51b8152602060048201526012602482015271139d5b1b081859191c995cdcc8199bdd5b9960721b60448201526064016108d1565b6001600a600085858581811061175b5761175b61249a565b905060200201602081019061177091906121fc565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155600b818585858181106117b0576117b061249a565b90506020020160208101906117c591906121fc565b6001600160a01b03166001600160a01b0316815260200190815260200160002054116117f257600061183f565b600b60008484848181106118085761180861249a565b905060200201602081019061181d91906121fc565b6001600160a01b03166001600160a01b03168152602001908152602001600020545b508061184a8161247f565b9150506116c6565b600354600090821080156107d1575060006001600160a01b03166003838154811061187f5761187f61249a565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118d182610d6d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061191582611852565b6119765760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108d1565b600061198183610d6d565b9050806001600160a01b0316846001600160a01b031614806119bc5750836001600160a01b03166119b184610869565b6001600160a01b0316145b806119ec57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611a0782610d6d565b6001600160a01b031614611a6f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108d1565b6001600160a01b038216611ad15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108d1565b611adc60008261189c565b8160038281548110611af057611af061249a565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6000611b568284612573565b9392505050565b6001600160a01b038216611bb35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108d1565b611bbc81611852565b15611c095760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108d1565b6003805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000611b5682846125a8565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610a07573d6000803e3d6000fd5b611d228484846119f4565b611d2e84848484611e48565b61149a5760405162461bcd60e51b81526004016108d1906125bc565b606081611d6e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d985780611d828161247f565b9150611d919050600a836125a8565b9150611d72565b60008167ffffffffffffffff811115611db357611db3612127565b6040519080825280601f01601f191660200182016040528015611ddd576020820181803683370190505b5090505b84156119ec57611df260018361260e565b9150611dff600a86612625565b611e0a906030612467565b60f81b818381518110611e1f57611e1f61249a565b60200101906001600160f81b031916908160001a905350611e41600a866125a8565b9450611de1565b60006001600160a01b0384163b15611f4a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e8c903390899088908890600401612639565b602060405180830381600087803b158015611ea657600080fd5b505af1925050508015611ed6575060408051601f3d908101601f19168201909252611ed391810190612676565b60015b611f30573d808015611f04576040519150601f19603f3d011682016040523d82523d6000602084013e611f09565b606091505b508051611f285760405162461bcd60e51b81526004016108d1906125bc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119ec565b506001949350505050565b828054611f6190612390565b90600052602060002090601f016020900481019282611f835760008555611fc9565b82601f10611f9c57805160ff1916838001178555611fc9565b82800160010185558215611fc9579182015b82811115611fc9578251825591602001919060010190611fae565b50611fd5929150611fd9565b5090565b5b80821115611fd55760008155600101611fda565b6001600160e01b03198116811461166757600080fd5b60006020828403121561201657600080fd5b8135611b5681611fee565b60005b8381101561203c578181015183820152602001612024565b8381111561149a5750506000910152565b60008151808452612065816020860160208601612021565b601f01601f19169290920160200192915050565b602081526000611b56602083018461204d565b60006020828403121561209e57600080fd5b5035919050565b80356001600160a01b03811681146120bc57600080fd5b919050565b600080604083850312156120d457600080fd5b6120dd836120a5565b946020939093013593505050565b60008060006060848603121561210057600080fd5b612109846120a5565b9250612117602085016120a5565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561215857612158612127565b604051601f8501601f19908116603f0116810190828211818310171561218057612180612127565b8160405280935085815286868601111561219957600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156121c557600080fd5b813567ffffffffffffffff8111156121dc57600080fd5b8201601f810184136121ed57600080fd5b6119ec8482356020840161213d565b60006020828403121561220e57600080fd5b611b56826120a5565b803580151581146120bc57600080fd5b6000806040838503121561223a57600080fd5b612243836120a5565b915061225160208401612217565b90509250929050565b60006020828403121561226c57600080fd5b611b5682612217565b6000806020838503121561228857600080fd5b823567ffffffffffffffff808211156122a057600080fd5b818501915085601f8301126122b457600080fd5b8135818111156122c357600080fd5b8660208260051b85010111156122d857600080fd5b60209290920196919550909350505050565b6000806000806080858703121561230057600080fd5b612309856120a5565b9350612317602086016120a5565b925060408501359150606085013567ffffffffffffffff81111561233a57600080fd5b8501601f8101871361234b57600080fd5b61235a8782356020840161213d565b91505092959194509250565b6000806040838503121561237957600080fd5b612382836120a5565b9150612251602084016120a5565b600181811c908216806123a457607f821691505b602082108114156123c557634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561247a5761247a612451565b500190565b600060001982141561249357612493612451565b5060010190565b634e487b7160e01b600052603260045260246000fd5b600081516124c2818560208601612021565b9290920192915050565b600080845481600182811c9150808316806124e857607f831692505b602080841082141561250857634e487b7160e01b86526022600452602486fd5b81801561251c576001811461252d5761255a565b60ff1986168952848901965061255a565b60008b81526020902060005b868110156125525781548b820152908501908301612539565b505084890196505b50505050505061256a81856124b0565b95945050505050565b600081600019048311821515161561258d5761258d612451565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826125b7576125b7612592565b500490565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008282101561262057612620612451565b500390565b60008261263457612634612592565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061266c9083018461204d565b9695505050505050565b60006020828403121561268857600080fd5b8151611b5681611fee56fea26469706673582212206c9a93c4b3cc96de2ab7e91871e014bebda416982ac96ea0b422fce83851b7aa64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003568747470733a2f2f6170692e7468656865617274627265616b6572732e6170702f6170692f76312f6865617274627265616b65722f0000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): https://api.theheartbreakers.app/api/v1/heartbreaker/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [2] : 68747470733a2f2f6170692e7468656865617274627265616b6572732e617070
Arg [3] : 2f6170692f76312f6865617274627265616b65722f0000000000000000000000
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.