ERC-721
Overview
Max Total Supply
50 HT4
Holders
33
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 HT4Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HedsTape
Compiler Version
v0.8.10+commit.fc410830
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.10; import "ERC721K/ERC721K.sol"; import "openzeppelin-contracts/contracts/access/Ownable.sol"; error InsufficientFunds(); error ExceedsMaxSupply(); error BeforeSaleStart(); error FailedTransfer(); error URIQueryForNonexistentToken(); error UnmatchedLength(); error NoShares(); /// @title ERC721 contract for https://heds.io/ HedsTape /// @author https://github.com/kadenzipfel contract HedsTape is ERC721K, Ownable { struct SaleConfig { uint64 price; uint32 maxSupply; uint32 startTime; } /// @notice NFT sale data /// @dev Sale data packed into single storage slot SaleConfig public saleConfig; string private baseUri = 'ipfs://QmTa6Qi4guwave4nhWkVkwhkb2UEACnbJF2hyGVZ76o5kS'; address private zeroXSplit = 0x3058435589213f59e8653D1410508bCd3F7a4DfD; constructor() ERC721K("hedsTAPE 4", "HT4") { saleConfig.price = 0.1 ether; saleConfig.maxSupply = 150; saleConfig.startTime = 1653159600; } /// @notice Mint a HedsTape token /// @param _amount Number of tokens to mint function mintHead(uint _amount) external payable { SaleConfig memory config = saleConfig; uint _price = uint(config.price); uint _maxSupply = uint(config.maxSupply); uint _startTime = uint(config.startTime); if (_amount * _price != msg.value) revert InsufficientFunds(); if (_currentIndex + _amount > _maxSupply + 1) revert ExceedsMaxSupply(); if (block.timestamp < _startTime) revert BeforeSaleStart(); _safeMint(msg.sender, _amount); } /// @notice Update baseUri - must be contract owner function setBaseUri(string calldata _baseUri) external onlyOwner { baseUri = _baseUri; } /// @notice Return tokenURI for a given token /// @dev Same tokenURI returned for all tokenId's function tokenURI(uint _tokenId) public view override returns (string memory) { if (0 == _tokenId || _tokenId > _currentIndex - 1) revert URIQueryForNonexistentToken(); return baseUri; } /// @notice Update sale start time - must be contract owner function updateStartTime(uint32 _startTime) external onlyOwner { saleConfig.startTime = _startTime; } /// @notice Withdraw contract balance - must be contract owner function withdraw() external onlyOwner { (bool success, ) = payable(zeroXSplit).call{value: address(this).balance}(""); if (!success) revert FailedTransfer(); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; error ERC721__ApprovalCallerNotOwnerNorApproved(address caller); error ERC721__ApproveToCaller(); error ERC721__ApprovalToCurrentOwner(); error ERC721__BalanceQueryForZeroAddress(); error ERC721__MintToZeroAddress(); error ERC721__MintZeroQuantity(); error ERC721__OwnerQueryForNonexistentToken(uint256 tokenId); error ERC721__TransferCallerNotOwnerNorApproved(address caller); error ERC721__TransferFromIncorrectOwner(address from, address owner); error ERC721__TransferToNonERC721ReceiverImplementer(address receiver); error ERC721__TransferToZeroAddress(); /** * @notice Maximally optimized, minimalist ERC-721 implementation. * * @dev Assumes serials are sequentially minted starting at 1 (e.g. 1, 2, 3..), * and that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * @author https://github.com/kadenzipfel - fork of https://github.com/chiru-labs/ERC721A, * inspired by https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol. */ abstract contract ERC721K { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ /** * @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); /*////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ // Token name string public name; // Token symbol string public symbol; /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual returns (string memory); /*////////////////////////////////////////////////////////////// ERC721 STORAGE //////////////////////////////////////////////////////////////*/ // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex = 1; // The number of tokens burned. uint256 internal _burnCounter; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) public getApproved; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) public isApprovedForAll; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - 1 times unchecked { return _currentIndex - _burnCounter - 1; } } /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view returns (uint256) { if (owner == address(0)) revert ERC721__BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * @dev Returns the owner of the `tokenId` token. */ function ownerOf(uint256 tokenId) public view returns (address) { return _ownershipOf(tokenId).addr; } /** * @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) public { address owner = ERC721K.ownerOf(tokenId); if (to == owner) revert ERC721__ApprovalToCurrentOwner(); if (msg.sender != owner && !isApprovedForAll[owner][msg.sender]) { revert ERC721__ApprovalCallerNotOwnerNorApproved(msg.sender); } _approve(to, tokenId, owner); } /** * @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) public virtual { if (operator == msg.sender) revert ERC721__ApproveToCaller(); isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } /** * @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 ) public virtual { _transfer(from, to, tokenId); } /** * @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 ) public virtual { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public virtual { _transfer(from, to, tokenId); if (to.code.length != 0 && ERC721TokenReceiver(to).onERC721Received(msg.sender, from, tokenId, _data) != ERC721TokenReceiver.onERC721Received.selector) { revert ERC721__TransferToNonERC721ReceiverImplementer(to); } } /*////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*////////////////////////////////////////////////////////////// INTERNAL LOGIC //////////////////////////////////////////////////////////////*/ /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to 1 unchecked { return _currentIndex - 1; } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (curr != 0 && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert ERC721__OwnerQueryForNonexistentToken(tokenId); } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert ERC721__MintToZeroAddress(); if (quantity == 0) revert ERC721__MintZeroQuantity(); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); if (ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), end - 1, _data) != ERC721TokenReceiver.onERC721Received.selector) { revert ERC721__TransferToNonERC721ReceiverImplementer(to); } // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert ERC721__TransferFromIncorrectOwner(from, prevOwnership.addr); bool isApprovedOrOwner = (msg.sender == from || getApproved[tokenId] == msg.sender) || isApprovedForAll[from][msg.sender]; if (!isApprovedOrOwner) revert ERC721__TransferCallerNotOwnerNorApproved(msg.sender); if (to == address(0)) revert ERC721__TransferToZeroAddress(); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } delete getApproved[tokenId]; emit Transfer(from, to, tokenId); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (msg.sender == from || getApproved[tokenId] == msg.sender) || isApprovedForAll[from][msg.sender]; if (!isApprovedOrOwner) revert ERC721__TransferCallerNotOwnerNorApproved(msg.sender); } // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } delete getApproved[tokenId]; emit Transfer(from, address(0), tokenId); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { getApproved[tokenId] = to; emit Approval(owner, to, tokenId); } } /// @notice A generic interface for a contract which properly accepts ERC721 tokens. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) interface ERC721TokenReceiver { function onERC721Received( address operator, address from, uint256 id, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "remappings": [ "ERC721K/=lib/ERC721K/src/", "ds-test/=lib/ds-test/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "solmate/=lib/solmate/src/", "src/=src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london" }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BeforeSaleStart","type":"error"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"ERC721__ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ERC721__ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ERC721__ApproveToCaller","type":"error"},{"inputs":[],"name":"ERC721__BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ERC721__MintToZeroAddress","type":"error"},{"inputs":[],"name":"ERC721__MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721__OwnerQueryForNonexistentToken","type":"error"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"ERC721__TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721__TransferFromIncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721__TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"ERC721__TransferToZeroAddress","type":"error"},{"inputs":[],"name":"ExceedsMaxSupply","type":"error"},{"inputs":[],"name":"FailedTransfer","type":"error"},{"inputs":[],"name":"InsufficientFunds","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintHead","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleConfig","outputs":[{"internalType":"uint64","name":"price","type":"uint64"},{"internalType":"uint32","name":"maxSupply","type":"uint32"},{"internalType":"uint32","name":"startTime","type":"uint32"}],"stateMutability":"view","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_startTime","type":"uint32"}],"name":"updateStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600160025560e06040526035608081815290620019c560a03980516200002e91600a9160209091019062000161565b50600b80546001600160a01b031916733058435589213f59e8653d1410508bcd3f7a4dfd1790553480156200006257600080fd5b50604080518082018252600a8152691a19591cd5105411480d60b21b60208083019182528351808501909452600384526212150d60ea1b908401528151919291620000b09160009162000161565b508051620000c690600190602084019062000161565b505050620000e3620000dd6200010b60201b60201c565b6200010f565b600980546001600160801b0319166f628936b000000096016345785d8a000017905562000244565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016f9062000207565b90600052602060002090601f016020900481019282620001935760008555620001de565b82601f10620001ae57805160ff1916838001178555620001de565b82800160010185558215620001de579182015b82811115620001de578251825591602001919060010190620001c1565b50620001ec929150620001f0565b5090565b5b80821115620001ec5760008155600101620001f1565b600181811c908216806200021c57607f821691505b602082108114156200023e57634e487b7160e01b600052602260045260246000fd5b50919050565b61177180620002546000396000f3fe6080604052600436106101355760003560e01c806380915df2116100ab578063a22cb4651161006f578063a22cb465146103ac578063aa2889f0146103cc578063b88d4fde146103df578063c87b56dd146103ff578063e985e9c51461041f578063f2fde38b1461045a57600080fd5b806380915df2146102d25780638da5cb5b146102f257806390aa0b0f1461031057806395d89b4114610377578063a0bcfc7f1461038c57600080fd5b806323b872dd116100fd57806323b872dd146102285780633ccfd60b1461024857806342842e0e1461025d5780636352211e1461027d57806370a082311461029d578063715018a6146102bd57600080fd5b806301ffc9a71461013a57806306fdde031461016f578063081812fc14610191578063095ea7b3146101df57806318160ddd14610201575b600080fd5b34801561014657600080fd5b5061015a6101553660046112da565b61047a565b60405190151581526020015b60405180910390f35b34801561017b57600080fd5b506101846104cc565b604051610166919061134b565b34801561019d57600080fd5b506101c76101ac36600461135e565b6006602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610166565b3480156101eb57600080fd5b506101ff6101fa366004611393565b61055a565b005b34801561020d57600080fd5b5060035460025403600019015b604051908152602001610166565b34801561023457600080fd5b506101ff6102433660046113bd565b61060c565b34801561025457600080fd5b506101ff610617565b34801561026957600080fd5b506101ff6102783660046113bd565b6106b8565b34801561028957600080fd5b506101c761029836600461135e565b6106d3565b3480156102a957600080fd5b5061021a6102b83660046113f9565b6106e5565b3480156102c957600080fd5b506101ff610734565b3480156102de57600080fd5b506101ff6102ed366004611414565b61076a565b3480156102fe57600080fd5b506008546001600160a01b03166101c7565b34801561031c57600080fd5b5060095461034a9067ffffffffffffffff81169063ffffffff600160401b8204811691600160601b90041683565b6040805167ffffffffffffffff909416845263ffffffff9283166020850152911690820152606001610166565b34801561038357600080fd5b506101846107ba565b34801561039857600080fd5b506101ff6103a736600461143a565b6107c7565b3480156103b857600080fd5b506101ff6103c73660046114ac565b6107fd565b6101ff6103da36600461135e565b610893565b3480156103eb57600080fd5b506101ff6103fa3660046114fe565b610967565b34801561040b57600080fd5b5061018461041a36600461135e565b610a39565b34801561042b57600080fd5b5061015a61043a3660046115da565b600760209081526000928352604080842090915290825290205460ff1681565b34801561046657600080fd5b506101ff6104753660046113f9565b610b05565b60006301ffc9a760e01b6001600160e01b0319831614806104ab57506380ac58cd60e01b6001600160e01b03198316145b806104c65750635b5e139f60e01b6001600160e01b03198316145b92915050565b600080546104d99061160d565b80601f01602080910402602001604051908101604052809291908181526020018280546105059061160d565b80156105525780601f1061052757610100808354040283529160200191610552565b820191906000526020600020905b81548152906001019060200180831161053557829003601f168201915b505050505081565b6000610565826106d3565b9050806001600160a01b0316836001600160a01b0316141561059a57604051634be9270b60e01b815260040160405180910390fd5b336001600160a01b038216148015906105d757506001600160a01b038116600090815260076020908152604080832033845290915290205460ff16155b156105fc57604051636663333f60e11b81523360048201526024015b60405180910390fd5b610607838383610b9d565b505050565b610607838383610bf9565b6008546001600160a01b031633146106415760405162461bcd60e51b81526004016105f390611648565b600b546040516000916001600160a01b03169047908381818185875af1925050503d806000811461068e576040519150601f19603f3d011682016040523d82523d6000602084013e610693565b606091505b50509050806106b55760405163bfa871c560e01b815260040160405180910390fd5b50565b61060783838360405180602001604052806000815250610967565b60006106de82610e37565b5192915050565b60006001600160a01b03821661070e57604051636c31fa5360e11b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331461075e5760405162461bcd60e51b81526004016105f390611648565b6107686000610f61565b565b6008546001600160a01b031633146107945760405162461bcd60e51b81526004016105f390611648565b6009805463ffffffff909216600160601b0263ffffffff60601b19909216919091179055565b600180546104d99061160d565b6008546001600160a01b031633146107f15760405162461bcd60e51b81526004016105f390611648565b610607600a838361122b565b6001600160a01b0382163314156108275760405163134efed760e31b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6040805160608101825260095467ffffffffffffffff811680835263ffffffff600160401b8304811660208501819052600160601b909304169383018490529192346108df8487611693565b146108fd5760405163356680b760e01b815260040160405180910390fd5b6109088260016116b2565b8560025461091691906116b2565b11156109355760405163c30436e960e01b815260040160405180910390fd5b804210156109565760405163c9cd434360e01b815260040160405180910390fd5b6109603386610fb3565b5050505050565b610972848484610bf9565b6001600160a01b0383163b15801590610a0a5750604051630a85bd0160e11b808252906001600160a01b0385169063150b7a02906109ba9033908990889088906004016116ca565b6020604051808303816000875af11580156109d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fd9190611707565b6001600160e01b03191614155b15610a33576040516324ac878f60e01b81526001600160a01b03841660048201526024016105f3565b50505050565b6060811580610a5557506001600254610a529190611724565b82115b15610a7357604051630a14c4b560e41b815260040160405180910390fd5b600a8054610a809061160d565b80601f0160208091040260200160405190810160405280929190818152602001828054610aac9061160d565b8015610af95780601f10610ace57610100808354040283529160200191610af9565b820191906000526020600020905b815481529060010190602001808311610adc57829003601f168201915b50505050509050919050565b6008546001600160a01b03163314610b2f5760405162461bcd60e51b81526004016105f390611648565b6001600160a01b038116610b945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f3565b6106b581610f61565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610c0482610e37565b9050836001600160a01b031681600001516001600160a01b031614610c525780516040516306a0c65b60e21b81526001600160a01b03808716600483015290911660248201526044016105f3565b6000336001600160a01b0386161480610c8157506000838152600660205260409020546001600160a01b031633145b80610caf57506001600160a01b038516600090815260076020908152604080832033845290915290205460ff165b905080610cd15760405163857cab9f60e01b81523360048201526024016105f3565b6001600160a01b038416610cf857604051634f19f1b760e11b815260040160405180910390fd5b610d0460008487610b9d565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610dda576002548214610dda578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505060008381526006602052604080822080546001600160a01b03191690555184916001600160a01b0387811692908916917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a45050505050565b6040805160608101825260008082526020820181905291810191909152818015801590610e65575060025481105b15610f4557600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610f435780516001600160a01b031615610ed9579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610f3e579392505050565b610ed9565b505b6040516380004ec960e01b8152600481018490526024016105f3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610fcd828260405180602001604052806000815250610fd1565b5050565b61060783838360016002546001600160a01b03851661100357604051636dc482b360e01b815260040160405180910390fd5b836110215760405163b5c4c3a760e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156110ce57506001600160a01b0387163b15155b156111da575b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156110d457604051630a85bd0160e11b808252906001600160a01b0389169063150b7a02906111519033906000906000198801908c906004016116ca565b6020604051808303816000875af1158015611170573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111949190611707565b6001600160e01b031916146111c7576040516324ac878f60e01b81526001600160a01b03881660048201526024016105f3565b82600254146111d557600080fd5b611220565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156111db575b506002555050505050565b8280546112379061160d565b90600052602060002090601f016020900481019282611259576000855561129f565b82601f106112725782800160ff1982351617855561129f565b8280016001018555821561129f579182015b8281111561129f578235825591602001919060010190611284565b506112ab9291506112af565b5090565b5b808211156112ab57600081556001016112b0565b6001600160e01b0319811681146106b557600080fd5b6000602082840312156112ec57600080fd5b81356112f7816112c4565b9392505050565b6000815180845260005b8181101561132457602081850181015186830182015201611308565b81811115611336576000602083870101525b50601f01601f19169290920160200192915050565b6020815260006112f760208301846112fe565b60006020828403121561137057600080fd5b5035919050565b80356001600160a01b038116811461138e57600080fd5b919050565b600080604083850312156113a657600080fd5b6113af83611377565b946020939093013593505050565b6000806000606084860312156113d257600080fd5b6113db84611377565b92506113e960208501611377565b9150604084013590509250925092565b60006020828403121561140b57600080fd5b6112f782611377565b60006020828403121561142657600080fd5b813563ffffffff811681146112f757600080fd5b6000806020838503121561144d57600080fd5b823567ffffffffffffffff8082111561146557600080fd5b818501915085601f83011261147957600080fd5b81358181111561148857600080fd5b86602082850101111561149a57600080fd5b60209290920196919550909350505050565b600080604083850312156114bf57600080fd5b6114c883611377565b9150602083013580151581146114dd57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561151457600080fd5b61151d85611377565b935061152b60208601611377565b925060408501359150606085013567ffffffffffffffff8082111561154f57600080fd5b818701915087601f83011261156357600080fd5b813581811115611575576115756114e8565b604051601f8201601f19908116603f0116810190838211818310171561159d5761159d6114e8565b816040528281528a60208487010111156115b657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156115ed57600080fd5b6115f683611377565b915061160460208401611377565b90509250929050565b600181811c9082168061162157607f821691505b6020821081141561164257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156116ad576116ad61167d565b500290565b600082198211156116c5576116c561167d565b500190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906116fd908301846112fe565b9695505050505050565b60006020828403121561171957600080fd5b81516112f7816112c4565b6000828210156117365761173661167d565b50039056fea2646970667358221220f58b0153a86bdd8edace78a92f70e5432f02076551356c199fc4ae87769eadde64736f6c634300080a0033697066733a2f2f516d546136516934677577617665346e68576b566b77686b6232554541436e624a4632687947565a37366f356b53
Deployed Bytecode
0x6080604052600436106101355760003560e01c806380915df2116100ab578063a22cb4651161006f578063a22cb465146103ac578063aa2889f0146103cc578063b88d4fde146103df578063c87b56dd146103ff578063e985e9c51461041f578063f2fde38b1461045a57600080fd5b806380915df2146102d25780638da5cb5b146102f257806390aa0b0f1461031057806395d89b4114610377578063a0bcfc7f1461038c57600080fd5b806323b872dd116100fd57806323b872dd146102285780633ccfd60b1461024857806342842e0e1461025d5780636352211e1461027d57806370a082311461029d578063715018a6146102bd57600080fd5b806301ffc9a71461013a57806306fdde031461016f578063081812fc14610191578063095ea7b3146101df57806318160ddd14610201575b600080fd5b34801561014657600080fd5b5061015a6101553660046112da565b61047a565b60405190151581526020015b60405180910390f35b34801561017b57600080fd5b506101846104cc565b604051610166919061134b565b34801561019d57600080fd5b506101c76101ac36600461135e565b6006602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610166565b3480156101eb57600080fd5b506101ff6101fa366004611393565b61055a565b005b34801561020d57600080fd5b5060035460025403600019015b604051908152602001610166565b34801561023457600080fd5b506101ff6102433660046113bd565b61060c565b34801561025457600080fd5b506101ff610617565b34801561026957600080fd5b506101ff6102783660046113bd565b6106b8565b34801561028957600080fd5b506101c761029836600461135e565b6106d3565b3480156102a957600080fd5b5061021a6102b83660046113f9565b6106e5565b3480156102c957600080fd5b506101ff610734565b3480156102de57600080fd5b506101ff6102ed366004611414565b61076a565b3480156102fe57600080fd5b506008546001600160a01b03166101c7565b34801561031c57600080fd5b5060095461034a9067ffffffffffffffff81169063ffffffff600160401b8204811691600160601b90041683565b6040805167ffffffffffffffff909416845263ffffffff9283166020850152911690820152606001610166565b34801561038357600080fd5b506101846107ba565b34801561039857600080fd5b506101ff6103a736600461143a565b6107c7565b3480156103b857600080fd5b506101ff6103c73660046114ac565b6107fd565b6101ff6103da36600461135e565b610893565b3480156103eb57600080fd5b506101ff6103fa3660046114fe565b610967565b34801561040b57600080fd5b5061018461041a36600461135e565b610a39565b34801561042b57600080fd5b5061015a61043a3660046115da565b600760209081526000928352604080842090915290825290205460ff1681565b34801561046657600080fd5b506101ff6104753660046113f9565b610b05565b60006301ffc9a760e01b6001600160e01b0319831614806104ab57506380ac58cd60e01b6001600160e01b03198316145b806104c65750635b5e139f60e01b6001600160e01b03198316145b92915050565b600080546104d99061160d565b80601f01602080910402602001604051908101604052809291908181526020018280546105059061160d565b80156105525780601f1061052757610100808354040283529160200191610552565b820191906000526020600020905b81548152906001019060200180831161053557829003601f168201915b505050505081565b6000610565826106d3565b9050806001600160a01b0316836001600160a01b0316141561059a57604051634be9270b60e01b815260040160405180910390fd5b336001600160a01b038216148015906105d757506001600160a01b038116600090815260076020908152604080832033845290915290205460ff16155b156105fc57604051636663333f60e11b81523360048201526024015b60405180910390fd5b610607838383610b9d565b505050565b610607838383610bf9565b6008546001600160a01b031633146106415760405162461bcd60e51b81526004016105f390611648565b600b546040516000916001600160a01b03169047908381818185875af1925050503d806000811461068e576040519150601f19603f3d011682016040523d82523d6000602084013e610693565b606091505b50509050806106b55760405163bfa871c560e01b815260040160405180910390fd5b50565b61060783838360405180602001604052806000815250610967565b60006106de82610e37565b5192915050565b60006001600160a01b03821661070e57604051636c31fa5360e11b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331461075e5760405162461bcd60e51b81526004016105f390611648565b6107686000610f61565b565b6008546001600160a01b031633146107945760405162461bcd60e51b81526004016105f390611648565b6009805463ffffffff909216600160601b0263ffffffff60601b19909216919091179055565b600180546104d99061160d565b6008546001600160a01b031633146107f15760405162461bcd60e51b81526004016105f390611648565b610607600a838361122b565b6001600160a01b0382163314156108275760405163134efed760e31b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6040805160608101825260095467ffffffffffffffff811680835263ffffffff600160401b8304811660208501819052600160601b909304169383018490529192346108df8487611693565b146108fd5760405163356680b760e01b815260040160405180910390fd5b6109088260016116b2565b8560025461091691906116b2565b11156109355760405163c30436e960e01b815260040160405180910390fd5b804210156109565760405163c9cd434360e01b815260040160405180910390fd5b6109603386610fb3565b5050505050565b610972848484610bf9565b6001600160a01b0383163b15801590610a0a5750604051630a85bd0160e11b808252906001600160a01b0385169063150b7a02906109ba9033908990889088906004016116ca565b6020604051808303816000875af11580156109d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fd9190611707565b6001600160e01b03191614155b15610a33576040516324ac878f60e01b81526001600160a01b03841660048201526024016105f3565b50505050565b6060811580610a5557506001600254610a529190611724565b82115b15610a7357604051630a14c4b560e41b815260040160405180910390fd5b600a8054610a809061160d565b80601f0160208091040260200160405190810160405280929190818152602001828054610aac9061160d565b8015610af95780601f10610ace57610100808354040283529160200191610af9565b820191906000526020600020905b815481529060010190602001808311610adc57829003601f168201915b50505050509050919050565b6008546001600160a01b03163314610b2f5760405162461bcd60e51b81526004016105f390611648565b6001600160a01b038116610b945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f3565b6106b581610f61565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610c0482610e37565b9050836001600160a01b031681600001516001600160a01b031614610c525780516040516306a0c65b60e21b81526001600160a01b03808716600483015290911660248201526044016105f3565b6000336001600160a01b0386161480610c8157506000838152600660205260409020546001600160a01b031633145b80610caf57506001600160a01b038516600090815260076020908152604080832033845290915290205460ff165b905080610cd15760405163857cab9f60e01b81523360048201526024016105f3565b6001600160a01b038416610cf857604051634f19f1b760e11b815260040160405180910390fd5b610d0460008487610b9d565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610dda576002548214610dda578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505060008381526006602052604080822080546001600160a01b03191690555184916001600160a01b0387811692908916917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a45050505050565b6040805160608101825260008082526020820181905291810191909152818015801590610e65575060025481105b15610f4557600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610f435780516001600160a01b031615610ed9579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610f3e579392505050565b610ed9565b505b6040516380004ec960e01b8152600481018490526024016105f3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610fcd828260405180602001604052806000815250610fd1565b5050565b61060783838360016002546001600160a01b03851661100357604051636dc482b360e01b815260040160405180910390fd5b836110215760405163b5c4c3a760e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156110ce57506001600160a01b0387163b15155b156111da575b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156110d457604051630a85bd0160e11b808252906001600160a01b0389169063150b7a02906111519033906000906000198801908c906004016116ca565b6020604051808303816000875af1158015611170573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111949190611707565b6001600160e01b031916146111c7576040516324ac878f60e01b81526001600160a01b03881660048201526024016105f3565b82600254146111d557600080fd5b611220565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156111db575b506002555050505050565b8280546112379061160d565b90600052602060002090601f016020900481019282611259576000855561129f565b82601f106112725782800160ff1982351617855561129f565b8280016001018555821561129f579182015b8281111561129f578235825591602001919060010190611284565b506112ab9291506112af565b5090565b5b808211156112ab57600081556001016112b0565b6001600160e01b0319811681146106b557600080fd5b6000602082840312156112ec57600080fd5b81356112f7816112c4565b9392505050565b6000815180845260005b8181101561132457602081850181015186830182015201611308565b81811115611336576000602083870101525b50601f01601f19169290920160200192915050565b6020815260006112f760208301846112fe565b60006020828403121561137057600080fd5b5035919050565b80356001600160a01b038116811461138e57600080fd5b919050565b600080604083850312156113a657600080fd5b6113af83611377565b946020939093013593505050565b6000806000606084860312156113d257600080fd5b6113db84611377565b92506113e960208501611377565b9150604084013590509250925092565b60006020828403121561140b57600080fd5b6112f782611377565b60006020828403121561142657600080fd5b813563ffffffff811681146112f757600080fd5b6000806020838503121561144d57600080fd5b823567ffffffffffffffff8082111561146557600080fd5b818501915085601f83011261147957600080fd5b81358181111561148857600080fd5b86602082850101111561149a57600080fd5b60209290920196919550909350505050565b600080604083850312156114bf57600080fd5b6114c883611377565b9150602083013580151581146114dd57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561151457600080fd5b61151d85611377565b935061152b60208601611377565b925060408501359150606085013567ffffffffffffffff8082111561154f57600080fd5b818701915087601f83011261156357600080fd5b813581811115611575576115756114e8565b604051601f8201601f19908116603f0116810190838211818310171561159d5761159d6114e8565b816040528281528a60208487010111156115b657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156115ed57600080fd5b6115f683611377565b915061160460208401611377565b90509250929050565b600181811c9082168061162157607f821691505b6020821081141561164257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156116ad576116ad61167d565b500290565b600082198211156116c5576116c561167d565b500190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906116fd908301846112fe565b9695505050505050565b60006020828403121561171957600080fd5b81516112f7816112c4565b6000828210156117365761173661167d565b50039056fea2646970667358221220f58b0153a86bdd8edace78a92f70e5432f02076551356c199fc4ae87769eadde64736f6c634300080a0033
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.