ERC-721
Overview
Max Total Supply
148 SYLP
Holders
51
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SYLPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x2EBBB4cA...86E0DF7Ab The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
NFT
Compiler Version
v0.8.3+commit.8d00100c
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-03-07 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.3; // Part: Address // Part: Address library Address { function isContract(address account) internal view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } 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" ); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } 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" ); } 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); } function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall( target, data, "Address: low-level static call failed" ); } 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); } function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall( target, data, "Address: low-level delegate call failed" ); } 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); } 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); } } } } // Part: Context // Part: Context /** * @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; } } // Part: IERC165 // Part: IERC165 /** * @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); } // Part: IERC721Receiver // Part: IERC721Receiver /** * @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); } // Part: Strings // Part: Strings /** * @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); } } // Part: ERC165 // Part: ERC165 /** * @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; } } // Part: IERC721 // Part: IERC721 /** * @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; } // Part: Ownable // Part: Ownable /** * @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); } } // Part: IERC721Enumerable // Part: IERC721Enumerable /** * @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 tokenId); /** * @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); } // Part: IERC721Metadata // Part: IERC721Metadata /** * @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); } // Part: ERC721A // Part: ERC721A /** * @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 the number of issuable tokens (collection size) is capped and fits in a uint128. * * Does not support burning tokens to address(0). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 0; uint256 internal immutable collectionSize; uint256 internal immutable maxBatchSize; // 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) private _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; /** * @dev * `maxBatchSize` refers to how much a minter can mint at a time. * `collectionSize_` refers to how many tokens are in the collection. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_, uint256 collectionSize_ ) { require( collectionSize_ > 0, "ERC721A: collection must have a nonzero supply" ); require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; collectionSize = collectionSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } /** * @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 || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require( owner != address(0), "ERC721A: balance query for the zero address" ); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("ERC721A: unable to determine the owner of token"); } /** * @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) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require( _exists(tokenId), "ERC721A: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - there must be `quantity` tokens remaining unminted in the total collection. * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); 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 || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require( isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, 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)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp ); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "quantity must be nonzero"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > collectionSize - 1) { endIndex = collectionSize - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "not enough minted yet for this cleanup"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership( ownership.addr, ownership.startTimestamp ); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @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( "ERC721A: transfer to non ERC721Receiver implementer" ); } 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. * * 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`. */ 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. * * 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` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // File: NFT.sol contract NFT is ERC721A, Ownable { using Strings for uint256; string public baseURI; string public baseExtension = ".json"; string public notRevealedUri; uint256 public cost = 0.08 ether; uint256 public maxSupply = 8000; uint256 public maxMintAmount = 10; uint256 public nftPerAddressLimit = 10; bool public paused = false; bool public revealed = false; uint256 public nftReserve = 25; uint256 public reservedCount = 0; bool public onlyWhitelisted = true; mapping(address => bool) whitelistedAddresses; mapping(address => uint256) public addressMintedBalance; constructor( string memory _name, string memory _symbol, string memory _initBaseURI, string memory _initNotRevealedUri ) ERC721A(_name, _symbol, maxMintAmount, maxSupply) { setBaseURI(_initBaseURI); setNotRevealedURI(_initNotRevealedUri); } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // public function mint(uint256 _mintAmount) public payable { require(!paused, "the contract is paused"); uint256 supply = totalSupply(); require(_mintAmount > 0, "need to mint at least 1 NFT"); require( _mintAmount <= maxMintAmount, "max mint amount per session exceeded" ); require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded"); if (msg.sender != owner()) { if (onlyWhitelisted == true) { require( whitelistedAddresses[msg.sender], "user is not whitelisted" ); uint256 ownerMintedCount = addressMintedBalance[msg.sender]; require( ownerMintedCount + _mintAmount <= nftPerAddressLimit, "max NFT per address exceeded" ); } uint256 ownerMintedCount2 = addressMintedBalance[msg.sender]; require( ownerMintedCount2 + _mintAmount <= nftPerAddressLimit, "max NFT per address exceeded" ); require(msg.value >= cost * _mintAmount, "insufficient funds"); } _safeMint(msg.sender, _mintAmount); addressMintedBalance[msg.sender] = addressMintedBalance[msg.sender] + _mintAmount; } function mintForAddress(uint256 _mintAmount, address _receiver) external onlyOwner { require(_mintAmount > 0, "Must be greater than 0"); require(_mintAmount <= 5, "Max 5 NFTs per tx"); require(reservedCount < 175, "Marketing reserve exhausted."); _safeMint(_receiver, _mintAmount); reservedCount++; } function isWhitelisted(address _user) public view returns (bool) { return whitelistedAddresses[_user]; } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if (revealed == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString(), baseExtension ) ) : ""; } //only owner function reveal() public onlyOwner { revealed = true; } function setNftPerAddressLimit(uint256 _limit) public onlyOwner { nftPerAddressLimit = _limit; } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner { maxMintAmount = _newmaxMintAmount; } function setMaxSupply(uint256 _limit) public onlyOwner { maxSupply = _limit; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function pause(bool _state) public onlyOwner { paused = _state; } function setOnlyWhitelisted(bool _state) public onlyOwner { onlyWhitelisted = _state; } function whitelistUsers(address[] memory addresses) public onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { whitelistedAddresses[addresses[i]] = true; } } function withdraw() public payable onlyOwner { (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","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":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"whitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6000808055600755610100604052600560c081905264173539b7b760d91b60e09081526200003191600a9190620002eb565b5067011c37937e080000600c55611f40600d55600a600e819055600f556010805461ffff19169055601960115560006012556013805460ff191660011790553480156200007d57600080fd5b506040516200333538038062003335833981016040819052620000a09162000444565b8383600e54600d5460008111620001155760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620001775760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b60648201526084016200010c565b83516200018c906001906020870190620002eb565b508251620001a2906002906020860190620002eb565b5060a09190915260805250620001ba905033620001da565b620001c5826200022c565b620001d08162000290565b505050506200054b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620002775760405162461bcd60e51b815260206004820181905260248201526000805160206200331583398151915260448201526064016200010c565b80516200028c906009906020840190620002eb565b5050565b6008546001600160a01b03163314620002db5760405162461bcd60e51b815260206004820181905260248201526000805160206200331583398151915260448201526064016200010c565b80516200028c90600b9060208401905b828054620002f990620004f8565b90600052602060002090601f0160209004810192826200031d576000855562000368565b82601f106200033857805160ff191683800117855562000368565b8280016001018555821562000368579182015b82811115620003685782518255916020019190600101906200034b565b50620003769291506200037a565b5090565b5b808211156200037657600081556001016200037b565b600082601f830112620003a2578081fd5b81516001600160401b0380821115620003bf57620003bf62000535565b604051601f8301601f19908116603f01168101908282118183101715620003ea57620003ea62000535565b8160405283815260209250868385880101111562000406578485fd5b8491505b838210156200042957858201830151818301840152908201906200040a565b838211156200043a57848385830101525b9695505050505050565b600080600080608085870312156200045a578384fd5b84516001600160401b038082111562000471578586fd5b6200047f8883890162000391565b9550602087015191508082111562000495578485fd5b620004a38883890162000391565b94506040870151915080821115620004b9578384fd5b620004c78883890162000391565b93506060870151915080821115620004dd578283fd5b50620004ec8782880162000391565b91505092959194509250565b600181811c908216806200050d57607f821691505b602082108114156200052f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160a051612d996200057c60003960008181611ee301528181611f0d015261236e015260005050612d996000f3fe6080604052600436106102ae5760003560e01c80636c0360eb11610175578063ba7d2c76116100dc578063d7224ba011610095578063edec5f271161006f578063edec5f2714610827578063efbd73f414610847578063f2c4ce1e14610867578063f2fde38b14610887576102ae565b8063d7224ba0146107a8578063da3ef23f146107be578063e985e9c5146107de576102ae565b8063ba7d2c7614610711578063c38f761714610727578063c66828621461073d578063c87b56dd14610752578063d0eb26b014610772578063d5abeb0114610792576102ae565b806395d89b411161012e57806395d89b411461067a5780639c70b5121461068f578063a0712d68146106a9578063a22cb465146106bc578063a475b5dd146106dc578063b88d4fde146106f1576102ae565b80636c0360eb146105d25780636f8b44b0146105e757806370a0823114610607578063715018a6146106275780637f00c7a61461063c5780638da5cb5b1461065c576102ae565b80633af32abf11610219578063475489d3116101d2578063475489d3146105235780634f6ccce714610539578063518302271461055957806355f804b3146105785780635c975abb146105985780636352211e146105b2576102ae565b80633af32abf146104555780633c9527641461048e5780633ccfd60b146104ae57806342842e0e146104b6578063438b6300146104d657806344a0d68a14610503576102ae565b806313faede61161026b57806313faede61461039957806318160ddd146103bd57806318cae269146103d2578063239c70ae146103ff57806323b872dd146104155780632f745c5914610435576102ae565b806301ffc9a7146102b357806302329a29146102e857806306fdde031461030a578063081812fc1461032c578063081c8c4414610364578063095ea7b314610379575b600080fd5b3480156102bf57600080fd5b506102d36102ce3660046128b6565b6108a7565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b5061030861030336600461289c565b610916565b005b34801561031657600080fd5b5061031f61095c565b6040516102df9190612add565b34801561033857600080fd5b5061034c610347366004612934565b6109ee565b6040516001600160a01b0390911681526020016102df565b34801561037057600080fd5b5061031f610a79565b34801561038557600080fd5b506103086103943660046127c4565b610b07565b3480156103a557600080fd5b506103af600c5481565b6040519081526020016102df565b3480156103c957600080fd5b506000546103af565b3480156103de57600080fd5b506103af6103ed36600461269b565b60156020526000908152604090205481565b34801561040b57600080fd5b506103af600e5481565b34801561042157600080fd5b506103086104303660046126e7565b610c1f565b34801561044157600080fd5b506103af6104503660046127c4565b610c2a565b34801561046157600080fd5b506102d361047036600461269b565b6001600160a01b031660009081526014602052604090205460ff1690565b34801561049a57600080fd5b506103086104a936600461289c565b610d9e565b610308610ddb565b3480156104c257600080fd5b506103086104d13660046126e7565b610e79565b3480156104e257600080fd5b506104f66104f136600461269b565b610e94565b6040516102df9190612a99565b34801561050f57600080fd5b5061030861051e366004612934565b610f52565b34801561052f57600080fd5b506103af60115481565b34801561054557600080fd5b506103af610554366004612934565b610f81565b34801561056557600080fd5b506010546102d390610100900460ff1681565b34801561058457600080fd5b506103086105933660046128ee565b610fe3565b3480156105a457600080fd5b506010546102d39060ff1681565b3480156105be57600080fd5b5061034c6105cd366004612934565b611024565b3480156105de57600080fd5b5061031f611036565b3480156105f357600080fd5b50610308610602366004612934565b611043565b34801561061357600080fd5b506103af61062236600461269b565b611072565b34801561063357600080fd5b50610308611103565b34801561064857600080fd5b50610308610657366004612934565b611139565b34801561066857600080fd5b506008546001600160a01b031661034c565b34801561068657600080fd5b5061031f611168565b34801561069b57600080fd5b506013546102d39060ff1681565b6103086106b7366004612934565b611177565b3480156106c857600080fd5b506103086106d736600461279b565b6114ab565b3480156106e857600080fd5b5061030861157d565b3480156106fd57600080fd5b5061030861070c366004612722565b6115b8565b34801561071d57600080fd5b506103af600f5481565b34801561073357600080fd5b506103af60125481565b34801561074957600080fd5b5061031f6115f1565b34801561075e57600080fd5b5061031f61076d366004612934565b6115fe565b34801561077e57600080fd5b5061030861078d366004612934565b61176f565b34801561079e57600080fd5b506103af600d5481565b3480156107b457600080fd5b506103af60075481565b3480156107ca57600080fd5b506103086107d93660046128ee565b61179e565b3480156107ea57600080fd5b506102d36107f93660046126b5565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561083357600080fd5b506103086108423660046127ed565b6117db565b34801561085357600080fd5b5061030861086236600461294c565b61187b565b34801561087357600080fd5b506103086108823660046128ee565b6119a8565b34801561089357600080fd5b506103086108a236600461269b565b6119e5565b60006001600160e01b031982166380ac58cd60e01b14806108d857506001600160e01b03198216635b5e139f60e01b145b806108f357506001600160e01b0319821663780e9d6360e01b145b8061090e57506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b6008546001600160a01b031633146109495760405162461bcd60e51b815260040161094090612af0565b60405180910390fd5b6010805460ff1916911515919091179055565b60606001805461096b90612ca1565b80601f016020809104026020016040519081016040528092919081815260200182805461099790612ca1565b80156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b5050505050905090565b60006109fb826000541190565b610a5d5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610940565b506000908152600560205260409020546001600160a01b031690565b600b8054610a8690612ca1565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab290612ca1565b8015610aff5780601f10610ad457610100808354040283529160200191610aff565b820191906000526020600020905b815481529060010190602001808311610ae257829003601f168201915b505050505081565b6000610b1282611024565b9050806001600160a01b0316836001600160a01b03161415610b815760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610940565b336001600160a01b0382161480610b9d5750610b9d81336107f9565b610c0f5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610940565b610c1a838383611a7d565b505050565b610c1a838383611ad9565b6000610c3583611072565b8210610c8e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610940565b600080549080805b83811015610d38576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610ce957805192505b876001600160a01b0316836001600160a01b03161415610d255786841415610d1757509350610d9892505050565b83610d2181612cdc565b9450505b5080610d3081612cdc565b915050610c96565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610940565b92915050565b6008546001600160a01b03163314610dc85760405162461bcd60e51b815260040161094090612af0565b6013805460ff1916911515919091179055565b6008546001600160a01b03163314610e055760405162461bcd60e51b815260040161094090612af0565b6000610e196008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610e63576040519150601f19603f3d011682016040523d82523d6000602084013e610e68565b606091505b5050905080610e7657600080fd5b50565b610c1a838383604051806020016040528060008152506115b8565b60606000610ea183611072565b905060008167ffffffffffffffff811115610ecc57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ef5578160200160208202803683370190505b50905060005b82811015610f4a57610f0d8582610c2a565b828281518110610f2d57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610f4281612cdc565b915050610efb565b509392505050565b6008546001600160a01b03163314610f7c5760405162461bcd60e51b815260040161094090612af0565b600c55565b600080548210610fdf5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610940565b5090565b6008546001600160a01b0316331461100d5760405162461bcd60e51b815260040161094090612af0565b805161102090600990602084019061258c565b5050565b600061102f82611e61565b5192915050565b60098054610a8690612ca1565b6008546001600160a01b0316331461106d5760405162461bcd60e51b815260040161094090612af0565b600d55565b60006001600160a01b0382166110de5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610940565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6008546001600160a01b0316331461112d5760405162461bcd60e51b815260040161094090612af0565b611137600061200d565b565b6008546001600160a01b031633146111635760405162461bcd60e51b815260040161094090612af0565b600e55565b60606002805461096b90612ca1565b60105460ff16156111c35760405162461bcd60e51b81526020600482015260166024820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610940565b600054816112135760405162461bcd60e51b815260206004820152601b60248201527f6e65656420746f206d696e74206174206c656173742031204e465400000000006044820152606401610940565b600e548211156112715760405162461bcd60e51b8152602060048201526024808201527f6d6178206d696e7420616d6f756e74207065722073657373696f6e20657863656044820152631959195960e21b6064820152608401610940565b600d5461127e8383612bd4565b11156112c55760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b6044820152606401610940565b6008546001600160a01b031633146114725760135460ff161515600114156113b3573360009081526014602052604090205460ff166113465760405162461bcd60e51b815260206004820152601760248201527f75736572206973206e6f742077686974656c69737465640000000000000000006044820152606401610940565b33600090815260156020526040902054600f546113638483612bd4565b11156113b15760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610940565b505b33600090815260156020526040902054600f546113d08483612bd4565b111561141e5760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610940565b82600c5461142c9190612c00565b3410156114705760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610940565b505b61147c338361205f565b33600090815260156020526040902054611497908390612bd4565b336000908152601560205260409020555050565b6001600160a01b0382163314156115045760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610940565b3360008181526006602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611571911515815260200190565b60405180910390a35050565b6008546001600160a01b031633146115a75760405162461bcd60e51b815260040161094090612af0565b6010805461ff001916610100179055565b6115c3848484611ad9565b6115cf84848484612079565b6115eb5760405162461bcd60e51b815260040161094090612b25565b50505050565b600a8054610a8690612ca1565b606061160b826000541190565b61166f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610940565b601054610100900460ff1661171057600b805461168b90612ca1565b80601f01602080910402602001604051908101604052809291908181526020018280546116b790612ca1565b80156117045780601f106116d957610100808354040283529160200191611704565b820191906000526020600020905b8154815290600101906020018083116116e757829003601f168201915b50505050509050610911565b600061171a612187565b9050600081511161173a5760405180602001604052806000815250611768565b8061174484612196565b600a6040516020016117589392919061299a565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146117995760405162461bcd60e51b815260040161094090612af0565b600f55565b6008546001600160a01b031633146117c85760405162461bcd60e51b815260040161094090612af0565b805161102090600a90602084019061258c565b6008546001600160a01b031633146118055760405162461bcd60e51b815260040161094090612af0565b60005b81518110156110205760016014600084848151811061183757634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061187381612cdc565b915050611808565b6008546001600160a01b031633146118a55760405162461bcd60e51b815260040161094090612af0565b600082116118ee5760405162461bcd60e51b815260206004820152601660248201527504d7573742062652067726561746572207468616e20360541b6044820152606401610940565b60058211156119335760405162461bcd60e51b815260206004820152601160248201527009ac2f0406a409c8ca8e640e0cae440e8f607b1b6044820152606401610940565b60af601254106119855760405162461bcd60e51b815260206004820152601c60248201527f4d61726b6574696e672072657365727665206578686175737465642e000000006044820152606401610940565b61198f818361205f565b6012805490600061199f83612cdc565b91905055505050565b6008546001600160a01b031633146119d25760405162461bcd60e51b815260040161094090612af0565b805161102090600b90602084019061258c565b6008546001600160a01b03163314611a0f5760405162461bcd60e51b815260040161094090612af0565b6001600160a01b038116611a745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610940565b610e768161200d565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611ae482611e61565b80519091506000906001600160a01b0316336001600160a01b03161480611b1b575033611b10846109ee565b6001600160a01b0316145b80611b2d57508151611b2d90336107f9565b905080611b975760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610940565b846001600160a01b031682600001516001600160a01b031614611c0b5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610940565b6001600160a01b038416611c6f5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610940565b611c7f6000848460000151611a7d565b6001600160a01b0385166000908152600460205260408120805460019290611cb19084906001600160801b0316612c1f565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526004602052604081208054600194509092611cfd91859116612ba9565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055611d85846001612bd4565b6000818152600360205260409020549091506001600160a01b0316611e1757611daf816000541190565b15611e175760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6040805180820190915260008082526020820152611e80826000541190565b611edf5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610940565b60007f00000000000000000000000000000000000000000000000000000000000000008310611f4057611f327f000000000000000000000000000000000000000000000000000000000000000084612c47565b611f3d906001612bd4565b90505b825b818110611fac576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215611f99579250610911915050565b5080611fa481612c8a565b915050611f42565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610940565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6110208282604051806020016040528060008152506122b1565b60006001600160a01b0384163b1561217b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120bd903390899088908890600401612a5c565b602060405180830381600087803b1580156120d757600080fd5b505af1925050508015612107575060408051601f3d908101601f19168201909252612104918101906128d2565b60015b612161573d808015612135576040519150601f19603f3d011682016040523d82523d6000602084013e61213a565b606091505b5080516121595760405162461bcd60e51b815260040161094090612b25565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061217f565b5060015b949350505050565b60606009805461096b90612ca1565b6060816121bb57506040805180820190915260018152600360fc1b6020820152610911565b8160005b81156121e557806121cf81612cdc565b91506121de9050600a83612bec565b91506121bf565b60008167ffffffffffffffff81111561220e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612238576020820181803683370190505b5090505b841561217f5761224d600183612c47565b915061225a600a86612cf7565b612265906030612bd4565b60f81b81838151811061228857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506122aa600a86612bec565b945061223c565b6000546001600160a01b0384166123145760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610940565b61231f816000541190565b1561236c5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610940565b7f00000000000000000000000000000000000000000000000000000000000000008311156123e75760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610940565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612443908790612ba9565b6001600160801b031681526020018583602001516124619190612ba9565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156125815760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46125456000888488612079565b6125615760405162461bcd60e51b815260040161094090612b25565b8161256b81612cdc565b925050808061257990612cdc565b9150506124f8565b506000819055611e59565b82805461259890612ca1565b90600052602060002090601f0160209004810192826125ba5760008555612600565b82601f106125d357805160ff1916838001178555612600565b82800160010185558215612600579182015b828111156126005782518255916020019190600101906125e5565b50610fdf9291505b80821115610fdf5760008155600101612608565b600067ffffffffffffffff83111561263657612636612d37565b612649601f8401601f1916602001612b78565b905082815283838301111561265d57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461091157600080fd5b8035801515811461091157600080fd5b6000602082840312156126ac578081fd5b61176882612674565b600080604083850312156126c7578081fd5b6126d083612674565b91506126de60208401612674565b90509250929050565b6000806000606084860312156126fb578081fd5b61270484612674565b925061271260208501612674565b9150604084013590509250925092565b60008060008060808587031215612737578081fd5b61274085612674565b935061274e60208601612674565b925060408501359150606085013567ffffffffffffffff811115612770578182fd5b8501601f81018713612780578182fd5b61278f8782356020840161261c565b91505092959194509250565b600080604083850312156127ad578182fd5b6127b683612674565b91506126de6020840161268b565b600080604083850312156127d6578182fd5b6127df83612674565b946020939093013593505050565b600060208083850312156127ff578182fd5b823567ffffffffffffffff80821115612816578384fd5b818501915085601f830112612829578384fd5b81358181111561283b5761283b612d37565b8060051b915061284c848301612b78565b8181528481019084860184860187018a1015612866578788fd5b8795505b8386101561288f5761287b81612674565b83526001959095019491860191860161286a565b5098975050505050505050565b6000602082840312156128ad578081fd5b6117688261268b565b6000602082840312156128c7578081fd5b813561176881612d4d565b6000602082840312156128e3578081fd5b815161176881612d4d565b6000602082840312156128ff578081fd5b813567ffffffffffffffff811115612915578182fd5b8201601f81018413612925578182fd5b61217f8482356020840161261c565b600060208284031215612945578081fd5b5035919050565b6000806040838503121561295e578182fd5b823591506126de60208401612674565b60008151808452612986816020860160208601612c5e565b601f01601f19169290920160200192915050565b6000845160206129ad8285838a01612c5e565b8551918401916129c08184848a01612c5e565b85549201918390600181811c90808316806129dc57607f831692505b8583108114156129fa57634e487b7160e01b88526022600452602488fd5b808015612a0e5760018114612a1f57612a4b565b60ff19851688528388019550612a4b565b60008b815260209020895b85811015612a435781548a820152908401908801612a2a565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a8f9083018461296e565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612ad157835183529284019291840191600101612ab5565b50909695505050505050565b600060208252611768602083018461296e565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612ba157612ba1612d37565b604052919050565b60006001600160801b03808316818516808303821115612bcb57612bcb612d0b565b01949350505050565b60008219821115612be757612be7612d0b565b500190565b600082612bfb57612bfb612d21565b500490565b6000816000190483118215151615612c1a57612c1a612d0b565b500290565b60006001600160801b0383811690831681811015612c3f57612c3f612d0b565b039392505050565b600082821015612c5957612c59612d0b565b500390565b60005b83811015612c79578181015183820152602001612c61565b838111156115eb5750506000910152565b600081612c9957612c99612d0b565b506000190190565b600181811c90821680612cb557607f821691505b60208210811415612cd657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612cf057612cf0612d0b565b5060010190565b600082612d0657612d06612d21565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e7657600080fdfea26469706673582212206c11a6d7d5f046fe1e052f4f67e883bcf640af2eb41dca659e6441a6a7bb731764736f6c634300080300334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000a53616c616d616e64657200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000453414c5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f697066732e696f2f697066732f516d505850587470545a327847455854696e6a4c76593851756f64565239366536664751725652685070615942412f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005a68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5348487972705573327247575944314e6e387864317944344e73346e55583531326d4e546e474e5a594863542f73616c702e6a736f6e000000000000
Deployed Bytecode
0x6080604052600436106102ae5760003560e01c80636c0360eb11610175578063ba7d2c76116100dc578063d7224ba011610095578063edec5f271161006f578063edec5f2714610827578063efbd73f414610847578063f2c4ce1e14610867578063f2fde38b14610887576102ae565b8063d7224ba0146107a8578063da3ef23f146107be578063e985e9c5146107de576102ae565b8063ba7d2c7614610711578063c38f761714610727578063c66828621461073d578063c87b56dd14610752578063d0eb26b014610772578063d5abeb0114610792576102ae565b806395d89b411161012e57806395d89b411461067a5780639c70b5121461068f578063a0712d68146106a9578063a22cb465146106bc578063a475b5dd146106dc578063b88d4fde146106f1576102ae565b80636c0360eb146105d25780636f8b44b0146105e757806370a0823114610607578063715018a6146106275780637f00c7a61461063c5780638da5cb5b1461065c576102ae565b80633af32abf11610219578063475489d3116101d2578063475489d3146105235780634f6ccce714610539578063518302271461055957806355f804b3146105785780635c975abb146105985780636352211e146105b2576102ae565b80633af32abf146104555780633c9527641461048e5780633ccfd60b146104ae57806342842e0e146104b6578063438b6300146104d657806344a0d68a14610503576102ae565b806313faede61161026b57806313faede61461039957806318160ddd146103bd57806318cae269146103d2578063239c70ae146103ff57806323b872dd146104155780632f745c5914610435576102ae565b806301ffc9a7146102b357806302329a29146102e857806306fdde031461030a578063081812fc1461032c578063081c8c4414610364578063095ea7b314610379575b600080fd5b3480156102bf57600080fd5b506102d36102ce3660046128b6565b6108a7565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b5061030861030336600461289c565b610916565b005b34801561031657600080fd5b5061031f61095c565b6040516102df9190612add565b34801561033857600080fd5b5061034c610347366004612934565b6109ee565b6040516001600160a01b0390911681526020016102df565b34801561037057600080fd5b5061031f610a79565b34801561038557600080fd5b506103086103943660046127c4565b610b07565b3480156103a557600080fd5b506103af600c5481565b6040519081526020016102df565b3480156103c957600080fd5b506000546103af565b3480156103de57600080fd5b506103af6103ed36600461269b565b60156020526000908152604090205481565b34801561040b57600080fd5b506103af600e5481565b34801561042157600080fd5b506103086104303660046126e7565b610c1f565b34801561044157600080fd5b506103af6104503660046127c4565b610c2a565b34801561046157600080fd5b506102d361047036600461269b565b6001600160a01b031660009081526014602052604090205460ff1690565b34801561049a57600080fd5b506103086104a936600461289c565b610d9e565b610308610ddb565b3480156104c257600080fd5b506103086104d13660046126e7565b610e79565b3480156104e257600080fd5b506104f66104f136600461269b565b610e94565b6040516102df9190612a99565b34801561050f57600080fd5b5061030861051e366004612934565b610f52565b34801561052f57600080fd5b506103af60115481565b34801561054557600080fd5b506103af610554366004612934565b610f81565b34801561056557600080fd5b506010546102d390610100900460ff1681565b34801561058457600080fd5b506103086105933660046128ee565b610fe3565b3480156105a457600080fd5b506010546102d39060ff1681565b3480156105be57600080fd5b5061034c6105cd366004612934565b611024565b3480156105de57600080fd5b5061031f611036565b3480156105f357600080fd5b50610308610602366004612934565b611043565b34801561061357600080fd5b506103af61062236600461269b565b611072565b34801561063357600080fd5b50610308611103565b34801561064857600080fd5b50610308610657366004612934565b611139565b34801561066857600080fd5b506008546001600160a01b031661034c565b34801561068657600080fd5b5061031f611168565b34801561069b57600080fd5b506013546102d39060ff1681565b6103086106b7366004612934565b611177565b3480156106c857600080fd5b506103086106d736600461279b565b6114ab565b3480156106e857600080fd5b5061030861157d565b3480156106fd57600080fd5b5061030861070c366004612722565b6115b8565b34801561071d57600080fd5b506103af600f5481565b34801561073357600080fd5b506103af60125481565b34801561074957600080fd5b5061031f6115f1565b34801561075e57600080fd5b5061031f61076d366004612934565b6115fe565b34801561077e57600080fd5b5061030861078d366004612934565b61176f565b34801561079e57600080fd5b506103af600d5481565b3480156107b457600080fd5b506103af60075481565b3480156107ca57600080fd5b506103086107d93660046128ee565b61179e565b3480156107ea57600080fd5b506102d36107f93660046126b5565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561083357600080fd5b506103086108423660046127ed565b6117db565b34801561085357600080fd5b5061030861086236600461294c565b61187b565b34801561087357600080fd5b506103086108823660046128ee565b6119a8565b34801561089357600080fd5b506103086108a236600461269b565b6119e5565b60006001600160e01b031982166380ac58cd60e01b14806108d857506001600160e01b03198216635b5e139f60e01b145b806108f357506001600160e01b0319821663780e9d6360e01b145b8061090e57506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b6008546001600160a01b031633146109495760405162461bcd60e51b815260040161094090612af0565b60405180910390fd5b6010805460ff1916911515919091179055565b60606001805461096b90612ca1565b80601f016020809104026020016040519081016040528092919081815260200182805461099790612ca1565b80156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b5050505050905090565b60006109fb826000541190565b610a5d5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610940565b506000908152600560205260409020546001600160a01b031690565b600b8054610a8690612ca1565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab290612ca1565b8015610aff5780601f10610ad457610100808354040283529160200191610aff565b820191906000526020600020905b815481529060010190602001808311610ae257829003601f168201915b505050505081565b6000610b1282611024565b9050806001600160a01b0316836001600160a01b03161415610b815760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610940565b336001600160a01b0382161480610b9d5750610b9d81336107f9565b610c0f5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610940565b610c1a838383611a7d565b505050565b610c1a838383611ad9565b6000610c3583611072565b8210610c8e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610940565b600080549080805b83811015610d38576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610ce957805192505b876001600160a01b0316836001600160a01b03161415610d255786841415610d1757509350610d9892505050565b83610d2181612cdc565b9450505b5080610d3081612cdc565b915050610c96565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610940565b92915050565b6008546001600160a01b03163314610dc85760405162461bcd60e51b815260040161094090612af0565b6013805460ff1916911515919091179055565b6008546001600160a01b03163314610e055760405162461bcd60e51b815260040161094090612af0565b6000610e196008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610e63576040519150601f19603f3d011682016040523d82523d6000602084013e610e68565b606091505b5050905080610e7657600080fd5b50565b610c1a838383604051806020016040528060008152506115b8565b60606000610ea183611072565b905060008167ffffffffffffffff811115610ecc57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ef5578160200160208202803683370190505b50905060005b82811015610f4a57610f0d8582610c2a565b828281518110610f2d57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610f4281612cdc565b915050610efb565b509392505050565b6008546001600160a01b03163314610f7c5760405162461bcd60e51b815260040161094090612af0565b600c55565b600080548210610fdf5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610940565b5090565b6008546001600160a01b0316331461100d5760405162461bcd60e51b815260040161094090612af0565b805161102090600990602084019061258c565b5050565b600061102f82611e61565b5192915050565b60098054610a8690612ca1565b6008546001600160a01b0316331461106d5760405162461bcd60e51b815260040161094090612af0565b600d55565b60006001600160a01b0382166110de5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610940565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6008546001600160a01b0316331461112d5760405162461bcd60e51b815260040161094090612af0565b611137600061200d565b565b6008546001600160a01b031633146111635760405162461bcd60e51b815260040161094090612af0565b600e55565b60606002805461096b90612ca1565b60105460ff16156111c35760405162461bcd60e51b81526020600482015260166024820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610940565b600054816112135760405162461bcd60e51b815260206004820152601b60248201527f6e65656420746f206d696e74206174206c656173742031204e465400000000006044820152606401610940565b600e548211156112715760405162461bcd60e51b8152602060048201526024808201527f6d6178206d696e7420616d6f756e74207065722073657373696f6e20657863656044820152631959195960e21b6064820152608401610940565b600d5461127e8383612bd4565b11156112c55760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b6044820152606401610940565b6008546001600160a01b031633146114725760135460ff161515600114156113b3573360009081526014602052604090205460ff166113465760405162461bcd60e51b815260206004820152601760248201527f75736572206973206e6f742077686974656c69737465640000000000000000006044820152606401610940565b33600090815260156020526040902054600f546113638483612bd4565b11156113b15760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610940565b505b33600090815260156020526040902054600f546113d08483612bd4565b111561141e5760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610940565b82600c5461142c9190612c00565b3410156114705760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610940565b505b61147c338361205f565b33600090815260156020526040902054611497908390612bd4565b336000908152601560205260409020555050565b6001600160a01b0382163314156115045760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610940565b3360008181526006602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611571911515815260200190565b60405180910390a35050565b6008546001600160a01b031633146115a75760405162461bcd60e51b815260040161094090612af0565b6010805461ff001916610100179055565b6115c3848484611ad9565b6115cf84848484612079565b6115eb5760405162461bcd60e51b815260040161094090612b25565b50505050565b600a8054610a8690612ca1565b606061160b826000541190565b61166f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610940565b601054610100900460ff1661171057600b805461168b90612ca1565b80601f01602080910402602001604051908101604052809291908181526020018280546116b790612ca1565b80156117045780601f106116d957610100808354040283529160200191611704565b820191906000526020600020905b8154815290600101906020018083116116e757829003601f168201915b50505050509050610911565b600061171a612187565b9050600081511161173a5760405180602001604052806000815250611768565b8061174484612196565b600a6040516020016117589392919061299a565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146117995760405162461bcd60e51b815260040161094090612af0565b600f55565b6008546001600160a01b031633146117c85760405162461bcd60e51b815260040161094090612af0565b805161102090600a90602084019061258c565b6008546001600160a01b031633146118055760405162461bcd60e51b815260040161094090612af0565b60005b81518110156110205760016014600084848151811061183757634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061187381612cdc565b915050611808565b6008546001600160a01b031633146118a55760405162461bcd60e51b815260040161094090612af0565b600082116118ee5760405162461bcd60e51b815260206004820152601660248201527504d7573742062652067726561746572207468616e20360541b6044820152606401610940565b60058211156119335760405162461bcd60e51b815260206004820152601160248201527009ac2f0406a409c8ca8e640e0cae440e8f607b1b6044820152606401610940565b60af601254106119855760405162461bcd60e51b815260206004820152601c60248201527f4d61726b6574696e672072657365727665206578686175737465642e000000006044820152606401610940565b61198f818361205f565b6012805490600061199f83612cdc565b91905055505050565b6008546001600160a01b031633146119d25760405162461bcd60e51b815260040161094090612af0565b805161102090600b90602084019061258c565b6008546001600160a01b03163314611a0f5760405162461bcd60e51b815260040161094090612af0565b6001600160a01b038116611a745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610940565b610e768161200d565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611ae482611e61565b80519091506000906001600160a01b0316336001600160a01b03161480611b1b575033611b10846109ee565b6001600160a01b0316145b80611b2d57508151611b2d90336107f9565b905080611b975760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610940565b846001600160a01b031682600001516001600160a01b031614611c0b5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610940565b6001600160a01b038416611c6f5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610940565b611c7f6000848460000151611a7d565b6001600160a01b0385166000908152600460205260408120805460019290611cb19084906001600160801b0316612c1f565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526004602052604081208054600194509092611cfd91859116612ba9565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055611d85846001612bd4565b6000818152600360205260409020549091506001600160a01b0316611e1757611daf816000541190565b15611e175760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6040805180820190915260008082526020820152611e80826000541190565b611edf5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610940565b60007f000000000000000000000000000000000000000000000000000000000000000a8310611f4057611f327f000000000000000000000000000000000000000000000000000000000000000a84612c47565b611f3d906001612bd4565b90505b825b818110611fac576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215611f99579250610911915050565b5080611fa481612c8a565b915050611f42565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610940565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6110208282604051806020016040528060008152506122b1565b60006001600160a01b0384163b1561217b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120bd903390899088908890600401612a5c565b602060405180830381600087803b1580156120d757600080fd5b505af1925050508015612107575060408051601f3d908101601f19168201909252612104918101906128d2565b60015b612161573d808015612135576040519150601f19603f3d011682016040523d82523d6000602084013e61213a565b606091505b5080516121595760405162461bcd60e51b815260040161094090612b25565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061217f565b5060015b949350505050565b60606009805461096b90612ca1565b6060816121bb57506040805180820190915260018152600360fc1b6020820152610911565b8160005b81156121e557806121cf81612cdc565b91506121de9050600a83612bec565b91506121bf565b60008167ffffffffffffffff81111561220e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612238576020820181803683370190505b5090505b841561217f5761224d600183612c47565b915061225a600a86612cf7565b612265906030612bd4565b60f81b81838151811061228857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506122aa600a86612bec565b945061223c565b6000546001600160a01b0384166123145760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610940565b61231f816000541190565b1561236c5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610940565b7f000000000000000000000000000000000000000000000000000000000000000a8311156123e75760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610940565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612443908790612ba9565b6001600160801b031681526020018583602001516124619190612ba9565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156125815760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46125456000888488612079565b6125615760405162461bcd60e51b815260040161094090612b25565b8161256b81612cdc565b925050808061257990612cdc565b9150506124f8565b506000819055611e59565b82805461259890612ca1565b90600052602060002090601f0160209004810192826125ba5760008555612600565b82601f106125d357805160ff1916838001178555612600565b82800160010185558215612600579182015b828111156126005782518255916020019190600101906125e5565b50610fdf9291505b80821115610fdf5760008155600101612608565b600067ffffffffffffffff83111561263657612636612d37565b612649601f8401601f1916602001612b78565b905082815283838301111561265d57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461091157600080fd5b8035801515811461091157600080fd5b6000602082840312156126ac578081fd5b61176882612674565b600080604083850312156126c7578081fd5b6126d083612674565b91506126de60208401612674565b90509250929050565b6000806000606084860312156126fb578081fd5b61270484612674565b925061271260208501612674565b9150604084013590509250925092565b60008060008060808587031215612737578081fd5b61274085612674565b935061274e60208601612674565b925060408501359150606085013567ffffffffffffffff811115612770578182fd5b8501601f81018713612780578182fd5b61278f8782356020840161261c565b91505092959194509250565b600080604083850312156127ad578182fd5b6127b683612674565b91506126de6020840161268b565b600080604083850312156127d6578182fd5b6127df83612674565b946020939093013593505050565b600060208083850312156127ff578182fd5b823567ffffffffffffffff80821115612816578384fd5b818501915085601f830112612829578384fd5b81358181111561283b5761283b612d37565b8060051b915061284c848301612b78565b8181528481019084860184860187018a1015612866578788fd5b8795505b8386101561288f5761287b81612674565b83526001959095019491860191860161286a565b5098975050505050505050565b6000602082840312156128ad578081fd5b6117688261268b565b6000602082840312156128c7578081fd5b813561176881612d4d565b6000602082840312156128e3578081fd5b815161176881612d4d565b6000602082840312156128ff578081fd5b813567ffffffffffffffff811115612915578182fd5b8201601f81018413612925578182fd5b61217f8482356020840161261c565b600060208284031215612945578081fd5b5035919050565b6000806040838503121561295e578182fd5b823591506126de60208401612674565b60008151808452612986816020860160208601612c5e565b601f01601f19169290920160200192915050565b6000845160206129ad8285838a01612c5e565b8551918401916129c08184848a01612c5e565b85549201918390600181811c90808316806129dc57607f831692505b8583108114156129fa57634e487b7160e01b88526022600452602488fd5b808015612a0e5760018114612a1f57612a4b565b60ff19851688528388019550612a4b565b60008b815260209020895b85811015612a435781548a820152908401908801612a2a565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a8f9083018461296e565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612ad157835183529284019291840191600101612ab5565b50909695505050505050565b600060208252611768602083018461296e565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612ba157612ba1612d37565b604052919050565b60006001600160801b03808316818516808303821115612bcb57612bcb612d0b565b01949350505050565b60008219821115612be757612be7612d0b565b500190565b600082612bfb57612bfb612d21565b500490565b6000816000190483118215151615612c1a57612c1a612d0b565b500290565b60006001600160801b0383811690831681811015612c3f57612c3f612d0b565b039392505050565b600082821015612c5957612c59612d0b565b500390565b60005b83811015612c79578181015183820152602001612c61565b838111156115eb5750506000910152565b600081612c9957612c99612d0b565b506000190190565b600181811c90821680612cb557607f821691505b60208210811415612cd657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612cf057612cf0612d0b565b5060010190565b600082612d0657612d06612d21565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e7657600080fdfea26469706673582212206c11a6d7d5f046fe1e052f4f67e883bcf640af2eb41dca659e6441a6a7bb731764736f6c63430008030033
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.