ERC-721
Overview
Max Total Supply
1,423 TSUBASA
Holders
396
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 TSUBASALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Tsubasa
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.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./ERC721A.sol"; import "./extensions/ERC721AOwnersExplicit.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; /*** ,---------. .-'''-. ___ _ _______ ____ .-'''-. ____ \ \ / _ \.' | | |\ ____ \ .' __ `. / _ \ .' __ `. `--. ,---'(`' )/`--'| .' | || | \ | / ' \ \ (`' )/`--'/ ' \ \ | \ (_ o _). .' '_ | || |____/ / |___| / |(_ o _). |___| / | :_ _: (_,_). '. ' ( \.-.|| _ _ '. _.-` | (_,_). '. _.-` | (_I_) .---. \ :' (`. _` /|| ( ' ) \.' _ |.---. \ :.' _ | (_(=)_) \ `-' || (_ (_) _)| (_{;}_) || _( )_ |\ `-' || _( )_ | (_I_) \ / \ / . \ /| (_,_) /\ (_ o _) / \ / \ (_ o _) / '---' `-...-' ``-'`-'' /_______.' '.(_,_).' `-...-' '.(_,_).' ___ _____ _ _ _ _ _ _ _ | _ )_ _ |_ _|_ _| |__(_)_ _ ___| |_____| |_(_) |_(_) | _ \ || | | |/ _` | '_ \ | ' \/ -_) / / _ \ / / | / / | |___/\_, | |_|\__,_|_.__/_|_||_\___|_\_\___/_\_\_|_\_\_| |__/ ***/ contract Tsubasa is Ownable, ERC721A, ERC721AOwnersExplicit, ReentrancyGuard { uint256 public immutable maxPerAddressDuringMint = 4; uint256 public immutable maxSupply = 8888; uint256 public auctionSaleStartTime; uint256 public maxAuctionSupply = 8888; uint256 public whitelistPrice; uint256 public AUCTION_PRICE_CURVE_LENGTH = 2 hours; uint256 public AUCTION_START_PRICE = 0.6 ether; uint256 public AUCTION_END_PRICE = 0.15 ether; uint256 public constant AUCTION_DROP_INTERVAL = 3 minutes; bool public dutchAuctionActive = false; bool public privateSaleActive = false; mapping(address => bool) public allowlist; address public constant DEV_VAULT = 0xD7eA15baE263CE4a7B6a26a4853cEc3C670cFC07; address public constant DEV_ADDRESS_1 = 0x2D7BFbA6e49c9cd451C44d27775725fc56F3B044; address public constant DEV_ADDRESS_2 = 0xccf0A6F45f98ce923A5091ec9Af3c61f99DB15CF; address public constant DEV_ADDRESS_3 = 0x936F0bD56dcA96E5CC7FBA7448a7aEE9fb9d87eE; address public constant DEV_ADDRESS_4 = 0x658406EF6C804B6A83a092D58A2B269d3944e2A8; constructor() ERC721A("Tsubasa", "TSUBASA") {} function auctionMint(uint256 quantity) external payable { require(dutchAuctionActive, "Dutch auction not active"); require(auctionSaleStartTime != 0 && block.timestamp >= auctionSaleStartTime, "sale has not started yet"); require(totalSupply() + quantity <= maxAuctionSupply, "not enough remaining reserved for auction to support desired mint amount"); require(quantity <= maxPerAddressDuringMint, "Quantity exceeds maxPerAddressDuringMint"); uint256 totalCost = getAuctionPrice() * quantity; require(msg.value >= totalCost, "not enough eth"); _safeMint(msg.sender, quantity); } function allowlistMint() external payable { require(privateSaleActive, "Private sale not active"); require(allowlist[msg.sender], "not eligible for allowlist mint"); require(msg.value >= whitelistPrice, "not enough eth"); require(totalSupply() + 1 <= maxSupply, "reached max supply"); allowlist[msg.sender] = false; _safeMint(msg.sender, 1); } function getAuctionPrice() public view returns (uint256) { uint256 AUCTION_DROP_PER_STEP = (AUCTION_START_PRICE - AUCTION_END_PRICE) / (AUCTION_PRICE_CURVE_LENGTH / AUCTION_DROP_INTERVAL); if (block.timestamp < auctionSaleStartTime) { return AUCTION_START_PRICE; } if (block.timestamp - auctionSaleStartTime >= AUCTION_PRICE_CURVE_LENGTH) { return AUCTION_END_PRICE; } else { uint256 steps = (block.timestamp - auctionSaleStartTime) / AUCTION_DROP_INTERVAL; return AUCTION_START_PRICE - (steps * AUCTION_DROP_PER_STEP); } } function setAuctionStartAndSupply(uint256 startTime, uint256 _maxAuctionSupply) external onlyOwner { auctionSaleStartTime = startTime; maxAuctionSupply = _maxAuctionSupply; } function setAuctionDetails(uint256 _AUCTION_PRICE_CURVE_LENGTH, uint256 _AUCTION_START_PRICE, uint256 _AUCTION_END_PRICE) external onlyOwner { AUCTION_PRICE_CURVE_LENGTH = _AUCTION_PRICE_CURVE_LENGTH; AUCTION_START_PRICE = _AUCTION_START_PRICE; AUCTION_END_PRICE = _AUCTION_END_PRICE; } function setPrivateSaleActive(bool _privateSaleActive) external onlyOwner { if(_privateSaleActive) { require(whitelistPrice > 0, "whitelist price must be set first"); } privateSaleActive = _privateSaleActive; } function setDutchAuctionActive(bool _dutchAuctionActive) external onlyOwner { dutchAuctionActive = _dutchAuctionActive; } function setWhitelistPrice(uint256 _whitelistPrice) external onlyOwner { whitelistPrice = _whitelistPrice; } function seedAllowlist(address[] memory addresses, bool allow) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { allowlist[addresses[i]] = allow; } } // For marketing etc. function devMint(uint256 quantity) external onlyOwner { require(totalSupply() + quantity <= maxSupply, "reached max supply"); for (uint256 i = 0; i < quantity; i++) { _safeMint(msg.sender, 1); } } // metadata URI string private _baseTokenURI; function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function withdrawAll() external onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "Balance is 0"); payable(DEV_VAULT).transfer(balance * 4000 / 10000); payable(DEV_ADDRESS_1).transfer(balance * 650 / 10000); payable(DEV_ADDRESS_2).transfer(balance * 1800 / 10000); payable(DEV_ADDRESS_3).transfer(balance * 1800 / 10000); payable(DEV_ADDRESS_4).transfer(address(this).balance); } function setOwnersExplicit(uint256 quantity) external onlyOwner nonReentrant { _setOwnersExplicit(quantity); } function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) { return ownershipOf(tokenId); } function tokensOfOwner(address _owner, uint startId, uint endId) external view returns(uint256[] memory ) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); uint256 index = 0; for (uint256 tokenId = startId; tokenId < endId; tokenId++) { if (index == tokenCount) break; if (ownerOf(tokenId) == _owner) { result[index] = tokenId; index++; } } return result; } } function walletOfOwner(address _owner) external view returns(uint256[] memory ) { return this.tokensOfOwner(_owner, 0, maxSupply); } }
// 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 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // 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; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // 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) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex times unchecked { return _currentIndex - _burnCounter; } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * 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 < _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 OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return 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 override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (!_checkOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < _currentIndex && !_ownerships[tokenId].burned; } 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 MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) { revert TransferToNonERC721ReceiverImplementer(); } updatedIndex++; } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].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; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].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; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // 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 { _tokenApprovals[tokenId] = to; emit Approval(owner, 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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '../ERC721A.sol'; error AllOwnershipsHaveBeenSet(); error QuantityMustBeNonZero(); error NoTokensMintedYet(); abstract contract ERC721AOwnersExplicit is ERC721A { uint256 public nextOwnerToExplicitlySet; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { if (quantity == 0) revert QuantityMustBeNonZero(); if (_currentIndex == 0) revert NoTokensMintedYet(); uint256 _nextOwnerToExplicitlySet = nextOwnerToExplicitlySet; if (_nextOwnerToExplicitlySet >= _currentIndex) revert AllOwnershipsHaveBeenSet(); // Index underflow is impossible. // Counter or index overflow is incredibly unrealistic. unchecked { uint256 endIndex = _nextOwnerToExplicitlySet + quantity - 1; // Set the end index to be the last token index if (endIndex + 1 > _currentIndex) { endIndex = _currentIndex - 1; } for (uint256 i = _nextOwnerToExplicitlySet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0) && !_ownerships[i].burned) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i].addr = ownership.addr; _ownerships[i].startTimestamp = ownership.startTimestamp; } } nextOwnerToExplicitlySet = endIndex + 1; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.1 (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.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AllOwnershipsHaveBeenSet","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NoTokensMintedYet","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"QuantityMustBeNonZero","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"AUCTION_DROP_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AUCTION_END_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AUCTION_PRICE_CURVE_LENGTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AUCTION_START_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEV_ADDRESS_1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEV_ADDRESS_2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEV_ADDRESS_3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEV_ADDRESS_4","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEV_VAULT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"auctionMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"auctionSaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dutchAuctionActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAuctionPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"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":"maxAuctionSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerAddressDuringMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"privateSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"bool","name":"allow","type":"bool"}],"name":"seedAllowlist","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":"uint256","name":"_AUCTION_PRICE_CURVE_LENGTH","type":"uint256"},{"internalType":"uint256","name":"_AUCTION_START_PRICE","type":"uint256"},{"internalType":"uint256","name":"_AUCTION_END_PRICE","type":"uint256"}],"name":"setAuctionDetails","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"_maxAuctionSupply","type":"uint256"}],"name":"setAuctionStartAndSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_dutchAuctionActive","type":"bool"}],"name":"setDutchAuctionActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setOwnersExplicit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_privateSaleActive","type":"bool"}],"name":"setPrivateSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whitelistPrice","type":"uint256"}],"name":"setWhitelistPrice","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":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"startId","type":"uint256"},{"internalType":"uint256","name":"endId","type":"uint256"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c060405260046080526122b860a0819052600c55611c20600e55670853a0d2313c0000600f55670214e8348c4f00006010556011805461ffff191690553480156200004a57600080fd5b50604051806040016040528060078152602001665473756261736160c81b815250604051806040016040528060078152602001665453554241534160c81b815250620000a56200009f620000de60201b60201c565b620000e2565b8151620000ba90600390602085019062000132565b508051620000d090600490602084019062000132565b50506001600a555062000215565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200014090620001d8565b90600052602060002090601f016020900481019282620001645760008555620001af565b82601f106200017f57805160ff1916838001178555620001af565b82800160010185558215620001af579182015b82811115620001af57825182559160200191906001019062000192565b50620001bd929150620001c1565b5090565b5b80821115620001bd5760008155600101620001c2565b600181811c90821680620001ed57607f821691505b602082108114156200020f57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051612ae7620002576000396000818161086b01528181610c2701528181610e590152610f3701526000818161067801526111e50152612ae76000f3fe6080604052600436106102e45760003560e01c80637a1c4a5611610190578063c839fe94116100dc578063d7224ba011610095578063f2fde38b1161006f578063f2fde38b1461093c578063f8a987d81461095c578063fab2bf5814610972578063fc1a1c361461098857600080fd5b8063d7224ba0146108b5578063e985e9c5146108cb578063eed149341461091457600080fd5b8063c839fe94146107db578063c87b56dd146107fb578063c8923b8c1461081b578063caf8a6d114610843578063d5abeb0114610859578063d6d891041461088d57600080fd5b80639231ab2a11610149578063a4dc207f11610123578063a4dc207f14610743578063a7cd52cb1461076b578063b88d4fde1461079b578063bf30d6c8146107bb57600080fd5b80639231ab2a146106b857806395d89b411461070e578063a22cb4651461072357600080fd5b80637a1c4a56146106015780637c6c5e6c14610617578063853828b614610631578063875cabd1146106465780638bc35c2f146106665780638da5cb5b1461069a57600080fd5b806342842e0e1161024f57806355f804b3116102085780636994ecbf116101e25780636994ecbf1461058c57806370a08231146105ac578063715018a6146105cc578063717d57d3146105e157600080fd5b806355f804b3146105375780635cae01d3146105575780636352211e1461056c57600080fd5b806342842e0e1461047a578063438b63001461049a5780634b8fd12e146104c75780634bd25c6f146104ef5780634d1b993c146105045780634d3554c31461052457600080fd5b80632a237bb6116102a15780632a237bb6146103dd5780632d20fb60146103fc578063375a069a1461041c578063384d20841461043c5780633be021601461045257806341fbddbd1461047257600080fd5b806301ffc9a7146102e957806306fdde031461031e578063081812fc14610340578063095ea7b31461037857806318160ddd1461039a57806323b872dd146103bd575b600080fd5b3480156102f557600080fd5b50610309610304366004612383565b61099e565b60405190151581526020015b60405180910390f35b34801561032a57600080fd5b506103336109f0565b60405161031591906123f8565b34801561034c57600080fd5b5061036061035b36600461240b565b610a82565b6040516001600160a01b039091168152602001610315565b34801561038457600080fd5b50610398610393366004612440565b610ac6565b005b3480156103a657600080fd5b50600254600154035b604051908152602001610315565b3480156103c957600080fd5b506103986103d836600461246a565b610b54565b3480156103e957600080fd5b5060115461030990610100900460ff1681565b34801561040857600080fd5b5061039861041736600461240b565b610b5f565b34801561042857600080fd5b5061039861043736600461240b565b610bfb565b34801561044857600080fd5b506103af600c5481565b34801561045e57600080fd5b5061039861046d36600461251f565b610ccd565b610398610d5e565b34801561048657600080fd5b5061039861049536600461246a565b610ef7565b3480156104a657600080fd5b506104ba6104b53660046125cd565b610f12565b60405161031591906125e8565b3480156104d357600080fd5b5061036073936f0bd56dca96e5cc7fba7448a7aee9fb9d87ee81565b3480156104fb57600080fd5b506103af610fbd565b34801561051057600080fd5b5061039861051f36600461262c565b61105a565b61039861053236600461240b565b611092565b34801561054357600080fd5b50610398610552366004612658565b6112c6565b34801561056357600080fd5b506103af60b481565b34801561057857600080fd5b5061036061058736600461240b565b6112fc565b34801561059857600080fd5b506103986105a73660046126c9565b61130e565b3480156105b857600080fd5b506103af6105c73660046125cd565b611343565b3480156105d857600080fd5b50610398611391565b3480156105ed57600080fd5b506103986105fc36600461240b565b6113c5565b34801561060d57600080fd5b506103af600f5481565b34801561062357600080fd5b506011546103099060ff1681565b34801561063d57600080fd5b506103986113f4565b34801561065257600080fd5b506103986106613660046126eb565b611603565b34801561067257600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a657600080fd5b506000546001600160a01b0316610360565b3480156106c457600080fd5b506106d86106d336600461240b565b6116a9565b6040805182516001600160a01b031681526020808401516001600160401b03169082015291810151151590820152606001610315565b34801561071a57600080fd5b506103336116cf565b34801561072f57600080fd5b5061039861073e366004612706565b6116de565b34801561074f57600080fd5b5061036073d7ea15bae263ce4a7b6a26a4853cec3c670cfc0781565b34801561077757600080fd5b506103096107863660046125cd565b60126020526000908152604090205460ff1681565b3480156107a757600080fd5b506103986107b6366004612739565b611774565b3480156107c757600080fd5b506103986107d63660046126eb565b6117ae565b3480156107e757600080fd5b506104ba6107f63660046127f8565b6117eb565b34801561080757600080fd5b5061033361081636600461240b565b6118e2565b34801561082757600080fd5b5061036073658406ef6c804b6a83a092d58a2b269d3944e2a881565b34801561084f57600080fd5b506103af60105481565b34801561086557600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b34801561089957600080fd5b50610360732d7bfba6e49c9cd451c44d27775725fc56f3b04481565b3480156108c157600080fd5b506103af60095481565b3480156108d757600080fd5b506103096108e636600461282b565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561092057600080fd5b5061036073ccf0a6f45f98ce923a5091ec9af3c61f99db15cf81565b34801561094857600080fd5b506103986109573660046125cd565b611966565b34801561096857600080fd5b506103af600e5481565b34801561097e57600080fd5b506103af600b5481565b34801561099457600080fd5b506103af600d5481565b60006001600160e01b031982166380ac58cd60e01b14806109cf57506001600160e01b03198216635b5e139f60e01b145b806109ea57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546109ff90612855565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2b90612855565b8015610a785780601f10610a4d57610100808354040283529160200191610a78565b820191906000526020600020905b815481529060010190602001808311610a5b57829003601f168201915b5050505050905090565b6000610a8d82611a01565b610aaa576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610ad1826112fc565b9050806001600160a01b0316836001600160a01b03161415610b065760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610b265750610b2481336108e6565b155b15610b44576040516367d9dca160e11b815260040160405180910390fd5b610b4f838383611a2d565b505050565b610b4f838383611a89565b6000546001600160a01b03163314610b925760405162461bcd60e51b8152600401610b8990612890565b60405180910390fd5b6002600a541415610be55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b89565b6002600a55610bf381611c9d565b506001600a55565b6000546001600160a01b03163314610c255760405162461bcd60e51b8152600401610b8990612890565b7f000000000000000000000000000000000000000000000000000000000000000081610c546002546001540390565b610c5e91906128db565b1115610ca15760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401610b89565b60005b81811015610cc957610cb7336001611dcb565b80610cc1816128f3565b915050610ca4565b5050565b6000546001600160a01b03163314610cf75760405162461bcd60e51b8152600401610b8990612890565b60005b8251811015610b4f578160126000858481518110610d1a57610d1a61290e565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610d56816128f3565b915050610cfa565b601154610100900460ff16610db55760405162461bcd60e51b815260206004820152601760248201527f507269766174652073616c65206e6f74206163746976650000000000000000006044820152606401610b89565b3360009081526012602052604090205460ff16610e145760405162461bcd60e51b815260206004820152601f60248201527f6e6f7420656c696769626c6520666f7220616c6c6f776c697374206d696e74006044820152606401610b89565b600d54341015610e575760405162461bcd60e51b815260206004820152600e60248201526d0dcdee840cadcdeeaced040cae8d60931b6044820152606401610b89565b7f0000000000000000000000000000000000000000000000000000000000000000610e856002546001540390565b610e909060016128db565b1115610ed35760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401610b89565b336000818152601260205260409020805460ff19169055610ef5906001611dcb565b565b610b4f83838360405180602001604052806000815250611774565b60405163320e7fa560e21b81526001600160a01b0382166004820152600060248201527f00000000000000000000000000000000000000000000000000000000000000006044820152606090309063c839fe949060640160006040518083038186803b158015610f8157600080fd5b505afa158015610f95573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109ea9190810190612924565b60008060b4600e54610fcf91906129ca565b601054600f54610fdf91906129de565b610fe991906129ca565b9050600b54421015610ffd575050600f5490565b600e54600b5461100d90426129de565b1061101a57505060105490565b600060b4600b544261102c91906129de565b61103691906129ca565b905061104282826129f5565b600f5461104f91906129de565b9250505090565b5090565b6000546001600160a01b031633146110845760405162461bcd60e51b8152600401610b8990612890565b600e92909255600f55601055565b60115460ff166110e45760405162461bcd60e51b815260206004820152601860248201527f44757463682061756374696f6e206e6f742061637469766500000000000000006044820152606401610b89565b600b54158015906110f75750600b544210155b6111435760405162461bcd60e51b815260206004820152601860248201527f73616c6520686173206e6f7420737461727465642079657400000000000000006044820152606401610b89565b600c54816111546002546001540390565b61115e91906128db565b11156111e35760405162461bcd60e51b815260206004820152604860248201527f6e6f7420656e6f7567682072656d61696e696e6720726573657276656420666f60448201527f722061756374696f6e20746f20737570706f72742064657369726564206d696e6064820152671d08185b5bdd5b9d60c21b608482015260a401610b89565b7f00000000000000000000000000000000000000000000000000000000000000008111156112645760405162461bcd60e51b815260206004820152602860248201527f5175616e746974792065786365656473206d61785065724164647265737344756044820152671c9a5b99d35a5b9d60c21b6064820152608401610b89565b60008161126f610fbd565b61127991906129f5565b9050803410156112bc5760405162461bcd60e51b815260206004820152600e60248201526d0dcdee840cadcdeeaced040cae8d60931b6044820152606401610b89565b610cc93383611dcb565b6000546001600160a01b031633146112f05760405162461bcd60e51b8152600401610b8990612890565b610b4f601383836122dd565b600061130782611de5565b5192915050565b6000546001600160a01b031633146113385760405162461bcd60e51b8152600401610b8990612890565b600b91909155600c55565b60006001600160a01b03821661136c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6000546001600160a01b031633146113bb5760405162461bcd60e51b8152600401610b8990612890565b610ef56000611f00565b6000546001600160a01b031633146113ef5760405162461bcd60e51b8152600401610b8990612890565b600d55565b6000546001600160a01b0316331461141e5760405162461bcd60e51b8152600401610b8990612890565b478061145b5760405162461bcd60e51b815260206004820152600c60248201526b042616c616e636520697320360a41b6044820152606401610b89565b73d7ea15bae263ce4a7b6a26a4853cec3c670cfc076108fc61271061148284610fa06129f5565b61148c91906129ca565b6040518115909202916000818181858888f193505050501580156114b4573d6000803e3d6000fd5b50732d7bfba6e49c9cd451c44d27775725fc56f3b0446108fc6127106114dc8461028a6129f5565b6114e691906129ca565b6040518115909202916000818181858888f1935050505015801561150e573d6000803e3d6000fd5b5073ccf0a6f45f98ce923a5091ec9af3c61f99db15cf6108fc612710611536846107086129f5565b61154091906129ca565b6040518115909202916000818181858888f19350505050158015611568573d6000803e3d6000fd5b5073936f0bd56dca96e5cc7fba7448a7aee9fb9d87ee6108fc612710611590846107086129f5565b61159a91906129ca565b6040518115909202916000818181858888f193505050501580156115c2573d6000803e3d6000fd5b5060405173658406ef6c804b6a83a092d58a2b269d3944e2a8904780156108fc02916000818181858888f19350505050158015610cc9573d6000803e3d6000fd5b6000546001600160a01b0316331461162d5760405162461bcd60e51b8152600401610b8990612890565b801561168f576000600d541161168f5760405162461bcd60e51b815260206004820152602160248201527f77686974656c697374207072696365206d7573742062652073657420666972736044820152601d60fa1b6064820152608401610b89565b601180549115156101000261ff0019909216919091179055565b60408051606081018252600080825260208201819052918101919091526109ea82611de5565b6060600480546109ff90612855565b6001600160a01b0382163314156117085760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61177f848484611a89565b61178b84848484611f50565b6117a8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b031633146117d85760405162461bcd60e51b8152600401610b8990612890565b6011805460ff1916911515919091179055565b606060006117f885611343565b9050806118155750506040805160008152602081019091526118db565b6000816001600160401b0381111561182f5761182f6124a6565b604051908082528060200260200182016040528015611858578160200160208202803683370190505b5090506000855b858110156118d45783821415611874576118d4565b876001600160a01b0316611887826112fc565b6001600160a01b031614156118c257808383815181106118a9576118a961290e565b6020908102919091010152816118be816128f3565b9250505b806118cc816128f3565b91505061185f565b5090925050505b9392505050565b60606118ed82611a01565b61190a57604051630a14c4b560e41b815260040160405180910390fd5b600061191461205f565b905080516000141561193557604051806020016040528060008152506118db565b8061193f8461206e565b604051602001611950929190612a14565b6040516020818303038152906040529392505050565b6000546001600160a01b031633146119905760405162461bcd60e51b8152600401610b8990612890565b6001600160a01b0381166119f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b89565b6119fe81611f00565b50565b6000600154821080156109ea575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611a9482611de5565b80519091506000906001600160a01b0316336001600160a01b03161480611ac257508151611ac290336108e6565b80611add575033611ad284610a82565b6001600160a01b0316145b905080611afd57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611b325760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611b5957604051633a954ecd60e21b815260040160405180910390fd5b611b696000848460000151611a2d565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611c5357600154811015611c5357825160008281526005602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b80611cbb576040516356be441560e01b815260040160405180910390fd5b600154611cdb5760405163c0367cab60e01b815260040160405180910390fd5b6009546001548110611d00576040516370e89b1b60e01b815260040160405180910390fd5b6001548282016000198101911015611d1b5750600154600019015b815b818111611dc0576000818152600560205260409020546001600160a01b0316158015611d5f5750600081815260056020526040902054600160e01b900460ff16155b15611db8576000611d6f82611de5565b80516000848152600560209081526040909120805491909301516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b0390921691909117179055505b600101611d1d565b506001016009555050565b610cc982826040518060200160405280600081525061216b565b60408051606081018252600080825260208201819052918101919091526001548290811015611ee757600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611ee55780516001600160a01b031615611e7c579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611ee0579392505050565b611e7c565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b1561205357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f94903390899088908890600401612a43565b602060405180830381600087803b158015611fae57600080fd5b505af1925050508015611fde575060408051601f3d908101601f19168201909252611fdb91810190612a80565b60015b612039573d80801561200c576040519150601f19603f3d011682016040523d82523d6000602084013e612011565b606091505b508051612031576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612057565b5060015b949350505050565b6060601380546109ff90612855565b6060816120925750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120bc57806120a6816128f3565b91506120b59050600a836129ca565b9150612096565b6000816001600160401b038111156120d6576120d66124a6565b6040519080825280601f01601f191660200182016040528015612100576020820181803683370190505b5090505b8415612057576121156001836129de565b9150612122600a86612a9d565b61212d9060306128db565b60f81b8183815181106121425761214261290e565b60200101906001600160f81b031916908160001a905350612164600a866129ca565b9450612104565b610b4f838383600180546001600160a01b03851661219b57604051622e076360e81b815260040160405180910390fd5b836121b95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526005909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b858110156122d45760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48380156122aa57506122a86000888488611f50565b155b156122c8576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101612253565b50600155611c96565b8280546122e990612855565b90600052602060002090601f01602090048101928261230b5760008555612351565b82601f106123245782800160ff19823516178555612351565b82800160010185558215612351579182015b82811115612351578235825591602001919060010190612336565b506110569291505b808211156110565760008155600101612359565b6001600160e01b0319811681146119fe57600080fd5b60006020828403121561239557600080fd5b81356118db8161236d565b60005b838110156123bb5781810151838201526020016123a3565b838111156117a85750506000910152565b600081518084526123e48160208601602086016123a0565b601f01601f19169290920160200192915050565b6020815260006118db60208301846123cc565b60006020828403121561241d57600080fd5b5035919050565b80356001600160a01b038116811461243b57600080fd5b919050565b6000806040838503121561245357600080fd5b61245c83612424565b946020939093013593505050565b60008060006060848603121561247f57600080fd5b61248884612424565b925061249660208501612424565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156124e4576124e46124a6565b604052919050565b60006001600160401b03821115612505576125056124a6565b5060051b60200190565b8035801515811461243b57600080fd5b6000806040838503121561253257600080fd5b82356001600160401b0381111561254857600080fd5b8301601f8101851361255957600080fd5b8035602061256e612569836124ec565b6124bc565b82815260059290921b8301810191818101908884111561258d57600080fd5b938201935b838510156125b2576125a385612424565b82529382019390820190612592565b95506125c1905086820161250f565b93505050509250929050565b6000602082840312156125df57600080fd5b6118db82612424565b6020808252825182820181905260009190848201906040850190845b8181101561262057835183529284019291840191600101612604565b50909695505050505050565b60008060006060848603121561264157600080fd5b505081359360208301359350604090920135919050565b6000806020838503121561266b57600080fd5b82356001600160401b038082111561268257600080fd5b818501915085601f83011261269657600080fd5b8135818111156126a557600080fd5b8660208285010111156126b757600080fd5b60209290920196919550909350505050565b600080604083850312156126dc57600080fd5b50508035926020909101359150565b6000602082840312156126fd57600080fd5b6118db8261250f565b6000806040838503121561271957600080fd5b61272283612424565b91506127306020840161250f565b90509250929050565b6000806000806080858703121561274f57600080fd5b61275885612424565b93506020612767818701612424565b93506040860135925060608601356001600160401b038082111561278a57600080fd5b818801915088601f83011261279e57600080fd5b8135818111156127b0576127b06124a6565b6127c2601f8201601f191685016124bc565b915080825289848285010111156127d857600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060006060848603121561280d57600080fd5b61281684612424565b95602085013595506040909401359392505050565b6000806040838503121561283e57600080fd5b61284783612424565b915061273060208401612424565b600181811c9082168061286957607f821691505b6020821081141561288a57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156128ee576128ee6128c5565b500190565b6000600019821415612907576129076128c5565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000602080838503121561293757600080fd5b82516001600160401b0381111561294d57600080fd5b8301601f8101851361295e57600080fd5b805161296c612569826124ec565b81815260059190911b8201830190838101908783111561298b57600080fd5b928401925b828410156129a957835182529284019290840190612990565b979650505050505050565b634e487b7160e01b600052601260045260246000fd5b6000826129d9576129d96129b4565b500490565b6000828210156129f0576129f06128c5565b500390565b6000816000190483118215151615612a0f57612a0f6128c5565b500290565b60008351612a268184602088016123a0565b835190830190612a3a8183602088016123a0565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a76908301846123cc565b9695505050505050565b600060208284031215612a9257600080fd5b81516118db8161236d565b600082612aac57612aac6129b4565b50069056fea2646970667358221220c9619d42f597445a6da39f31bdd751454c05e1ac4805ca1fb951ca0f2d9ab82664736f6c63430008090033
Deployed Bytecode
0x6080604052600436106102e45760003560e01c80637a1c4a5611610190578063c839fe94116100dc578063d7224ba011610095578063f2fde38b1161006f578063f2fde38b1461093c578063f8a987d81461095c578063fab2bf5814610972578063fc1a1c361461098857600080fd5b8063d7224ba0146108b5578063e985e9c5146108cb578063eed149341461091457600080fd5b8063c839fe94146107db578063c87b56dd146107fb578063c8923b8c1461081b578063caf8a6d114610843578063d5abeb0114610859578063d6d891041461088d57600080fd5b80639231ab2a11610149578063a4dc207f11610123578063a4dc207f14610743578063a7cd52cb1461076b578063b88d4fde1461079b578063bf30d6c8146107bb57600080fd5b80639231ab2a146106b857806395d89b411461070e578063a22cb4651461072357600080fd5b80637a1c4a56146106015780637c6c5e6c14610617578063853828b614610631578063875cabd1146106465780638bc35c2f146106665780638da5cb5b1461069a57600080fd5b806342842e0e1161024f57806355f804b3116102085780636994ecbf116101e25780636994ecbf1461058c57806370a08231146105ac578063715018a6146105cc578063717d57d3146105e157600080fd5b806355f804b3146105375780635cae01d3146105575780636352211e1461056c57600080fd5b806342842e0e1461047a578063438b63001461049a5780634b8fd12e146104c75780634bd25c6f146104ef5780634d1b993c146105045780634d3554c31461052457600080fd5b80632a237bb6116102a15780632a237bb6146103dd5780632d20fb60146103fc578063375a069a1461041c578063384d20841461043c5780633be021601461045257806341fbddbd1461047257600080fd5b806301ffc9a7146102e957806306fdde031461031e578063081812fc14610340578063095ea7b31461037857806318160ddd1461039a57806323b872dd146103bd575b600080fd5b3480156102f557600080fd5b50610309610304366004612383565b61099e565b60405190151581526020015b60405180910390f35b34801561032a57600080fd5b506103336109f0565b60405161031591906123f8565b34801561034c57600080fd5b5061036061035b36600461240b565b610a82565b6040516001600160a01b039091168152602001610315565b34801561038457600080fd5b50610398610393366004612440565b610ac6565b005b3480156103a657600080fd5b50600254600154035b604051908152602001610315565b3480156103c957600080fd5b506103986103d836600461246a565b610b54565b3480156103e957600080fd5b5060115461030990610100900460ff1681565b34801561040857600080fd5b5061039861041736600461240b565b610b5f565b34801561042857600080fd5b5061039861043736600461240b565b610bfb565b34801561044857600080fd5b506103af600c5481565b34801561045e57600080fd5b5061039861046d36600461251f565b610ccd565b610398610d5e565b34801561048657600080fd5b5061039861049536600461246a565b610ef7565b3480156104a657600080fd5b506104ba6104b53660046125cd565b610f12565b60405161031591906125e8565b3480156104d357600080fd5b5061036073936f0bd56dca96e5cc7fba7448a7aee9fb9d87ee81565b3480156104fb57600080fd5b506103af610fbd565b34801561051057600080fd5b5061039861051f36600461262c565b61105a565b61039861053236600461240b565b611092565b34801561054357600080fd5b50610398610552366004612658565b6112c6565b34801561056357600080fd5b506103af60b481565b34801561057857600080fd5b5061036061058736600461240b565b6112fc565b34801561059857600080fd5b506103986105a73660046126c9565b61130e565b3480156105b857600080fd5b506103af6105c73660046125cd565b611343565b3480156105d857600080fd5b50610398611391565b3480156105ed57600080fd5b506103986105fc36600461240b565b6113c5565b34801561060d57600080fd5b506103af600f5481565b34801561062357600080fd5b506011546103099060ff1681565b34801561063d57600080fd5b506103986113f4565b34801561065257600080fd5b506103986106613660046126eb565b611603565b34801561067257600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000481565b3480156106a657600080fd5b506000546001600160a01b0316610360565b3480156106c457600080fd5b506106d86106d336600461240b565b6116a9565b6040805182516001600160a01b031681526020808401516001600160401b03169082015291810151151590820152606001610315565b34801561071a57600080fd5b506103336116cf565b34801561072f57600080fd5b5061039861073e366004612706565b6116de565b34801561074f57600080fd5b5061036073d7ea15bae263ce4a7b6a26a4853cec3c670cfc0781565b34801561077757600080fd5b506103096107863660046125cd565b60126020526000908152604090205460ff1681565b3480156107a757600080fd5b506103986107b6366004612739565b611774565b3480156107c757600080fd5b506103986107d63660046126eb565b6117ae565b3480156107e757600080fd5b506104ba6107f63660046127f8565b6117eb565b34801561080757600080fd5b5061033361081636600461240b565b6118e2565b34801561082757600080fd5b5061036073658406ef6c804b6a83a092d58a2b269d3944e2a881565b34801561084f57600080fd5b506103af60105481565b34801561086557600080fd5b506103af7f00000000000000000000000000000000000000000000000000000000000022b881565b34801561089957600080fd5b50610360732d7bfba6e49c9cd451c44d27775725fc56f3b04481565b3480156108c157600080fd5b506103af60095481565b3480156108d757600080fd5b506103096108e636600461282b565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561092057600080fd5b5061036073ccf0a6f45f98ce923a5091ec9af3c61f99db15cf81565b34801561094857600080fd5b506103986109573660046125cd565b611966565b34801561096857600080fd5b506103af600e5481565b34801561097e57600080fd5b506103af600b5481565b34801561099457600080fd5b506103af600d5481565b60006001600160e01b031982166380ac58cd60e01b14806109cf57506001600160e01b03198216635b5e139f60e01b145b806109ea57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546109ff90612855565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2b90612855565b8015610a785780601f10610a4d57610100808354040283529160200191610a78565b820191906000526020600020905b815481529060010190602001808311610a5b57829003601f168201915b5050505050905090565b6000610a8d82611a01565b610aaa576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610ad1826112fc565b9050806001600160a01b0316836001600160a01b03161415610b065760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610b265750610b2481336108e6565b155b15610b44576040516367d9dca160e11b815260040160405180910390fd5b610b4f838383611a2d565b505050565b610b4f838383611a89565b6000546001600160a01b03163314610b925760405162461bcd60e51b8152600401610b8990612890565b60405180910390fd5b6002600a541415610be55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b89565b6002600a55610bf381611c9d565b506001600a55565b6000546001600160a01b03163314610c255760405162461bcd60e51b8152600401610b8990612890565b7f00000000000000000000000000000000000000000000000000000000000022b881610c546002546001540390565b610c5e91906128db565b1115610ca15760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401610b89565b60005b81811015610cc957610cb7336001611dcb565b80610cc1816128f3565b915050610ca4565b5050565b6000546001600160a01b03163314610cf75760405162461bcd60e51b8152600401610b8990612890565b60005b8251811015610b4f578160126000858481518110610d1a57610d1a61290e565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610d56816128f3565b915050610cfa565b601154610100900460ff16610db55760405162461bcd60e51b815260206004820152601760248201527f507269766174652073616c65206e6f74206163746976650000000000000000006044820152606401610b89565b3360009081526012602052604090205460ff16610e145760405162461bcd60e51b815260206004820152601f60248201527f6e6f7420656c696769626c6520666f7220616c6c6f776c697374206d696e74006044820152606401610b89565b600d54341015610e575760405162461bcd60e51b815260206004820152600e60248201526d0dcdee840cadcdeeaced040cae8d60931b6044820152606401610b89565b7f00000000000000000000000000000000000000000000000000000000000022b8610e856002546001540390565b610e909060016128db565b1115610ed35760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401610b89565b336000818152601260205260409020805460ff19169055610ef5906001611dcb565b565b610b4f83838360405180602001604052806000815250611774565b60405163320e7fa560e21b81526001600160a01b0382166004820152600060248201527f00000000000000000000000000000000000000000000000000000000000022b86044820152606090309063c839fe949060640160006040518083038186803b158015610f8157600080fd5b505afa158015610f95573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109ea9190810190612924565b60008060b4600e54610fcf91906129ca565b601054600f54610fdf91906129de565b610fe991906129ca565b9050600b54421015610ffd575050600f5490565b600e54600b5461100d90426129de565b1061101a57505060105490565b600060b4600b544261102c91906129de565b61103691906129ca565b905061104282826129f5565b600f5461104f91906129de565b9250505090565b5090565b6000546001600160a01b031633146110845760405162461bcd60e51b8152600401610b8990612890565b600e92909255600f55601055565b60115460ff166110e45760405162461bcd60e51b815260206004820152601860248201527f44757463682061756374696f6e206e6f742061637469766500000000000000006044820152606401610b89565b600b54158015906110f75750600b544210155b6111435760405162461bcd60e51b815260206004820152601860248201527f73616c6520686173206e6f7420737461727465642079657400000000000000006044820152606401610b89565b600c54816111546002546001540390565b61115e91906128db565b11156111e35760405162461bcd60e51b815260206004820152604860248201527f6e6f7420656e6f7567682072656d61696e696e6720726573657276656420666f60448201527f722061756374696f6e20746f20737570706f72742064657369726564206d696e6064820152671d08185b5bdd5b9d60c21b608482015260a401610b89565b7f00000000000000000000000000000000000000000000000000000000000000048111156112645760405162461bcd60e51b815260206004820152602860248201527f5175616e746974792065786365656473206d61785065724164647265737344756044820152671c9a5b99d35a5b9d60c21b6064820152608401610b89565b60008161126f610fbd565b61127991906129f5565b9050803410156112bc5760405162461bcd60e51b815260206004820152600e60248201526d0dcdee840cadcdeeaced040cae8d60931b6044820152606401610b89565b610cc93383611dcb565b6000546001600160a01b031633146112f05760405162461bcd60e51b8152600401610b8990612890565b610b4f601383836122dd565b600061130782611de5565b5192915050565b6000546001600160a01b031633146113385760405162461bcd60e51b8152600401610b8990612890565b600b91909155600c55565b60006001600160a01b03821661136c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6000546001600160a01b031633146113bb5760405162461bcd60e51b8152600401610b8990612890565b610ef56000611f00565b6000546001600160a01b031633146113ef5760405162461bcd60e51b8152600401610b8990612890565b600d55565b6000546001600160a01b0316331461141e5760405162461bcd60e51b8152600401610b8990612890565b478061145b5760405162461bcd60e51b815260206004820152600c60248201526b042616c616e636520697320360a41b6044820152606401610b89565b73d7ea15bae263ce4a7b6a26a4853cec3c670cfc076108fc61271061148284610fa06129f5565b61148c91906129ca565b6040518115909202916000818181858888f193505050501580156114b4573d6000803e3d6000fd5b50732d7bfba6e49c9cd451c44d27775725fc56f3b0446108fc6127106114dc8461028a6129f5565b6114e691906129ca565b6040518115909202916000818181858888f1935050505015801561150e573d6000803e3d6000fd5b5073ccf0a6f45f98ce923a5091ec9af3c61f99db15cf6108fc612710611536846107086129f5565b61154091906129ca565b6040518115909202916000818181858888f19350505050158015611568573d6000803e3d6000fd5b5073936f0bd56dca96e5cc7fba7448a7aee9fb9d87ee6108fc612710611590846107086129f5565b61159a91906129ca565b6040518115909202916000818181858888f193505050501580156115c2573d6000803e3d6000fd5b5060405173658406ef6c804b6a83a092d58a2b269d3944e2a8904780156108fc02916000818181858888f19350505050158015610cc9573d6000803e3d6000fd5b6000546001600160a01b0316331461162d5760405162461bcd60e51b8152600401610b8990612890565b801561168f576000600d541161168f5760405162461bcd60e51b815260206004820152602160248201527f77686974656c697374207072696365206d7573742062652073657420666972736044820152601d60fa1b6064820152608401610b89565b601180549115156101000261ff0019909216919091179055565b60408051606081018252600080825260208201819052918101919091526109ea82611de5565b6060600480546109ff90612855565b6001600160a01b0382163314156117085760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61177f848484611a89565b61178b84848484611f50565b6117a8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b031633146117d85760405162461bcd60e51b8152600401610b8990612890565b6011805460ff1916911515919091179055565b606060006117f885611343565b9050806118155750506040805160008152602081019091526118db565b6000816001600160401b0381111561182f5761182f6124a6565b604051908082528060200260200182016040528015611858578160200160208202803683370190505b5090506000855b858110156118d45783821415611874576118d4565b876001600160a01b0316611887826112fc565b6001600160a01b031614156118c257808383815181106118a9576118a961290e565b6020908102919091010152816118be816128f3565b9250505b806118cc816128f3565b91505061185f565b5090925050505b9392505050565b60606118ed82611a01565b61190a57604051630a14c4b560e41b815260040160405180910390fd5b600061191461205f565b905080516000141561193557604051806020016040528060008152506118db565b8061193f8461206e565b604051602001611950929190612a14565b6040516020818303038152906040529392505050565b6000546001600160a01b031633146119905760405162461bcd60e51b8152600401610b8990612890565b6001600160a01b0381166119f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b89565b6119fe81611f00565b50565b6000600154821080156109ea575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611a9482611de5565b80519091506000906001600160a01b0316336001600160a01b03161480611ac257508151611ac290336108e6565b80611add575033611ad284610a82565b6001600160a01b0316145b905080611afd57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611b325760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611b5957604051633a954ecd60e21b815260040160405180910390fd5b611b696000848460000151611a2d565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611c5357600154811015611c5357825160008281526005602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b80611cbb576040516356be441560e01b815260040160405180910390fd5b600154611cdb5760405163c0367cab60e01b815260040160405180910390fd5b6009546001548110611d00576040516370e89b1b60e01b815260040160405180910390fd5b6001548282016000198101911015611d1b5750600154600019015b815b818111611dc0576000818152600560205260409020546001600160a01b0316158015611d5f5750600081815260056020526040902054600160e01b900460ff16155b15611db8576000611d6f82611de5565b80516000848152600560209081526040909120805491909301516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b0390921691909117179055505b600101611d1d565b506001016009555050565b610cc982826040518060200160405280600081525061216b565b60408051606081018252600080825260208201819052918101919091526001548290811015611ee757600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611ee55780516001600160a01b031615611e7c579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611ee0579392505050565b611e7c565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b1561205357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f94903390899088908890600401612a43565b602060405180830381600087803b158015611fae57600080fd5b505af1925050508015611fde575060408051601f3d908101601f19168201909252611fdb91810190612a80565b60015b612039573d80801561200c576040519150601f19603f3d011682016040523d82523d6000602084013e612011565b606091505b508051612031576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612057565b5060015b949350505050565b6060601380546109ff90612855565b6060816120925750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120bc57806120a6816128f3565b91506120b59050600a836129ca565b9150612096565b6000816001600160401b038111156120d6576120d66124a6565b6040519080825280601f01601f191660200182016040528015612100576020820181803683370190505b5090505b8415612057576121156001836129de565b9150612122600a86612a9d565b61212d9060306128db565b60f81b8183815181106121425761214261290e565b60200101906001600160f81b031916908160001a905350612164600a866129ca565b9450612104565b610b4f838383600180546001600160a01b03851661219b57604051622e076360e81b815260040160405180910390fd5b836121b95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526005909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b858110156122d45760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48380156122aa57506122a86000888488611f50565b155b156122c8576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101612253565b50600155611c96565b8280546122e990612855565b90600052602060002090601f01602090048101928261230b5760008555612351565b82601f106123245782800160ff19823516178555612351565b82800160010185558215612351579182015b82811115612351578235825591602001919060010190612336565b506110569291505b808211156110565760008155600101612359565b6001600160e01b0319811681146119fe57600080fd5b60006020828403121561239557600080fd5b81356118db8161236d565b60005b838110156123bb5781810151838201526020016123a3565b838111156117a85750506000910152565b600081518084526123e48160208601602086016123a0565b601f01601f19169290920160200192915050565b6020815260006118db60208301846123cc565b60006020828403121561241d57600080fd5b5035919050565b80356001600160a01b038116811461243b57600080fd5b919050565b6000806040838503121561245357600080fd5b61245c83612424565b946020939093013593505050565b60008060006060848603121561247f57600080fd5b61248884612424565b925061249660208501612424565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156124e4576124e46124a6565b604052919050565b60006001600160401b03821115612505576125056124a6565b5060051b60200190565b8035801515811461243b57600080fd5b6000806040838503121561253257600080fd5b82356001600160401b0381111561254857600080fd5b8301601f8101851361255957600080fd5b8035602061256e612569836124ec565b6124bc565b82815260059290921b8301810191818101908884111561258d57600080fd5b938201935b838510156125b2576125a385612424565b82529382019390820190612592565b95506125c1905086820161250f565b93505050509250929050565b6000602082840312156125df57600080fd5b6118db82612424565b6020808252825182820181905260009190848201906040850190845b8181101561262057835183529284019291840191600101612604565b50909695505050505050565b60008060006060848603121561264157600080fd5b505081359360208301359350604090920135919050565b6000806020838503121561266b57600080fd5b82356001600160401b038082111561268257600080fd5b818501915085601f83011261269657600080fd5b8135818111156126a557600080fd5b8660208285010111156126b757600080fd5b60209290920196919550909350505050565b600080604083850312156126dc57600080fd5b50508035926020909101359150565b6000602082840312156126fd57600080fd5b6118db8261250f565b6000806040838503121561271957600080fd5b61272283612424565b91506127306020840161250f565b90509250929050565b6000806000806080858703121561274f57600080fd5b61275885612424565b93506020612767818701612424565b93506040860135925060608601356001600160401b038082111561278a57600080fd5b818801915088601f83011261279e57600080fd5b8135818111156127b0576127b06124a6565b6127c2601f8201601f191685016124bc565b915080825289848285010111156127d857600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060006060848603121561280d57600080fd5b61281684612424565b95602085013595506040909401359392505050565b6000806040838503121561283e57600080fd5b61284783612424565b915061273060208401612424565b600181811c9082168061286957607f821691505b6020821081141561288a57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156128ee576128ee6128c5565b500190565b6000600019821415612907576129076128c5565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000602080838503121561293757600080fd5b82516001600160401b0381111561294d57600080fd5b8301601f8101851361295e57600080fd5b805161296c612569826124ec565b81815260059190911b8201830190838101908783111561298b57600080fd5b928401925b828410156129a957835182529284019290840190612990565b979650505050505050565b634e487b7160e01b600052601260045260246000fd5b6000826129d9576129d96129b4565b500490565b6000828210156129f0576129f06128c5565b500390565b6000816000190483118215151615612a0f57612a0f6128c5565b500290565b60008351612a268184602088016123a0565b835190830190612a3a8183602088016123a0565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a76908301846123cc565b9695505050505050565b600060208284031215612a9257600080fd5b81516118db8161236d565b600082612aac57612aac6129b4565b50069056fea2646970667358221220c9619d42f597445a6da39f31bdd751454c05e1ac4805ca1fb951ca0f2d9ab82664736f6c63430008090033
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.