Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
10,000 XDOODS
Holders
1,202
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 XDOODSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
XpansionDoods
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721B/ERC721EnumerableLite.sol"; import "./ERC721B/Delegated.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract XpansionDoods is ERC721EnumerableLite, Delegated { using Strings for uint256; uint256 public PRICE = 0.029 ether; uint256 private MAX_TOKENS_PER_TRANSACTION = 10; uint256 private MAX_TOKENS_FREE_TXN = 3; uint256 private MAX_SUPPLY = 10000; uint256 private freeLimit = 1250; bool private saleLive = false; bool private reserved = false; string public _baseTokenURI = ""; string private _baseTokenSuffix = ".json"; address art = 0x92F8584b308a84bD557faA62919d2e8d9134065F; address dev = 0xCd2299e5090b42053FBb1779d6CC5DEcB87A0405; constructor() ERC721B("XpansionDoods NFT", "XDOODS") { } function reserveNFTs(address to) public onlyOwner { require(!reserved, "XDoods were already reserved!"); uint256 supply = totalSupply(); for (uint256 i = 1; i <= 40; ++i) { _safeMint(to, supply + i, ""); } reserved = true; } function mint(uint256 _count) external payable { require(saleLive, "Sale is not live yet!"); uint256 supply = totalSupply(); if(supply < freeLimit){ require(_count <= MAX_TOKENS_FREE_TXN, "Max of 2 XDoods per txn during free period!"); } require( _count <= MAX_TOKENS_PER_TRANSACTION, "Count exceeded max tokens per transaction." ); require(supply + _count <= MAX_SUPPLY, "Exceeds max XDoods token supply."); if (supply + _count <= freeLimit) { for (uint256 i = 1; i <= _count; ++i) { _safeMint(msg.sender, supply + i, ""); } } else { require(msg.value >= PRICE * _count, "Ether sent is not correct."); for (uint256 i = 1; i <= _count; ++i) { _safeMint(msg.sender, supply + i, ""); } } } function setSale() external onlyDelegates { require(!saleLive, "Sale is already live!"); saleLive = true; } function setPrice(uint256 _newPrice) external onlyDelegates { PRICE = _newPrice; } function setBaseURI(string calldata _newBaseURI) external onlyDelegates { _baseTokenURI = _newBaseURI; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require( _exists(tokenId), "Provided token ID does not exist." ); string memory baseURI = _baseTokenURI; return bytes(baseURI).length > 0 ? string( abi.encodePacked( baseURI, tokenId.toString(), _baseTokenSuffix ) ) : ""; } function contractURI() public view returns (string memory) { return "https://gateway.pinata.cloud/ipfs/QmNdSCNweD5cX2uM5tNvS71TzQcbxwezdVyKK8WzmZ7ttc/contract_metadata.json"; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(art).transfer((balance * 65)/100); payable(dev).transfer((balance * 35)/100); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * * @team: GoldenX * **************************************** * ERC721B provides low-gas * * mints + transfers * ****************************************/ import "./ERC721B.sol"; import "./IBatch.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; abstract contract ERC721EnumerableLite is ERC721B, IBatch, IERC721Enumerable { function isOwnerOf( address account, uint[] calldata tokenIds ) external view override returns( bool ){ for(uint i; i < tokenIds.length; ++i ){ if( _owners[ tokenIds[i] ] != account ) return false; } return true; } function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721B) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex(address owner, uint index) public view override returns (uint tokenId) { uint count; for( uint i; i < _owners.length; ++i ){ if( owner == _owners[i] ){ if( count == index ) return i; else ++count; } } require(false, "ERC721Enumerable: owner index out of bounds"); } function tokenByIndex(uint index) external view virtual override returns (uint) { require(index < totalSupply(), "ERC721Enumerable: global index out of bounds"); return index; } function totalSupply() public view virtual override returns (uint) { return _owners.length; } function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external override{ for(uint i; i < tokenIds.length; ++i ){ safeTransferFrom( from, to, tokenIds[i], data ); } } function walletOfOwner( address account ) external view override returns( uint[] memory ){ uint quantity = balanceOf( account ); uint[] memory wallet = new uint[]( quantity ); for( uint i; i < quantity; ++i ){ wallet[i] = tokenOfOwnerByIndex( account, i ); } return wallet; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /******************** * @author: Squeebo * ********************/ import "@openzeppelin/contracts/access/Ownable.sol"; contract Delegated is Ownable{ mapping(address => bool) internal _delegates; constructor(){ _delegates[owner()] = true; } modifier onlyDelegates { require(_delegates[msg.sender], "Invalid delegate" ); _; } //onlyOwner function isDelegate( address addr ) external view onlyOwner returns ( bool ){ return _delegates[addr]; } function setDelegate( address addr, bool isDelegate_ ) external onlyOwner{ _delegates[addr] = isDelegate_; } function transferOwnership(address newOwner) public virtual override onlyOwner { _delegates[newOwner] = true; super.transferOwnership( newOwner ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /******************** * @author: Squeebo * ********************/ import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; abstract contract ERC721B is Context, ERC165, IERC721, IERC721Metadata { using Address for address; string private _name; string private _symbol; // Mapping from token ID to owner address address[] internal _owners; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } //public function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count = 0; uint length = _owners.length; for( uint i = 0; i < length; ++i ){ if( owner == _owners[i] ) ++count; } return count; } function name() public view virtual override returns (string memory) { return _name; } function next() public view returns( uint ){ return _owners.length; } function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId-1]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function symbol() public view virtual override returns (string memory) { return _symbol; } function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721B.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } //internal function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId <= _owners.length && _owners[tokenId-1] != address(0); } function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721B.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _owners.push(to); emit Transfer(address(0), to, tokenId); } function _burn(uint256 tokenId) internal virtual { address owner = ERC721B.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId-1] = address(0); emit Transfer(owner, address(0), tokenId); } function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721B.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId-1] = to; emit Transfer(from, to, tokenId); } function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721B.ownerOf(tokenId), to, tokenId); } function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; interface IBatch { function isOwnerOf( address account, uint[] calldata tokenIds ) external view returns( bool ); function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external; function walletOfOwner( address account ) external view returns( uint[] memory ); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"next","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"reserveNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setSale","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":"tokenId","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":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
66670758aa7c8000600755600a6008819055600360095561271090556104e2600b55600c805461ffff1916905560a06040819052600060808190526200004891600d91620001fb565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200007791600e91620001fb565b50600f80546001600160a01b03199081167392f8584b308a84bd557faa62919d2e8d9134065f179091556010805490911673cd2299e5090b42053fbb1779d6cc5decb87a0405179055348015620000cd57600080fd5b506040805180820182526011815270161c185b9cda5bdb911bdbd91cc8139195607a1b60208083019182528351808501909452600684526558444f4f445360d01b9084015281519192916200012591600091620001fb565b5080516200013b906001906020840190620001fb565b50505062000158620001526200019660201b60201c565b6200019a565b60016006600062000168620001ec565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055620002de565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b031690565b8280546200020990620002a1565b90600052602060002090601f0160209004810192826200022d576000855562000278565b82601f106200024857805160ff191683800117855562000278565b8280016001018555821562000278579182015b82811115620002785782518255916020019190600101906200025b565b50620002869291506200028a565b5090565b5b808211156200028657600081556001016200028b565b600281046001821680620002b657607f821691505b60208210811415620002d857634e487b7160e01b600052602260045260246000fd5b50919050565b61296580620002ee6000396000f3fe6080604052600436106101f95760003560e01c806355f804b31161010d578063a0712d68116100a0578063c87b56dd1161006f578063c87b56dd14610565578063cfc86f7b14610585578063e8a3d4851461059a578063e985e9c5146105af578063f2fde38b146105cf576101f9565b8063a0712d68146104f2578063a22cb46514610505578063b534a5c414610525578063b88d4fde14610545576101f9565b80638d859f3e116100dc5780638d859f3e146104935780638da5cb5b146104a857806391b7f5ed146104bd57806395d89b41146104dd576101f9565b806355f804b31461041e5780636352211e1461043e57806370a082311461045e578063715018a61461047e576101f9565b806323b872dd11610190578063438b63001161015f578063438b6300146103915780634a994eef146103be5780634c8fe526146102e55780634d44660c146103de5780634f6ccce7146103fe576101f9565b806323b872dd1461031c5780632f745c591461033c5780633ccfd60b1461035c57806342842e0e14610371576101f9565b8063095ea7b3116101cc578063095ea7b3146102a35780630e0682d4146102c557806318160ddd146102e55780631d9cfd6d14610307576101f9565b806301ffc9a7146101fe57806306fdde03146102345780630777962714610256578063081812fc14610276575b600080fd5b34801561020a57600080fd5b5061021e610219366004611e83565b6105ef565b60405161022b9190612096565b60405180910390f35b34801561024057600080fd5b5061024961061c565b60405161022b91906120a1565b34801561026257600080fd5b5061021e610271366004611bee565b6106ae565b34801561028257600080fd5b50610296610291366004611efb565b610717565b60405161022b9190612001565b3480156102af57600080fd5b506102c36102be366004611e5a565b61075a565b005b3480156102d157600080fd5b506102c36102e0366004611bee565b6107f2565b3480156102f157600080fd5b506102fa6108b7565b60405161022b9190612763565b34801561031357600080fd5b506102c36108bd565b34801561032857600080fd5b506102c3610337366004611cc8565b61091e565b34801561034857600080fd5b506102fa610357366004611e5a565b610956565b34801561036857600080fd5b506102c36109f2565b34801561037d57600080fd5b506102c361038c366004611cc8565b610ad4565b34801561039d57600080fd5b506103b16103ac366004611bee565b610aef565b60405161022b9190612052565b3480156103ca57600080fd5b506102c36103d9366004611e20565b610bab565b3480156103ea57600080fd5b5061021e6103f9366004611dcf565b610c15565b34801561040a57600080fd5b506102fa610419366004611efb565b610cb3565b34801561042a57600080fd5b506102c3610439366004611ebb565b610cdf565b34801561044a57600080fd5b50610296610459366004611efb565b610d1a565b34801561046a57600080fd5b506102fa610479366004611bee565b610d7c565b34801561048a57600080fd5b506102c3610e19565b34801561049f57600080fd5b506102fa610e64565b3480156104b457600080fd5b50610296610e6a565b3480156104c957600080fd5b506102c36104d8366004611efb565b610e79565b3480156104e957600080fd5b50610249610ead565b6102c3610500366004611efb565b610ebc565b34801561051157600080fd5b506102c3610520366004611e20565b610ff8565b34801561053157600080fd5b506102c3610540366004611c3a565b6110c6565b34801561055157600080fd5b506102c3610560366004611d03565b611152565b34801561057157600080fd5b50610249610580366004611efb565b611191565b34801561059157600080fd5b50610249611299565b3480156105a657600080fd5b50610249611327565b3480156105bb57600080fd5b5061021e6105ca366004611c08565b611347565b3480156105db57600080fd5b506102c36105ea366004611bee565b611375565b60006001600160e01b0319821663780e9d6360e01b14806106145750610614826113e3565b90505b919050565b60606000805461062b90612806565b80601f016020809104026020016040519081016040528092919081815260200182805461065790612806565b80156106a45780601f10610679576101008083540402835291602001916106a4565b820191906000526020600020905b81548152906001019060200180831161068757829003601f168201915b5050505050905090565b60006106b8611423565b6001600160a01b03166106c9610e6a565b6001600160a01b0316146106f85760405162461bcd60e51b81526004016106ef906124b0565b60405180910390fd5b506001600160a01b031660009081526006602052604090205460ff1690565b600061072282611427565b61073e5760405162461bcd60e51b81526004016106ef90612464565b506000908152600360205260409020546001600160a01b031690565b600061076582610d1a565b9050806001600160a01b0316836001600160a01b031614156107995760405162461bcd60e51b81526004016106ef906125d5565b806001600160a01b03166107ab611423565b6001600160a01b031614806107c757506107c7816105ca611423565b6107e35760405162461bcd60e51b81526004016106ef906122f4565b6107ed8383611481565b505050565b6107fa611423565b6001600160a01b031661080b610e6a565b6001600160a01b0316146108315760405162461bcd60e51b81526004016106ef906124b0565b600c54610100900460ff16156108595760405162461bcd60e51b81526004016106ef9061272c565b60006108636108b7565b905060015b602881116108a3576108938361087e8385612778565b604051806020016040528060008152506114ef565b61089c81612841565b9050610868565b5050600c805461ff00191661010017905550565b60025490565b3360009081526006602052604090205460ff166108ec5760405162461bcd60e51b81526004016106ef906120b4565b600c5460ff161561090f5760405162461bcd60e51b81526004016106ef90612616565b600c805460ff19166001179055565b61092f610929611423565b82611522565b61094b5760405162461bcd60e51b81526004016106ef90612645565b6107ed8383836115a7565b60008060005b6002548110156109d3576002818154811061098757634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03868116911614156109c357838214156109b75791506109ec9050565b6109c082612841565b91505b6109cc81612841565b905061095c565b5060405162461bcd60e51b81526004016106ef906120de565b92915050565b6109fa611423565b6001600160a01b0316610a0b610e6a565b6001600160a01b031614610a315760405162461bcd60e51b81526004016106ef906124b0565b600f5447906001600160a01b03166108fc6064610a4f8460416127a4565b610a599190612790565b6040518115909202916000818181858888f19350505050158015610a81573d6000803e3d6000fd5b506010546001600160a01b03166108fc6064610a9e8460236127a4565b610aa89190612790565b6040518115909202916000818181858888f19350505050158015610ad0573d6000803e3d6000fd5b5050565b6107ed83838360405180602001604052806000815250611152565b60606000610afc83610d7c565b905060008167ffffffffffffffff811115610b2757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610b50578160200160208202803683370190505b50905060005b82811015610ba357610b688582610956565b828281518110610b8857634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610b9c81612841565b9050610b56565b509392505050565b610bb3611423565b6001600160a01b0316610bc4610e6a565b6001600160a01b031614610bea5760405162461bcd60e51b81526004016106ef906124b0565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6000805b82811015610ca657846001600160a01b03166002858584818110610c4d57634e487b7160e01b600052603260045260246000fd5b9050602002013581548110610c7257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614610c96576000915050610cac565b610c9f81612841565b9050610c19565b50600190505b9392505050565b6000610cbd6108b7565b8210610cdb5760405162461bcd60e51b81526004016106ef906126e0565b5090565b3360009081526006602052604090205460ff16610d0e5760405162461bcd60e51b81526004016106ef906120b4565b6107ed600d8383611abe565b6000806002610d2a6001856127c3565b81548110610d4857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03169050806106145760405162461bcd60e51b81526004016106ef9061239b565b60006001600160a01b038216610da45760405162461bcd60e51b81526004016106ef90612351565b600254600090815b81811015610e105760028181548110610dd557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0386811691161415610e0057610dfd83612841565b92505b610e0981612841565b9050610dac565b50909392505050565b610e21611423565b6001600160a01b0316610e32610e6a565b6001600160a01b031614610e585760405162461bcd60e51b81526004016106ef906124b0565b610e6260006116a2565b565b60075481565b6005546001600160a01b031690565b3360009081526006602052604090205460ff16610ea85760405162461bcd60e51b81526004016106ef906120b4565b600755565b60606001805461062b90612806565b600c5460ff16610ede5760405162461bcd60e51b81526004016106ef906125a6565b6000610ee86108b7565b9050600b54811015610f1657600954821115610f165760405162461bcd60e51b81526004016106ef906123e4565b600854821115610f385760405162461bcd60e51b81526004016106ef90612696565b600a54610f458383612778565b1115610f635760405162461bcd60e51b81526004016106ef90612273565b600b54610f708383612778565b11610fa35760015b828111610f9d57610f8d3361087e8385612778565b610f9681612841565b9050610f78565b50610ad0565b81600754610fb191906127a4565b341015610fd05760405162461bcd60e51b81526004016106ef9061256f565b60015b8281116107ed57610fe83361087e8385612778565b610ff181612841565b9050610fd3565b611000611423565b6001600160a01b0316826001600160a01b031614156110315760405162461bcd60e51b81526004016106ef9061223c565b806004600061103e611423565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611082611423565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110ba9190612096565b60405180910390a35050565b60005b838110156111495761113987878787858181106110f657634e487b7160e01b600052603260045260246000fd5b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061115292505050565b61114281612841565b90506110c9565b50505050505050565b61116361115d611423565b83611522565b61117f5760405162461bcd60e51b81526004016106ef90612645565b61118b848484846116f4565b50505050565b606061119c82611427565b6111b85760405162461bcd60e51b81526004016106ef906124e5565b6000600d80546111c790612806565b80601f01602080910402602001604051908101604052809291908181526020018280546111f390612806565b80156112405780601f1061121557610100808354040283529160200191611240565b820191906000526020600020905b81548152906001019060200180831161122357829003601f168201915b5050505050905060008151116112655760405180602001604052806000815250610cac565b8061126f84611727565b600e60405160200161128393929190611f3f565b6040516020818303038152906040529392505050565b600d80546112a690612806565b80601f01602080910402602001604051908101604052809291908181526020018280546112d290612806565b801561131f5780601f106112f45761010080835404028352916020019161131f565b820191906000526020600020905b81548152906001019060200180831161130257829003601f168201915b505050505081565b60606040518060a00160405280606781526020016128c960679139905090565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b61137d611423565b6001600160a01b031661138e610e6a565b6001600160a01b0316146113b45760405162461bcd60e51b81526004016106ef906124b0565b6001600160a01b0381166000908152600660205260409020805460ff191660011790556113e081611842565b50565b60006001600160e01b031982166380ac58cd60e01b148061141457506001600160e01b03198216635b5e139f60e01b145b806106145750610614826118b0565b3390565b60025460009082118015906106145750600060026114466001856127c3565b8154811061146457634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906114b682610d1a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6114f983836118c9565b611506600084848461199d565b6107ed5760405162461bcd60e51b81526004016106ef90612129565b600061152d82611427565b6115495760405162461bcd60e51b81526004016106ef906122a8565b600061155483610d1a565b9050806001600160a01b0316846001600160a01b0316148061158f5750836001600160a01b031661158484610717565b6001600160a01b0316145b8061159f575061159f8185611347565b949350505050565b826001600160a01b03166115ba82610d1a565b6001600160a01b0316146115e05760405162461bcd60e51b81526004016106ef90612526565b6001600160a01b0382166116065760405162461bcd60e51b81526004016106ef906121f8565b6116118383836107ed565b61161c600082611481565b81600261162a6001846127c3565b8154811061164857634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6116ff8484846115a7565b61170b8484848461199d565b61118b5760405162461bcd60e51b81526004016106ef90612129565b60608161174c57506040805180820190915260018152600360fc1b6020820152610617565b8160005b8115611776578061176081612841565b915061176f9050600a83612790565b9150611750565b60008167ffffffffffffffff81111561179f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156117c9576020820181803683370190505b5090505b841561159f576117de6001836127c3565b91506117eb600a8661285c565b6117f6906030612778565b60f81b81838151811061181957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061183b600a86612790565b94506117cd565b61184a611423565b6001600160a01b031661185b610e6a565b6001600160a01b0316146118815760405162461bcd60e51b81526004016106ef906124b0565b6001600160a01b0381166118a75760405162461bcd60e51b81526004016106ef9061217b565b6113e0816116a2565b6001600160e01b031981166301ffc9a760e01b14919050565b6001600160a01b0382166118ef5760405162461bcd60e51b81526004016106ef9061242f565b6118f881611427565b156119155760405162461bcd60e51b81526004016106ef906121c1565b611921600083836107ed565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006119b1846001600160a01b0316611ab8565b15611aad57836001600160a01b031663150b7a026119cd611423565b8786866040518563ffffffff1660e01b81526004016119ef9493929190612015565b602060405180830381600087803b158015611a0957600080fd5b505af1925050508015611a39575060408051601f3d908101601f19168201909252611a3691810190611e9f565b60015b611a93573d808015611a67576040519150601f19603f3d011682016040523d82523d6000602084013e611a6c565b606091505b508051611a8b5760405162461bcd60e51b81526004016106ef90612129565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061159f565b506001949350505050565b3b151590565b828054611aca90612806565b90600052602060002090601f016020900481019282611aec5760008555611b32565b82601f10611b055782800160ff19823516178555611b32565b82800160010185558215611b32579182015b82811115611b32578235825591602001919060010190611b17565b50610cdb9291505b80821115610cdb5760008155600101611b3a565b80356001600160a01b038116811461061757600080fd5b60008083601f840112611b76578081fd5b50813567ffffffffffffffff811115611b8d578182fd5b6020830191508360208083028501011115611ba757600080fd5b9250929050565b60008083601f840112611bbf578182fd5b50813567ffffffffffffffff811115611bd6578182fd5b602083019150836020828501011115611ba757600080fd5b600060208284031215611bff578081fd5b610cac82611b4e565b60008060408385031215611c1a578081fd5b611c2383611b4e565b9150611c3160208401611b4e565b90509250929050565b60008060008060008060808789031215611c52578182fd5b611c5b87611b4e565b9550611c6960208801611b4e565b9450604087013567ffffffffffffffff80821115611c85578384fd5b611c918a838b01611b65565b90965094506060890135915080821115611ca9578384fd5b50611cb689828a01611bae565b979a9699509497509295939492505050565b600080600060608486031215611cdc578283fd5b611ce584611b4e565b9250611cf360208501611b4e565b9150604084013590509250925092565b60008060008060808587031215611d18578384fd5b611d2185611b4e565b93506020611d30818701611b4e565b935060408601359250606086013567ffffffffffffffff80821115611d53578384fd5b818801915088601f830112611d66578384fd5b813581811115611d7857611d7861289c565b604051601f8201601f1916810185018381118282101715611d9b57611d9b61289c565b60405281815283820185018b1015611db1578586fd5b81858501868301379081019093019390935250939692955090935050565b600080600060408486031215611de3578283fd5b611dec84611b4e565b9250602084013567ffffffffffffffff811115611e07578283fd5b611e1386828701611b65565b9497909650939450505050565b60008060408385031215611e32578182fd5b611e3b83611b4e565b915060208301358015158114611e4f578182fd5b809150509250929050565b60008060408385031215611e6c578182fd5b611e7583611b4e565b946020939093013593505050565b600060208284031215611e94578081fd5b8135610cac816128b2565b600060208284031215611eb0578081fd5b8151610cac816128b2565b60008060208385031215611ecd578182fd5b823567ffffffffffffffff811115611ee3578283fd5b611eef85828601611bae565b90969095509350505050565b600060208284031215611f0c578081fd5b5035919050565b60008151808452611f2b8160208601602086016127da565b601f01601f19169290920160200192915050565b600084516020611f528285838a016127da565b855191840191611f658184848a016127da565b8554920191839060028104600180831680611f8157607f831692505b858310811415611f9f57634e487b7160e01b88526022600452602488fd5b808015611fb35760018114611fc457611ff0565b60ff19851688528388019550611ff0565b611fcd8b61276c565b895b85811015611fe85781548a820152908401908801611fcf565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061204890830184611f13565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561208a5783518352928401929184019160010161206e565b50909695505050505050565b901515815260200190565b600060208252610cac6020830184611f13565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252818101527f45786365656473206d61782058446f6f647320746f6b656e20737570706c792e604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252602b908201527f4d6178206f6620322058446f6f6473207065722074786e20647572696e67206660408201526a72656520706572696f642160a81b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f50726f766964656420746f6b656e20494420646f6573206e6f742065786973746040820152601760f91b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252601a908201527f45746865722073656e74206973206e6f7420636f72726563742e000000000000604082015260600190565b60208082526015908201527453616c65206973206e6f74206c697665207965742160581b604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526015908201527453616c6520697320616c7265616479206c6976652160581b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602a908201527f436f756e74206578636565646564206d617820746f6b656e732070657220747260408201526930b739b0b1ba34b7b71760b11b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252601d908201527f58446f6f6473207765726520616c726561647920726573657276656421000000604082015260600190565b90815260200190565b60009081526020902090565b6000821982111561278b5761278b612870565b500190565b60008261279f5761279f612886565b500490565b60008160001904831182151516156127be576127be612870565b500290565b6000828210156127d5576127d5612870565b500390565b60005b838110156127f55781810151838201526020016127dd565b8381111561118b5750506000910152565b60028104600182168061281a57607f821691505b6020821081141561283b57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561285557612855612870565b5060010190565b60008261286b5761286b612886565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146113e057600080fdfe68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d4e6453434e77654435635832754d35744e76533731547a5163627877657a6456794b4b38577a6d5a377474632f636f6e74726163745f6d657461646174612e6a736f6ea2646970667358221220deced50cc94100b34cb82f9b8ead66701a36ad5a41fe86367f883d3a2a78cd4564736f6c63430008000033
Deployed Bytecode
0x6080604052600436106101f95760003560e01c806355f804b31161010d578063a0712d68116100a0578063c87b56dd1161006f578063c87b56dd14610565578063cfc86f7b14610585578063e8a3d4851461059a578063e985e9c5146105af578063f2fde38b146105cf576101f9565b8063a0712d68146104f2578063a22cb46514610505578063b534a5c414610525578063b88d4fde14610545576101f9565b80638d859f3e116100dc5780638d859f3e146104935780638da5cb5b146104a857806391b7f5ed146104bd57806395d89b41146104dd576101f9565b806355f804b31461041e5780636352211e1461043e57806370a082311461045e578063715018a61461047e576101f9565b806323b872dd11610190578063438b63001161015f578063438b6300146103915780634a994eef146103be5780634c8fe526146102e55780634d44660c146103de5780634f6ccce7146103fe576101f9565b806323b872dd1461031c5780632f745c591461033c5780633ccfd60b1461035c57806342842e0e14610371576101f9565b8063095ea7b3116101cc578063095ea7b3146102a35780630e0682d4146102c557806318160ddd146102e55780631d9cfd6d14610307576101f9565b806301ffc9a7146101fe57806306fdde03146102345780630777962714610256578063081812fc14610276575b600080fd5b34801561020a57600080fd5b5061021e610219366004611e83565b6105ef565b60405161022b9190612096565b60405180910390f35b34801561024057600080fd5b5061024961061c565b60405161022b91906120a1565b34801561026257600080fd5b5061021e610271366004611bee565b6106ae565b34801561028257600080fd5b50610296610291366004611efb565b610717565b60405161022b9190612001565b3480156102af57600080fd5b506102c36102be366004611e5a565b61075a565b005b3480156102d157600080fd5b506102c36102e0366004611bee565b6107f2565b3480156102f157600080fd5b506102fa6108b7565b60405161022b9190612763565b34801561031357600080fd5b506102c36108bd565b34801561032857600080fd5b506102c3610337366004611cc8565b61091e565b34801561034857600080fd5b506102fa610357366004611e5a565b610956565b34801561036857600080fd5b506102c36109f2565b34801561037d57600080fd5b506102c361038c366004611cc8565b610ad4565b34801561039d57600080fd5b506103b16103ac366004611bee565b610aef565b60405161022b9190612052565b3480156103ca57600080fd5b506102c36103d9366004611e20565b610bab565b3480156103ea57600080fd5b5061021e6103f9366004611dcf565b610c15565b34801561040a57600080fd5b506102fa610419366004611efb565b610cb3565b34801561042a57600080fd5b506102c3610439366004611ebb565b610cdf565b34801561044a57600080fd5b50610296610459366004611efb565b610d1a565b34801561046a57600080fd5b506102fa610479366004611bee565b610d7c565b34801561048a57600080fd5b506102c3610e19565b34801561049f57600080fd5b506102fa610e64565b3480156104b457600080fd5b50610296610e6a565b3480156104c957600080fd5b506102c36104d8366004611efb565b610e79565b3480156104e957600080fd5b50610249610ead565b6102c3610500366004611efb565b610ebc565b34801561051157600080fd5b506102c3610520366004611e20565b610ff8565b34801561053157600080fd5b506102c3610540366004611c3a565b6110c6565b34801561055157600080fd5b506102c3610560366004611d03565b611152565b34801561057157600080fd5b50610249610580366004611efb565b611191565b34801561059157600080fd5b50610249611299565b3480156105a657600080fd5b50610249611327565b3480156105bb57600080fd5b5061021e6105ca366004611c08565b611347565b3480156105db57600080fd5b506102c36105ea366004611bee565b611375565b60006001600160e01b0319821663780e9d6360e01b14806106145750610614826113e3565b90505b919050565b60606000805461062b90612806565b80601f016020809104026020016040519081016040528092919081815260200182805461065790612806565b80156106a45780601f10610679576101008083540402835291602001916106a4565b820191906000526020600020905b81548152906001019060200180831161068757829003601f168201915b5050505050905090565b60006106b8611423565b6001600160a01b03166106c9610e6a565b6001600160a01b0316146106f85760405162461bcd60e51b81526004016106ef906124b0565b60405180910390fd5b506001600160a01b031660009081526006602052604090205460ff1690565b600061072282611427565b61073e5760405162461bcd60e51b81526004016106ef90612464565b506000908152600360205260409020546001600160a01b031690565b600061076582610d1a565b9050806001600160a01b0316836001600160a01b031614156107995760405162461bcd60e51b81526004016106ef906125d5565b806001600160a01b03166107ab611423565b6001600160a01b031614806107c757506107c7816105ca611423565b6107e35760405162461bcd60e51b81526004016106ef906122f4565b6107ed8383611481565b505050565b6107fa611423565b6001600160a01b031661080b610e6a565b6001600160a01b0316146108315760405162461bcd60e51b81526004016106ef906124b0565b600c54610100900460ff16156108595760405162461bcd60e51b81526004016106ef9061272c565b60006108636108b7565b905060015b602881116108a3576108938361087e8385612778565b604051806020016040528060008152506114ef565b61089c81612841565b9050610868565b5050600c805461ff00191661010017905550565b60025490565b3360009081526006602052604090205460ff166108ec5760405162461bcd60e51b81526004016106ef906120b4565b600c5460ff161561090f5760405162461bcd60e51b81526004016106ef90612616565b600c805460ff19166001179055565b61092f610929611423565b82611522565b61094b5760405162461bcd60e51b81526004016106ef90612645565b6107ed8383836115a7565b60008060005b6002548110156109d3576002818154811061098757634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03868116911614156109c357838214156109b75791506109ec9050565b6109c082612841565b91505b6109cc81612841565b905061095c565b5060405162461bcd60e51b81526004016106ef906120de565b92915050565b6109fa611423565b6001600160a01b0316610a0b610e6a565b6001600160a01b031614610a315760405162461bcd60e51b81526004016106ef906124b0565b600f5447906001600160a01b03166108fc6064610a4f8460416127a4565b610a599190612790565b6040518115909202916000818181858888f19350505050158015610a81573d6000803e3d6000fd5b506010546001600160a01b03166108fc6064610a9e8460236127a4565b610aa89190612790565b6040518115909202916000818181858888f19350505050158015610ad0573d6000803e3d6000fd5b5050565b6107ed83838360405180602001604052806000815250611152565b60606000610afc83610d7c565b905060008167ffffffffffffffff811115610b2757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610b50578160200160208202803683370190505b50905060005b82811015610ba357610b688582610956565b828281518110610b8857634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610b9c81612841565b9050610b56565b509392505050565b610bb3611423565b6001600160a01b0316610bc4610e6a565b6001600160a01b031614610bea5760405162461bcd60e51b81526004016106ef906124b0565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6000805b82811015610ca657846001600160a01b03166002858584818110610c4d57634e487b7160e01b600052603260045260246000fd5b9050602002013581548110610c7257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614610c96576000915050610cac565b610c9f81612841565b9050610c19565b50600190505b9392505050565b6000610cbd6108b7565b8210610cdb5760405162461bcd60e51b81526004016106ef906126e0565b5090565b3360009081526006602052604090205460ff16610d0e5760405162461bcd60e51b81526004016106ef906120b4565b6107ed600d8383611abe565b6000806002610d2a6001856127c3565b81548110610d4857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03169050806106145760405162461bcd60e51b81526004016106ef9061239b565b60006001600160a01b038216610da45760405162461bcd60e51b81526004016106ef90612351565b600254600090815b81811015610e105760028181548110610dd557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0386811691161415610e0057610dfd83612841565b92505b610e0981612841565b9050610dac565b50909392505050565b610e21611423565b6001600160a01b0316610e32610e6a565b6001600160a01b031614610e585760405162461bcd60e51b81526004016106ef906124b0565b610e6260006116a2565b565b60075481565b6005546001600160a01b031690565b3360009081526006602052604090205460ff16610ea85760405162461bcd60e51b81526004016106ef906120b4565b600755565b60606001805461062b90612806565b600c5460ff16610ede5760405162461bcd60e51b81526004016106ef906125a6565b6000610ee86108b7565b9050600b54811015610f1657600954821115610f165760405162461bcd60e51b81526004016106ef906123e4565b600854821115610f385760405162461bcd60e51b81526004016106ef90612696565b600a54610f458383612778565b1115610f635760405162461bcd60e51b81526004016106ef90612273565b600b54610f708383612778565b11610fa35760015b828111610f9d57610f8d3361087e8385612778565b610f9681612841565b9050610f78565b50610ad0565b81600754610fb191906127a4565b341015610fd05760405162461bcd60e51b81526004016106ef9061256f565b60015b8281116107ed57610fe83361087e8385612778565b610ff181612841565b9050610fd3565b611000611423565b6001600160a01b0316826001600160a01b031614156110315760405162461bcd60e51b81526004016106ef9061223c565b806004600061103e611423565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611082611423565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110ba9190612096565b60405180910390a35050565b60005b838110156111495761113987878787858181106110f657634e487b7160e01b600052603260045260246000fd5b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061115292505050565b61114281612841565b90506110c9565b50505050505050565b61116361115d611423565b83611522565b61117f5760405162461bcd60e51b81526004016106ef90612645565b61118b848484846116f4565b50505050565b606061119c82611427565b6111b85760405162461bcd60e51b81526004016106ef906124e5565b6000600d80546111c790612806565b80601f01602080910402602001604051908101604052809291908181526020018280546111f390612806565b80156112405780601f1061121557610100808354040283529160200191611240565b820191906000526020600020905b81548152906001019060200180831161122357829003601f168201915b5050505050905060008151116112655760405180602001604052806000815250610cac565b8061126f84611727565b600e60405160200161128393929190611f3f565b6040516020818303038152906040529392505050565b600d80546112a690612806565b80601f01602080910402602001604051908101604052809291908181526020018280546112d290612806565b801561131f5780601f106112f45761010080835404028352916020019161131f565b820191906000526020600020905b81548152906001019060200180831161130257829003601f168201915b505050505081565b60606040518060a00160405280606781526020016128c960679139905090565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b61137d611423565b6001600160a01b031661138e610e6a565b6001600160a01b0316146113b45760405162461bcd60e51b81526004016106ef906124b0565b6001600160a01b0381166000908152600660205260409020805460ff191660011790556113e081611842565b50565b60006001600160e01b031982166380ac58cd60e01b148061141457506001600160e01b03198216635b5e139f60e01b145b806106145750610614826118b0565b3390565b60025460009082118015906106145750600060026114466001856127c3565b8154811061146457634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906114b682610d1a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6114f983836118c9565b611506600084848461199d565b6107ed5760405162461bcd60e51b81526004016106ef90612129565b600061152d82611427565b6115495760405162461bcd60e51b81526004016106ef906122a8565b600061155483610d1a565b9050806001600160a01b0316846001600160a01b0316148061158f5750836001600160a01b031661158484610717565b6001600160a01b0316145b8061159f575061159f8185611347565b949350505050565b826001600160a01b03166115ba82610d1a565b6001600160a01b0316146115e05760405162461bcd60e51b81526004016106ef90612526565b6001600160a01b0382166116065760405162461bcd60e51b81526004016106ef906121f8565b6116118383836107ed565b61161c600082611481565b81600261162a6001846127c3565b8154811061164857634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6116ff8484846115a7565b61170b8484848461199d565b61118b5760405162461bcd60e51b81526004016106ef90612129565b60608161174c57506040805180820190915260018152600360fc1b6020820152610617565b8160005b8115611776578061176081612841565b915061176f9050600a83612790565b9150611750565b60008167ffffffffffffffff81111561179f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156117c9576020820181803683370190505b5090505b841561159f576117de6001836127c3565b91506117eb600a8661285c565b6117f6906030612778565b60f81b81838151811061181957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061183b600a86612790565b94506117cd565b61184a611423565b6001600160a01b031661185b610e6a565b6001600160a01b0316146118815760405162461bcd60e51b81526004016106ef906124b0565b6001600160a01b0381166118a75760405162461bcd60e51b81526004016106ef9061217b565b6113e0816116a2565b6001600160e01b031981166301ffc9a760e01b14919050565b6001600160a01b0382166118ef5760405162461bcd60e51b81526004016106ef9061242f565b6118f881611427565b156119155760405162461bcd60e51b81526004016106ef906121c1565b611921600083836107ed565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006119b1846001600160a01b0316611ab8565b15611aad57836001600160a01b031663150b7a026119cd611423565b8786866040518563ffffffff1660e01b81526004016119ef9493929190612015565b602060405180830381600087803b158015611a0957600080fd5b505af1925050508015611a39575060408051601f3d908101601f19168201909252611a3691810190611e9f565b60015b611a93573d808015611a67576040519150601f19603f3d011682016040523d82523d6000602084013e611a6c565b606091505b508051611a8b5760405162461bcd60e51b81526004016106ef90612129565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061159f565b506001949350505050565b3b151590565b828054611aca90612806565b90600052602060002090601f016020900481019282611aec5760008555611b32565b82601f10611b055782800160ff19823516178555611b32565b82800160010185558215611b32579182015b82811115611b32578235825591602001919060010190611b17565b50610cdb9291505b80821115610cdb5760008155600101611b3a565b80356001600160a01b038116811461061757600080fd5b60008083601f840112611b76578081fd5b50813567ffffffffffffffff811115611b8d578182fd5b6020830191508360208083028501011115611ba757600080fd5b9250929050565b60008083601f840112611bbf578182fd5b50813567ffffffffffffffff811115611bd6578182fd5b602083019150836020828501011115611ba757600080fd5b600060208284031215611bff578081fd5b610cac82611b4e565b60008060408385031215611c1a578081fd5b611c2383611b4e565b9150611c3160208401611b4e565b90509250929050565b60008060008060008060808789031215611c52578182fd5b611c5b87611b4e565b9550611c6960208801611b4e565b9450604087013567ffffffffffffffff80821115611c85578384fd5b611c918a838b01611b65565b90965094506060890135915080821115611ca9578384fd5b50611cb689828a01611bae565b979a9699509497509295939492505050565b600080600060608486031215611cdc578283fd5b611ce584611b4e565b9250611cf360208501611b4e565b9150604084013590509250925092565b60008060008060808587031215611d18578384fd5b611d2185611b4e565b93506020611d30818701611b4e565b935060408601359250606086013567ffffffffffffffff80821115611d53578384fd5b818801915088601f830112611d66578384fd5b813581811115611d7857611d7861289c565b604051601f8201601f1916810185018381118282101715611d9b57611d9b61289c565b60405281815283820185018b1015611db1578586fd5b81858501868301379081019093019390935250939692955090935050565b600080600060408486031215611de3578283fd5b611dec84611b4e565b9250602084013567ffffffffffffffff811115611e07578283fd5b611e1386828701611b65565b9497909650939450505050565b60008060408385031215611e32578182fd5b611e3b83611b4e565b915060208301358015158114611e4f578182fd5b809150509250929050565b60008060408385031215611e6c578182fd5b611e7583611b4e565b946020939093013593505050565b600060208284031215611e94578081fd5b8135610cac816128b2565b600060208284031215611eb0578081fd5b8151610cac816128b2565b60008060208385031215611ecd578182fd5b823567ffffffffffffffff811115611ee3578283fd5b611eef85828601611bae565b90969095509350505050565b600060208284031215611f0c578081fd5b5035919050565b60008151808452611f2b8160208601602086016127da565b601f01601f19169290920160200192915050565b600084516020611f528285838a016127da565b855191840191611f658184848a016127da565b8554920191839060028104600180831680611f8157607f831692505b858310811415611f9f57634e487b7160e01b88526022600452602488fd5b808015611fb35760018114611fc457611ff0565b60ff19851688528388019550611ff0565b611fcd8b61276c565b895b85811015611fe85781548a820152908401908801611fcf565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061204890830184611f13565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561208a5783518352928401929184019160010161206e565b50909695505050505050565b901515815260200190565b600060208252610cac6020830184611f13565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252818101527f45786365656473206d61782058446f6f647320746f6b656e20737570706c792e604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252602b908201527f4d6178206f6620322058446f6f6473207065722074786e20647572696e67206660408201526a72656520706572696f642160a81b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f50726f766964656420746f6b656e20494420646f6573206e6f742065786973746040820152601760f91b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252601a908201527f45746865722073656e74206973206e6f7420636f72726563742e000000000000604082015260600190565b60208082526015908201527453616c65206973206e6f74206c697665207965742160581b604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526015908201527453616c6520697320616c7265616479206c6976652160581b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602a908201527f436f756e74206578636565646564206d617820746f6b656e732070657220747260408201526930b739b0b1ba34b7b71760b11b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252601d908201527f58446f6f6473207765726520616c726561647920726573657276656421000000604082015260600190565b90815260200190565b60009081526020902090565b6000821982111561278b5761278b612870565b500190565b60008261279f5761279f612886565b500490565b60008160001904831182151516156127be576127be612870565b500290565b6000828210156127d5576127d5612870565b500390565b60005b838110156127f55781810151838201526020016127dd565b8381111561118b5750506000910152565b60028104600182168061281a57607f821691505b6020821081141561283b57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561285557612855612870565b5060010190565b60008261286b5761286b612886565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146113e057600080fdfe68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d4e6453434e77654435635832754d35744e76533731547a5163627877657a6456794b4b38577a6d5a377474632f636f6e74726163745f6d657461646174612e6a736f6ea2646970667358221220deced50cc94100b34cb82f9b8ead66701a36ad5a41fe86367f883d3a2a78cd4564736f6c63430008000033
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.