Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
8,175 RAKS
Holders
1,537
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 RAKSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Raksasas
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 // Author: Pagzi Tech Inc. | 2021 pragma solidity ^0.8.10; import "./pagzi/ERC721Enum.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract Raksasas is ERC721Enum, Ownable, ReentrancyGuard { using Strings for uint256; uint256 public cost = 0.025 ether; uint256 public allowListCost = 0.01 ether; uint256 public maxSupply = 8888; uint256 public maxMintAmount = 20; uint256 private reserved = 888; uint256 public nftPerAddressLimit = 1; bool inside; bool public paused = true; string public baseURI; string public baseExtension = ".json"; address[] public whitelistedAddresses; address an = 0x7a0876cBa8146f9Ad39876d83593D99B2A0ffc7b; address gu = 0xE35374A6Db102187c9a77c54CEA1E891B32839e7; address hu = 0x66e4D5FB3B9710C1C30fe34F968A9ad45a9A855e; address je = 0x7B85A22dB64690f7229Cbf494614f395274efacb; address lu = 0xBb18BB346C421BC998788A2F3D0a5ed9Fa3F8060; address va = 0xCf5482620e3283A015575d106d14fa877529eCD5; mapping(address => uint256) public addressMintedBalance; constructor(string memory _initBaseURI) ERC721P("Raksasas", "RAKS") { setBaseURI(_initBaseURI); } function mint(uint256 _mintAmount) public payable nonReentrant { require(!paused, "Sales are paused!"); require( _mintAmount > 0 && _mintAmount <= maxMintAmount, "Too many NFTs to mint" ); uint256 supply = totalSupply(); require( supply + _mintAmount <= maxSupply - reserved, "Not enough NFTs available" ); require(msg.value >= cost * _mintAmount); for (uint256 i; i < _mintAmount; i++) { _safeMint(msg.sender, supply + i, ""); } } function mintWhiteListed(uint256 _mintAmount) public payable nonReentrant { require(!paused, "Sales are paused!"); require( _mintAmount > 0 && _mintAmount <= nftPerAddressLimit, "Too many NFTs to mint" ); uint256 supply = totalSupply(); require( supply + _mintAmount <= maxSupply - reserved, "Not enough NFTs available" ); require(isWhitelisted(msg.sender), "User is not whitelisted"); uint256 ownerMintedCount = addressMintedBalance[msg.sender]; require( ownerMintedCount + _mintAmount <= nftPerAddressLimit, "Max NFT per address exceeded" ); require(msg.value >= allowListCost * _mintAmount); reserved -= _mintAmount; addressMintedBalance[msg.sender] += _mintAmount; for (uint256 i; i < _mintAmount; i++) { _safeMint(msg.sender, supply + i, ""); } } function giveAway( uint256[] calldata quantityList, address[] calldata addressList ) external onlyOwner { require(quantityList.length == addressList.length, "Wrong Inputs"); uint256 totalQuantity = 0; uint256 supply = totalSupply(); for (uint256 i = 0; i < quantityList.length; ++i) { totalQuantity += quantityList[i]; } require(totalQuantity <= reserved, "Exceeds reserved supply"); require(supply + totalQuantity <= maxSupply, "Too many NFTs t o mint"); reserved -= totalQuantity; delete totalQuantity; for (uint256 i = 0; i < addressList.length; ++i) { for (uint256 j = 0; j < quantityList[i]; ++j) { _safeMint(addressList[i], supply++, ""); } } } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString(), baseExtension ) ) : ""; } function isWhitelisted(address _user) public view returns (bool) { for (uint256 i = 0; i < whitelistedAddresses.length; i++) { if (whitelistedAddresses[i] == _user) { return true; } } return false; } function _baseURI() internal view virtual returns (string memory) { return baseURI; } function remainingReserved() public view returns (uint256) { return reserved; } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function setAllowedListCost(uint256 _newCost) public onlyOwner { allowListCost = _newCost; } function setNftPerAddressLimit(uint256 _limit) public onlyOwner { nftPerAddressLimit = _limit; } function whitelistUsers(address[] calldata _users) public onlyOwner { for (uint256 i = 0; i < _users.length; ++i) { whitelistedAddresses.push(_users[i]); } } function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner { maxMintAmount = _newmaxMintAmount; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function setTogglePause() public onlyOwner { paused = !paused; } function sendEth(address destination, uint256 amount) internal { (bool sent, ) = destination.call{value: amount}(""); require(sent, "Failed to send Ether"); } function withdrawAll() public payable onlyOwner { require(!inside, "no rentrancy"); inside = true; uint256 percent = address(this).balance / 100; sendEth(an, percent * 16); sendEth(gu, percent * 16); sendEth(hu, percent * 16); sendEth(je, percent * 16); sendEth(lu, percent * 16); sendEth(va, address(this).balance); inside = false; } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.10; 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 ERC721P is Context, ERC165, IERC721, IERC721Metadata { using Address for address; string private _name; string private _symbol; address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } 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 balanceOf(address owner) public view virtual override returns (uint256) { require( owner != address(0), "ERC721: balance query for the zero address" ); uint256 count = 0; uint256 length = _owners.length; for (uint256 i = 0; i < length; ++i) { if (owner == _owners[i]) { ++count; } } delete length; return count; } function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require( owner != address(0), "ERC721: owner query for nonexistent token" ); return owner; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721P.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); } function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } 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); } 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] != address(0); } function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ERC721P.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 = ERC721P.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721P.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721P.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: GPL-3.0 pragma solidity ^0.8.10; import "./ERC721P.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; abstract contract ERC721Enum is ERC721P, IERC721Enumerable { function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721P) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256 tokenId) { require(index < ERC721P.balanceOf(owner), "ERC721Enum: owner ioob"); uint256 count; for (uint256 i; i < _owners.length; ++i) { if (owner == _owners[i]) { if (count == index) return i; else ++count; } } require(false, "ERC721Enum: owner ioob"); } function tokensOfOwner(address owner) public view returns (uint256[] memory) { require(0 < ERC721P.balanceOf(owner), "ERC721Enum: owner ioob"); uint256 tokenCount = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenCount); for (uint256 i = 0; i < tokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(owner, i); } return tokenIds; } function totalSupply() public view virtual override returns (uint256) { return _owners.length; } function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enum.totalSupply(), "ERC721Enum: global ioob"); return index; } }
// SPDX-License-Identifier: MIT 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 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 pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT 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 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 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 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 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 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 pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initBaseURI","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":[],"name":"allowListCost","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":"uint256[]","name":"quantityList","type":"uint256[]"},{"internalType":"address[]","name":"addressList","type":"address[]"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","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"}],"name":"mintWhiteListed","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setAllowedListCost","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":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setTogglePause","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":"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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"whitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6658d15e17628000600755662386f26fc100006008556122b86009556014600a55610378600b556001600c55600d805461ff00191661010017905560c06040526005608081905264173539b7b760d91b60a09081526200006391600f9190620002b8565b50601180546001600160a01b0319908116737a0876cba8146f9ad39876d83593d99b2a0ffc7b1790915560128054821673e35374a6db102187c9a77c54cea1e891b32839e71790556013805482167366e4d5fb3b9710c1c30fe34f968a9ad45a9a855e179055601480548216737b85a22db64690f7229cbf494614f395274efacb17905560158054821673bb18bb346c421bc998788a2f3d0a5ed9fa3f80601790556016805490911673cf5482620e3283a015575d106d14fa877529ecd51790553480156200013157600080fd5b506040516200302538038062003025833981016040819052620001549162000374565b604080518082018252600881526752616b736173617360c01b60208083019182528351808501909452600484526352414b5360e01b908401528151919291620001a091600091620002b8565b508051620001b6906001906020840190620002b8565b505050620001d3620001cd620001ea60201b60201c565b620001ee565b6001600655620001e38162000240565b506200048d565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b031633146200029f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620002b490600e906020840190620002b8565b5050565b828054620002c69062000450565b90600052602060002090601f016020900481019282620002ea576000855562000335565b82601f106200030557805160ff191683800117855562000335565b8280016001018555821562000335579182015b828111156200033557825182559160200191906001019062000318565b506200034392915062000347565b5090565b5b8082111562000343576000815560010162000348565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200038857600080fd5b82516001600160401b0380821115620003a057600080fd5b818501915085601f830112620003b557600080fd5b815181811115620003ca57620003ca6200035e565b604051601f8201601f19908116603f01168101908382118183101715620003f557620003f56200035e565b8160405282815288868487010111156200040e57600080fd5b600093505b8284101562000432578484018601518185018701529285019262000413565b82841115620004445760008684830101525b98975050505050505050565b600181811c908216806200046557607f821691505b602082108114156200048757634e487b7160e01b600052602260045260246000fd5b50919050565b612b88806200049d6000396000f3fe6080604052600436106102675760003560e01c8063715018a611610144578063ba7d2c76116100b6578063d5abeb011161007a578063d5abeb01146106e6578063da3ef23f146106fc578063e985e9c51461071c578063edec5f2714610765578063f2892bc414610785578063f2fde38b1461079a57600080fd5b8063ba7d2c761461065b578063c668286214610671578063c87b56dd14610686578063caba17af146106a6578063d0eb26b0146106c657600080fd5b806395d89b411161010857806395d89b41146105be5780639deaf5e0146105d3578063a0712d68146105e8578063a22cb465146105fb578063b88d4fde1461061b578063ba4e5c491461063b57600080fd5b8063715018a6146105365780637f00c7a61461054b5780638462151c1461056b578063853828b6146105985780638da5cb5b146105a057600080fd5b806323b872dd116101dd5780634f6ccce7116101a15780634f6ccce71461048257806355f804b3146104a25780635c975abb146104c25780636352211e146104e15780636c0360eb1461050157806370a082311461051657600080fd5b806323b872dd146103e25780632f745c59146104025780633af32abf1461042257806342842e0e1461044257806344a0d68a1461046257600080fd5b80630d59ccad1161022f5780630d59ccad1461034157806313faede61461035457806318160ddd1461036a57806318cae2691461037f5780631f9887d9146103ac578063239c70ae146103cc57600080fd5b806301ffc9a71461026c57806306fdde03146102a157806307b02c8b146102c3578063081812fc146102e7578063095ea7b31461031f575b600080fd5b34801561027857600080fd5b5061028c6102873660046123e2565b6107ba565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b66107e5565b6040516102989190612457565b3480156102cf57600080fd5b506102d960085481565b604051908152602001610298565b3480156102f357600080fd5b5061030761030236600461246a565b610877565b6040516001600160a01b039091168152602001610298565b34801561032b57600080fd5b5061033f61033a36600461249f565b610904565b005b61033f61034f36600461246a565b610a1a565b34801561036057600080fd5b506102d960075481565b34801561037657600080fd5b506002546102d9565b34801561038b57600080fd5b506102d961039a3660046124c9565b60176020526000908152604090205481565b3480156103b857600080fd5b5061033f6103c7366004612530565b610ce6565b3480156103d857600080fd5b506102d9600a5481565b3480156103ee57600080fd5b5061033f6103fd36600461259c565b610f02565b34801561040e57600080fd5b506102d961041d36600461249f565b610f33565b34801561042e57600080fd5b5061028c61043d3660046124c9565b610fe2565b34801561044e57600080fd5b5061033f61045d36600461259c565b61104c565b34801561046e57600080fd5b5061033f61047d36600461246a565b611067565b34801561048e57600080fd5b506102d961049d36600461246a565b611096565b3480156104ae57600080fd5b5061033f6104bd366004612664565b6110f3565b3480156104ce57600080fd5b50600d5461028c90610100900460ff1681565b3480156104ed57600080fd5b506103076104fc36600461246a565b611134565b34801561050d57600080fd5b506102b66111c0565b34801561052257600080fd5b506102d96105313660046124c9565b61124e565b34801561054257600080fd5b5061033f611320565b34801561055757600080fd5b5061033f61056636600461246a565b611356565b34801561057757600080fd5b5061058b6105863660046124c9565b611385565b60405161029891906126ad565b61033f61144f565b3480156105ac57600080fd5b506005546001600160a01b0316610307565b3480156105ca57600080fd5b506102b6611587565b3480156105df57600080fd5b50600b546102d9565b61033f6105f636600461246a565b611596565b34801561060757600080fd5b5061033f6106163660046126f1565b611750565b34801561062757600080fd5b5061033f61063636600461272d565b611815565b34801561064757600080fd5b5061030761065636600461246a565b61184d565b34801561066757600080fd5b506102d9600c5481565b34801561067d57600080fd5b506102b6611877565b34801561069257600080fd5b506102b66106a136600461246a565b611884565b3480156106b257600080fd5b5061033f6106c136600461246a565b611952565b3480156106d257600080fd5b5061033f6106e136600461246a565b611981565b3480156106f257600080fd5b506102d960095481565b34801561070857600080fd5b5061033f610717366004612664565b6119b0565b34801561072857600080fd5b5061028c6107373660046127a9565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561077157600080fd5b5061033f6107803660046127dc565b6119ed565b34801561079157600080fd5b5061033f611a8d565b3480156107a657600080fd5b5061033f6107b53660046124c9565b611ad4565b60006001600160e01b0319821663780e9d6360e01b14806107df57506107df82611b6f565b92915050565b6060600080546107f49061281e565b80601f01602080910402602001604051908101604052809291908181526020018280546108209061281e565b801561086d5780601f106108425761010080835404028352916020019161086d565b820191906000526020600020905b81548152906001019060200180831161085057829003601f168201915b5050505050905090565b600061088282611bbf565b6108e85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061090f82611134565b9050806001600160a01b0316836001600160a01b0316141561097d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108df565b336001600160a01b038216148061099957506109998133610737565b610a0b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108df565b610a158383611c09565b505050565b60026006541415610a6d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108df565b6002600655600d54610100900460ff1615610abe5760405162461bcd60e51b815260206004820152601160248201527053616c657320617265207061757365642160781b60448201526064016108df565b600081118015610ad05750600c548111155b610b145760405162461bcd60e51b8152602060048201526015602482015274151bdbc81b585b9e481391951cc81d1bc81b5a5b9d605a1b60448201526064016108df565b6000610b1f60025490565b9050600b54600954610b31919061286f565b610b3b8383612886565b1115610b855760405162461bcd60e51b81526020600482015260196024820152784e6f7420656e6f756768204e46547320617661696c61626c6560381b60448201526064016108df565b610b8e33610fe2565b610bda5760405162461bcd60e51b815260206004820152601760248201527f55736572206973206e6f742077686974656c697374656400000000000000000060448201526064016108df565b33600090815260176020526040902054600c54610bf78483612886565b1115610c455760405162461bcd60e51b815260206004820152601c60248201527f4d6178204e46542070657220616464726573732065786365656465640000000060448201526064016108df565b82600854610c53919061289e565b341015610c5f57600080fd5b82600b6000828254610c71919061286f565b90915550503360009081526017602052604081208054859290610c95908490612886565b90915550600090505b83811015610cdb57610cc933610cb48386612886565b60405180602001604052806000815250611c77565b80610cd3816128bd565b915050610c9e565b505060016006555050565b6005546001600160a01b03163314610d105760405162461bcd60e51b81526004016108df906128d8565b828114610d4e5760405162461bcd60e51b815260206004820152600c60248201526b57726f6e6720496e7075747360a01b60448201526064016108df565b600080610d5a60025490565b905060005b85811015610d9d57868682818110610d7957610d7961290d565b9050602002013583610d8b9190612886565b9250610d96816128bd565b9050610d5f565b50600b54821115610df05760405162461bcd60e51b815260206004820152601760248201527f4578636565647320726573657276656420737570706c7900000000000000000060448201526064016108df565b600954610dfd8383612886565b1115610e445760405162461bcd60e51b8152602060048201526016602482015275151bdbc81b585b9e481391951cc81d081bc81b5a5b9d60521b60448201526064016108df565b81600b6000828254610e56919061286f565b90915550600092508290505b83811015610ef95760005b878783818110610e7f57610e7f61290d565b90506020020135811015610ee857610ed8868684818110610ea257610ea261290d565b9050602002016020810190610eb791906124c9565b84610ec1816128bd565b955060405180602001604052806000815250611c77565b610ee1816128bd565b9050610e6d565b50610ef2816128bd565b9050610e62565b50505050505050565b610f0c3382611caa565b610f285760405162461bcd60e51b81526004016108df90612923565b610a15838383611d94565b6000610f3e8361124e565b8210610f5c5760405162461bcd60e51b81526004016108df90612974565b6000805b600254811015610fc95760028181548110610f7d57610f7d61290d565b6000918252602090912001546001600160a01b0386811691161415610fb95783821415610fad5791506107df9050565b610fb6826128bd565b91505b610fc2816128bd565b9050610f60565b5060405162461bcd60e51b81526004016108df90612974565b6000805b60105481101561104357826001600160a01b03166010828154811061100d5761100d61290d565b6000918252602090912001546001600160a01b031614156110315750600192915050565b8061103b816128bd565b915050610fe6565b50600092915050565b610a1583838360405180602001604052806000815250611815565b6005546001600160a01b031633146110915760405162461bcd60e51b81526004016108df906128d8565b600755565b60006110a160025490565b82106110ef5760405162461bcd60e51b815260206004820152601760248201527f455243373231456e756d3a20676c6f62616c20696f6f6200000000000000000060448201526064016108df565b5090565b6005546001600160a01b0316331461111d5760405162461bcd60e51b81526004016108df906128d8565b805161113090600e90602084019061233c565b5050565b6000806002838154811061114a5761114a61290d565b6000918252602090912001546001600160a01b03169050806107df5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108df565b600e80546111cd9061281e565b80601f01602080910402602001604051908101604052809291908181526020018280546111f99061281e565b80156112465780601f1061121b57610100808354040283529160200191611246565b820191906000526020600020905b81548152906001019060200180831161122957829003601f168201915b505050505081565b60006001600160a01b0382166112b95760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108df565b600254600090815b8181101561131757600281815481106112dc576112dc61290d565b6000918252602090912001546001600160a01b038681169116141561130757611304836128bd565b92505b611310816128bd565b90506112c1565b50909392505050565b6005546001600160a01b0316331461134a5760405162461bcd60e51b81526004016108df906128d8565b6113546000611eea565b565b6005546001600160a01b031633146113805760405162461bcd60e51b81526004016108df906128d8565b600a55565b60606113908261124e565b6000106113af5760405162461bcd60e51b81526004016108df90612974565b60006113ba8361124e565b905060008167ffffffffffffffff8111156113d7576113d76125d8565b604051908082528060200260200182016040528015611400578160200160208202803683370190505b50905060005b82811015611447576114188582610f33565b82828151811061142a5761142a61290d565b60209081029190910101528061143f816128bd565b915050611406565b509392505050565b6005546001600160a01b031633146114795760405162461bcd60e51b81526004016108df906128d8565b600d5460ff16156114bb5760405162461bcd60e51b815260206004820152600c60248201526b6e6f2072656e7472616e637960a01b60448201526064016108df565b600d805460ff1916600117905560006114d56064476129ba565b6011549091506114f8906001600160a01b03166114f383601061289e565b611f3c565b601254611513906001600160a01b03166114f383601061289e565b60135461152e906001600160a01b03166114f383601061289e565b601454611549906001600160a01b03166114f383601061289e565b601554611564906001600160a01b03166114f383601061289e565b60165461157a906001600160a01b031647611f3c565b50600d805460ff19169055565b6060600180546107f49061281e565b600260065414156115e95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108df565b6002600655600d54610100900460ff161561163a5760405162461bcd60e51b815260206004820152601160248201527053616c657320617265207061757365642160781b60448201526064016108df565b60008111801561164c5750600a548111155b6116905760405162461bcd60e51b8152602060048201526015602482015274151bdbc81b585b9e481391951cc81d1bc81b5a5b9d605a1b60448201526064016108df565b600061169b60025490565b9050600b546009546116ad919061286f565b6116b78383612886565b11156117015760405162461bcd60e51b81526020600482015260196024820152784e6f7420656e6f756768204e46547320617661696c61626c6560381b60448201526064016108df565b8160075461170f919061289e565b34101561171b57600080fd5b60005b828110156117465761173433610cb48385612886565b8061173e816128bd565b91505061171e565b5050600160065550565b6001600160a01b0382163314156117a95760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108df565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61181f3383611caa565b61183b5760405162461bcd60e51b81526004016108df90612923565b61184784848484611fd6565b50505050565b6010818154811061185d57600080fd5b6000918252602090912001546001600160a01b0316905081565b600f80546111cd9061281e565b606061188f82611bbf565b6118f35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108df565b60006118fd612009565b9050600081511161191d576040518060200160405280600081525061194b565b8061192784612018565b600f60405160200161193b939291906129ce565b6040516020818303038152906040525b9392505050565b6005546001600160a01b0316331461197c5760405162461bcd60e51b81526004016108df906128d8565b600855565b6005546001600160a01b031633146119ab5760405162461bcd60e51b81526004016108df906128d8565b600c55565b6005546001600160a01b031633146119da5760405162461bcd60e51b81526004016108df906128d8565b805161113090600f90602084019061233c565b6005546001600160a01b03163314611a175760405162461bcd60e51b81526004016108df906128d8565b60005b81811015610a15576010838383818110611a3657611a3661290d565b9050602002016020810190611a4b91906124c9565b81546001810183556000928352602090922090910180546001600160a01b0319166001600160a01b03909216919091179055611a86816128bd565b9050611a1a565b6005546001600160a01b03163314611ab75760405162461bcd60e51b81526004016108df906128d8565b600d805461ff001981166101009182900460ff1615909102179055565b6005546001600160a01b03163314611afe5760405162461bcd60e51b81526004016108df906128d8565b6001600160a01b038116611b635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108df565b611b6c81611eea565b50565b60006001600160e01b031982166380ac58cd60e01b1480611ba057506001600160e01b03198216635b5e139f60e01b145b806107df57506301ffc9a760e01b6001600160e01b03198316146107df565b600254600090821080156107df575060006001600160a01b031660028381548110611bec57611bec61290d565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c3e82611134565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611c818383612116565b611c8e600084848461223e565b610a155760405162461bcd60e51b81526004016108df90612a92565b6000611cb582611bbf565b611d165760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108df565b6000611d2183611134565b9050806001600160a01b0316846001600160a01b03161480611d5c5750836001600160a01b0316611d5184610877565b6001600160a01b0316145b80611d8c57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611da782611134565b6001600160a01b031614611e0f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108df565b6001600160a01b038216611e715760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108df565b611e7c600082611c09565b8160028281548110611e9057611e9061290d565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611f89576040519150601f19603f3d011682016040523d82523d6000602084013e611f8e565b606091505b5050905080610a155760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016108df565b611fe1848484611d94565b611fed8484848461223e565b6118475760405162461bcd60e51b81526004016108df90612a92565b6060600e80546107f49061281e565b60608161203c5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120665780612050816128bd565b915061205f9050600a836129ba565b9150612040565b60008167ffffffffffffffff811115612081576120816125d8565b6040519080825280601f01601f1916602001820160405280156120ab576020820181803683370190505b5090505b8415611d8c576120c060018361286f565b91506120cd600a86612ae4565b6120d8906030612886565b60f81b8183815181106120ed576120ed61290d565b60200101906001600160f81b031916908160001a90535061210f600a866129ba565b94506120af565b6001600160a01b03821661216c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108df565b61217581611bbf565b156121c25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108df565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b1561233157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612282903390899088908890600401612af8565b6020604051808303816000875af19250505080156122bd575060408051601f3d908101601f191682019092526122ba91810190612b35565b60015b612317573d8080156122eb576040519150601f19603f3d011682016040523d82523d6000602084013e6122f0565b606091505b50805161230f5760405162461bcd60e51b81526004016108df90612a92565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d8c565b506001949350505050565b8280546123489061281e565b90600052602060002090601f01602090048101928261236a57600085556123b0565b82601f1061238357805160ff19168380011785556123b0565b828001600101855582156123b0579182015b828111156123b0578251825591602001919060010190612395565b506110ef9291505b808211156110ef57600081556001016123b8565b6001600160e01b031981168114611b6c57600080fd5b6000602082840312156123f457600080fd5b813561194b816123cc565b60005b8381101561241a578181015183820152602001612402565b838111156118475750506000910152565b600081518084526124438160208601602086016123ff565b601f01601f19169290920160200192915050565b60208152600061194b602083018461242b565b60006020828403121561247c57600080fd5b5035919050565b80356001600160a01b038116811461249a57600080fd5b919050565b600080604083850312156124b257600080fd5b6124bb83612483565b946020939093013593505050565b6000602082840312156124db57600080fd5b61194b82612483565b60008083601f8401126124f657600080fd5b50813567ffffffffffffffff81111561250e57600080fd5b6020830191508360208260051b850101111561252957600080fd5b9250929050565b6000806000806040858703121561254657600080fd5b843567ffffffffffffffff8082111561255e57600080fd5b61256a888389016124e4565b9096509450602087013591508082111561258357600080fd5b50612590878288016124e4565b95989497509550505050565b6000806000606084860312156125b157600080fd5b6125ba84612483565b92506125c860208501612483565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612609576126096125d8565b604051601f8501601f19908116603f01168101908282118183101715612631576126316125d8565b8160405280935085815286868601111561264a57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561267657600080fd5b813567ffffffffffffffff81111561268d57600080fd5b8201601f8101841361269e57600080fd5b611d8c848235602084016125ee565b6020808252825182820181905260009190848201906040850190845b818110156126e5578351835292840192918401916001016126c9565b50909695505050505050565b6000806040838503121561270457600080fd5b61270d83612483565b91506020830135801515811461272257600080fd5b809150509250929050565b6000806000806080858703121561274357600080fd5b61274c85612483565b935061275a60208601612483565b925060408501359150606085013567ffffffffffffffff81111561277d57600080fd5b8501601f8101871361278e57600080fd5b61279d878235602084016125ee565b91505092959194509250565b600080604083850312156127bc57600080fd5b6127c583612483565b91506127d360208401612483565b90509250929050565b600080602083850312156127ef57600080fd5b823567ffffffffffffffff81111561280657600080fd5b612812858286016124e4565b90969095509350505050565b600181811c9082168061283257607f821691505b6020821081141561285357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561288157612881612859565b500390565b6000821982111561289957612899612859565b500190565b60008160001904831182151516156128b8576128b8612859565b500290565b60006000198214156128d1576128d1612859565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526016908201527522a9219b9918a2b73ab69d1037bbb732b91034b7b7b160511b604082015260600190565b634e487b7160e01b600052601260045260246000fd5b6000826129c9576129c96129a4565b500490565b6000845160206129e18285838a016123ff565b8551918401916129f48184848a016123ff565b8554920191600090600181811c9080831680612a1157607f831692505b858310811415612a2f57634e487b7160e01b85526022600452602485fd5b808015612a435760018114612a5457612a81565b60ff19851688528388019550612a81565b60008b81526020902060005b85811015612a795781548a820152908401908801612a60565b505083880195505b50939b9a5050505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612af357612af36129a4565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612b2b9083018461242b565b9695505050505050565b600060208284031215612b4757600080fd5b815161194b816123cc56fea26469706673582212207515658136f0eb8018e35cc837ce58db05ffdd7d8e892cc2ef345b1750a0c85c64736f6c634300080a003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d544a39774e6a384b374b487841593255444e6d564e7046614e4b51326e73674b4e544e46314452634245434a2f00000000000000000000
Deployed Bytecode
0x6080604052600436106102675760003560e01c8063715018a611610144578063ba7d2c76116100b6578063d5abeb011161007a578063d5abeb01146106e6578063da3ef23f146106fc578063e985e9c51461071c578063edec5f2714610765578063f2892bc414610785578063f2fde38b1461079a57600080fd5b8063ba7d2c761461065b578063c668286214610671578063c87b56dd14610686578063caba17af146106a6578063d0eb26b0146106c657600080fd5b806395d89b411161010857806395d89b41146105be5780639deaf5e0146105d3578063a0712d68146105e8578063a22cb465146105fb578063b88d4fde1461061b578063ba4e5c491461063b57600080fd5b8063715018a6146105365780637f00c7a61461054b5780638462151c1461056b578063853828b6146105985780638da5cb5b146105a057600080fd5b806323b872dd116101dd5780634f6ccce7116101a15780634f6ccce71461048257806355f804b3146104a25780635c975abb146104c25780636352211e146104e15780636c0360eb1461050157806370a082311461051657600080fd5b806323b872dd146103e25780632f745c59146104025780633af32abf1461042257806342842e0e1461044257806344a0d68a1461046257600080fd5b80630d59ccad1161022f5780630d59ccad1461034157806313faede61461035457806318160ddd1461036a57806318cae2691461037f5780631f9887d9146103ac578063239c70ae146103cc57600080fd5b806301ffc9a71461026c57806306fdde03146102a157806307b02c8b146102c3578063081812fc146102e7578063095ea7b31461031f575b600080fd5b34801561027857600080fd5b5061028c6102873660046123e2565b6107ba565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b66107e5565b6040516102989190612457565b3480156102cf57600080fd5b506102d960085481565b604051908152602001610298565b3480156102f357600080fd5b5061030761030236600461246a565b610877565b6040516001600160a01b039091168152602001610298565b34801561032b57600080fd5b5061033f61033a36600461249f565b610904565b005b61033f61034f36600461246a565b610a1a565b34801561036057600080fd5b506102d960075481565b34801561037657600080fd5b506002546102d9565b34801561038b57600080fd5b506102d961039a3660046124c9565b60176020526000908152604090205481565b3480156103b857600080fd5b5061033f6103c7366004612530565b610ce6565b3480156103d857600080fd5b506102d9600a5481565b3480156103ee57600080fd5b5061033f6103fd36600461259c565b610f02565b34801561040e57600080fd5b506102d961041d36600461249f565b610f33565b34801561042e57600080fd5b5061028c61043d3660046124c9565b610fe2565b34801561044e57600080fd5b5061033f61045d36600461259c565b61104c565b34801561046e57600080fd5b5061033f61047d36600461246a565b611067565b34801561048e57600080fd5b506102d961049d36600461246a565b611096565b3480156104ae57600080fd5b5061033f6104bd366004612664565b6110f3565b3480156104ce57600080fd5b50600d5461028c90610100900460ff1681565b3480156104ed57600080fd5b506103076104fc36600461246a565b611134565b34801561050d57600080fd5b506102b66111c0565b34801561052257600080fd5b506102d96105313660046124c9565b61124e565b34801561054257600080fd5b5061033f611320565b34801561055757600080fd5b5061033f61056636600461246a565b611356565b34801561057757600080fd5b5061058b6105863660046124c9565b611385565b60405161029891906126ad565b61033f61144f565b3480156105ac57600080fd5b506005546001600160a01b0316610307565b3480156105ca57600080fd5b506102b6611587565b3480156105df57600080fd5b50600b546102d9565b61033f6105f636600461246a565b611596565b34801561060757600080fd5b5061033f6106163660046126f1565b611750565b34801561062757600080fd5b5061033f61063636600461272d565b611815565b34801561064757600080fd5b5061030761065636600461246a565b61184d565b34801561066757600080fd5b506102d9600c5481565b34801561067d57600080fd5b506102b6611877565b34801561069257600080fd5b506102b66106a136600461246a565b611884565b3480156106b257600080fd5b5061033f6106c136600461246a565b611952565b3480156106d257600080fd5b5061033f6106e136600461246a565b611981565b3480156106f257600080fd5b506102d960095481565b34801561070857600080fd5b5061033f610717366004612664565b6119b0565b34801561072857600080fd5b5061028c6107373660046127a9565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561077157600080fd5b5061033f6107803660046127dc565b6119ed565b34801561079157600080fd5b5061033f611a8d565b3480156107a657600080fd5b5061033f6107b53660046124c9565b611ad4565b60006001600160e01b0319821663780e9d6360e01b14806107df57506107df82611b6f565b92915050565b6060600080546107f49061281e565b80601f01602080910402602001604051908101604052809291908181526020018280546108209061281e565b801561086d5780601f106108425761010080835404028352916020019161086d565b820191906000526020600020905b81548152906001019060200180831161085057829003601f168201915b5050505050905090565b600061088282611bbf565b6108e85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061090f82611134565b9050806001600160a01b0316836001600160a01b0316141561097d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108df565b336001600160a01b038216148061099957506109998133610737565b610a0b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108df565b610a158383611c09565b505050565b60026006541415610a6d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108df565b6002600655600d54610100900460ff1615610abe5760405162461bcd60e51b815260206004820152601160248201527053616c657320617265207061757365642160781b60448201526064016108df565b600081118015610ad05750600c548111155b610b145760405162461bcd60e51b8152602060048201526015602482015274151bdbc81b585b9e481391951cc81d1bc81b5a5b9d605a1b60448201526064016108df565b6000610b1f60025490565b9050600b54600954610b31919061286f565b610b3b8383612886565b1115610b855760405162461bcd60e51b81526020600482015260196024820152784e6f7420656e6f756768204e46547320617661696c61626c6560381b60448201526064016108df565b610b8e33610fe2565b610bda5760405162461bcd60e51b815260206004820152601760248201527f55736572206973206e6f742077686974656c697374656400000000000000000060448201526064016108df565b33600090815260176020526040902054600c54610bf78483612886565b1115610c455760405162461bcd60e51b815260206004820152601c60248201527f4d6178204e46542070657220616464726573732065786365656465640000000060448201526064016108df565b82600854610c53919061289e565b341015610c5f57600080fd5b82600b6000828254610c71919061286f565b90915550503360009081526017602052604081208054859290610c95908490612886565b90915550600090505b83811015610cdb57610cc933610cb48386612886565b60405180602001604052806000815250611c77565b80610cd3816128bd565b915050610c9e565b505060016006555050565b6005546001600160a01b03163314610d105760405162461bcd60e51b81526004016108df906128d8565b828114610d4e5760405162461bcd60e51b815260206004820152600c60248201526b57726f6e6720496e7075747360a01b60448201526064016108df565b600080610d5a60025490565b905060005b85811015610d9d57868682818110610d7957610d7961290d565b9050602002013583610d8b9190612886565b9250610d96816128bd565b9050610d5f565b50600b54821115610df05760405162461bcd60e51b815260206004820152601760248201527f4578636565647320726573657276656420737570706c7900000000000000000060448201526064016108df565b600954610dfd8383612886565b1115610e445760405162461bcd60e51b8152602060048201526016602482015275151bdbc81b585b9e481391951cc81d081bc81b5a5b9d60521b60448201526064016108df565b81600b6000828254610e56919061286f565b90915550600092508290505b83811015610ef95760005b878783818110610e7f57610e7f61290d565b90506020020135811015610ee857610ed8868684818110610ea257610ea261290d565b9050602002016020810190610eb791906124c9565b84610ec1816128bd565b955060405180602001604052806000815250611c77565b610ee1816128bd565b9050610e6d565b50610ef2816128bd565b9050610e62565b50505050505050565b610f0c3382611caa565b610f285760405162461bcd60e51b81526004016108df90612923565b610a15838383611d94565b6000610f3e8361124e565b8210610f5c5760405162461bcd60e51b81526004016108df90612974565b6000805b600254811015610fc95760028181548110610f7d57610f7d61290d565b6000918252602090912001546001600160a01b0386811691161415610fb95783821415610fad5791506107df9050565b610fb6826128bd565b91505b610fc2816128bd565b9050610f60565b5060405162461bcd60e51b81526004016108df90612974565b6000805b60105481101561104357826001600160a01b03166010828154811061100d5761100d61290d565b6000918252602090912001546001600160a01b031614156110315750600192915050565b8061103b816128bd565b915050610fe6565b50600092915050565b610a1583838360405180602001604052806000815250611815565b6005546001600160a01b031633146110915760405162461bcd60e51b81526004016108df906128d8565b600755565b60006110a160025490565b82106110ef5760405162461bcd60e51b815260206004820152601760248201527f455243373231456e756d3a20676c6f62616c20696f6f6200000000000000000060448201526064016108df565b5090565b6005546001600160a01b0316331461111d5760405162461bcd60e51b81526004016108df906128d8565b805161113090600e90602084019061233c565b5050565b6000806002838154811061114a5761114a61290d565b6000918252602090912001546001600160a01b03169050806107df5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108df565b600e80546111cd9061281e565b80601f01602080910402602001604051908101604052809291908181526020018280546111f99061281e565b80156112465780601f1061121b57610100808354040283529160200191611246565b820191906000526020600020905b81548152906001019060200180831161122957829003601f168201915b505050505081565b60006001600160a01b0382166112b95760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108df565b600254600090815b8181101561131757600281815481106112dc576112dc61290d565b6000918252602090912001546001600160a01b038681169116141561130757611304836128bd565b92505b611310816128bd565b90506112c1565b50909392505050565b6005546001600160a01b0316331461134a5760405162461bcd60e51b81526004016108df906128d8565b6113546000611eea565b565b6005546001600160a01b031633146113805760405162461bcd60e51b81526004016108df906128d8565b600a55565b60606113908261124e565b6000106113af5760405162461bcd60e51b81526004016108df90612974565b60006113ba8361124e565b905060008167ffffffffffffffff8111156113d7576113d76125d8565b604051908082528060200260200182016040528015611400578160200160208202803683370190505b50905060005b82811015611447576114188582610f33565b82828151811061142a5761142a61290d565b60209081029190910101528061143f816128bd565b915050611406565b509392505050565b6005546001600160a01b031633146114795760405162461bcd60e51b81526004016108df906128d8565b600d5460ff16156114bb5760405162461bcd60e51b815260206004820152600c60248201526b6e6f2072656e7472616e637960a01b60448201526064016108df565b600d805460ff1916600117905560006114d56064476129ba565b6011549091506114f8906001600160a01b03166114f383601061289e565b611f3c565b601254611513906001600160a01b03166114f383601061289e565b60135461152e906001600160a01b03166114f383601061289e565b601454611549906001600160a01b03166114f383601061289e565b601554611564906001600160a01b03166114f383601061289e565b60165461157a906001600160a01b031647611f3c565b50600d805460ff19169055565b6060600180546107f49061281e565b600260065414156115e95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108df565b6002600655600d54610100900460ff161561163a5760405162461bcd60e51b815260206004820152601160248201527053616c657320617265207061757365642160781b60448201526064016108df565b60008111801561164c5750600a548111155b6116905760405162461bcd60e51b8152602060048201526015602482015274151bdbc81b585b9e481391951cc81d1bc81b5a5b9d605a1b60448201526064016108df565b600061169b60025490565b9050600b546009546116ad919061286f565b6116b78383612886565b11156117015760405162461bcd60e51b81526020600482015260196024820152784e6f7420656e6f756768204e46547320617661696c61626c6560381b60448201526064016108df565b8160075461170f919061289e565b34101561171b57600080fd5b60005b828110156117465761173433610cb48385612886565b8061173e816128bd565b91505061171e565b5050600160065550565b6001600160a01b0382163314156117a95760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108df565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61181f3383611caa565b61183b5760405162461bcd60e51b81526004016108df90612923565b61184784848484611fd6565b50505050565b6010818154811061185d57600080fd5b6000918252602090912001546001600160a01b0316905081565b600f80546111cd9061281e565b606061188f82611bbf565b6118f35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108df565b60006118fd612009565b9050600081511161191d576040518060200160405280600081525061194b565b8061192784612018565b600f60405160200161193b939291906129ce565b6040516020818303038152906040525b9392505050565b6005546001600160a01b0316331461197c5760405162461bcd60e51b81526004016108df906128d8565b600855565b6005546001600160a01b031633146119ab5760405162461bcd60e51b81526004016108df906128d8565b600c55565b6005546001600160a01b031633146119da5760405162461bcd60e51b81526004016108df906128d8565b805161113090600f90602084019061233c565b6005546001600160a01b03163314611a175760405162461bcd60e51b81526004016108df906128d8565b60005b81811015610a15576010838383818110611a3657611a3661290d565b9050602002016020810190611a4b91906124c9565b81546001810183556000928352602090922090910180546001600160a01b0319166001600160a01b03909216919091179055611a86816128bd565b9050611a1a565b6005546001600160a01b03163314611ab75760405162461bcd60e51b81526004016108df906128d8565b600d805461ff001981166101009182900460ff1615909102179055565b6005546001600160a01b03163314611afe5760405162461bcd60e51b81526004016108df906128d8565b6001600160a01b038116611b635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108df565b611b6c81611eea565b50565b60006001600160e01b031982166380ac58cd60e01b1480611ba057506001600160e01b03198216635b5e139f60e01b145b806107df57506301ffc9a760e01b6001600160e01b03198316146107df565b600254600090821080156107df575060006001600160a01b031660028381548110611bec57611bec61290d565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c3e82611134565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611c818383612116565b611c8e600084848461223e565b610a155760405162461bcd60e51b81526004016108df90612a92565b6000611cb582611bbf565b611d165760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108df565b6000611d2183611134565b9050806001600160a01b0316846001600160a01b03161480611d5c5750836001600160a01b0316611d5184610877565b6001600160a01b0316145b80611d8c57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611da782611134565b6001600160a01b031614611e0f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108df565b6001600160a01b038216611e715760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108df565b611e7c600082611c09565b8160028281548110611e9057611e9061290d565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611f89576040519150601f19603f3d011682016040523d82523d6000602084013e611f8e565b606091505b5050905080610a155760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016108df565b611fe1848484611d94565b611fed8484848461223e565b6118475760405162461bcd60e51b81526004016108df90612a92565b6060600e80546107f49061281e565b60608161203c5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120665780612050816128bd565b915061205f9050600a836129ba565b9150612040565b60008167ffffffffffffffff811115612081576120816125d8565b6040519080825280601f01601f1916602001820160405280156120ab576020820181803683370190505b5090505b8415611d8c576120c060018361286f565b91506120cd600a86612ae4565b6120d8906030612886565b60f81b8183815181106120ed576120ed61290d565b60200101906001600160f81b031916908160001a90535061210f600a866129ba565b94506120af565b6001600160a01b03821661216c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108df565b61217581611bbf565b156121c25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108df565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b1561233157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612282903390899088908890600401612af8565b6020604051808303816000875af19250505080156122bd575060408051601f3d908101601f191682019092526122ba91810190612b35565b60015b612317573d8080156122eb576040519150601f19603f3d011682016040523d82523d6000602084013e6122f0565b606091505b50805161230f5760405162461bcd60e51b81526004016108df90612a92565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d8c565b506001949350505050565b8280546123489061281e565b90600052602060002090601f01602090048101928261236a57600085556123b0565b82601f1061238357805160ff19168380011785556123b0565b828001600101855582156123b0579182015b828111156123b0578251825591602001919060010190612395565b506110ef9291505b808211156110ef57600081556001016123b8565b6001600160e01b031981168114611b6c57600080fd5b6000602082840312156123f457600080fd5b813561194b816123cc565b60005b8381101561241a578181015183820152602001612402565b838111156118475750506000910152565b600081518084526124438160208601602086016123ff565b601f01601f19169290920160200192915050565b60208152600061194b602083018461242b565b60006020828403121561247c57600080fd5b5035919050565b80356001600160a01b038116811461249a57600080fd5b919050565b600080604083850312156124b257600080fd5b6124bb83612483565b946020939093013593505050565b6000602082840312156124db57600080fd5b61194b82612483565b60008083601f8401126124f657600080fd5b50813567ffffffffffffffff81111561250e57600080fd5b6020830191508360208260051b850101111561252957600080fd5b9250929050565b6000806000806040858703121561254657600080fd5b843567ffffffffffffffff8082111561255e57600080fd5b61256a888389016124e4565b9096509450602087013591508082111561258357600080fd5b50612590878288016124e4565b95989497509550505050565b6000806000606084860312156125b157600080fd5b6125ba84612483565b92506125c860208501612483565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612609576126096125d8565b604051601f8501601f19908116603f01168101908282118183101715612631576126316125d8565b8160405280935085815286868601111561264a57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561267657600080fd5b813567ffffffffffffffff81111561268d57600080fd5b8201601f8101841361269e57600080fd5b611d8c848235602084016125ee565b6020808252825182820181905260009190848201906040850190845b818110156126e5578351835292840192918401916001016126c9565b50909695505050505050565b6000806040838503121561270457600080fd5b61270d83612483565b91506020830135801515811461272257600080fd5b809150509250929050565b6000806000806080858703121561274357600080fd5b61274c85612483565b935061275a60208601612483565b925060408501359150606085013567ffffffffffffffff81111561277d57600080fd5b8501601f8101871361278e57600080fd5b61279d878235602084016125ee565b91505092959194509250565b600080604083850312156127bc57600080fd5b6127c583612483565b91506127d360208401612483565b90509250929050565b600080602083850312156127ef57600080fd5b823567ffffffffffffffff81111561280657600080fd5b612812858286016124e4565b90969095509350505050565b600181811c9082168061283257607f821691505b6020821081141561285357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561288157612881612859565b500390565b6000821982111561289957612899612859565b500190565b60008160001904831182151516156128b8576128b8612859565b500290565b60006000198214156128d1576128d1612859565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526016908201527522a9219b9918a2b73ab69d1037bbb732b91034b7b7b160511b604082015260600190565b634e487b7160e01b600052601260045260246000fd5b6000826129c9576129c96129a4565b500490565b6000845160206129e18285838a016123ff565b8551918401916129f48184848a016123ff565b8554920191600090600181811c9080831680612a1157607f831692505b858310811415612a2f57634e487b7160e01b85526022600452602485fd5b808015612a435760018114612a5457612a81565b60ff19851688528388019550612a81565b60008b81526020902060005b85811015612a795781548a820152908401908801612a60565b505083880195505b50939b9a5050505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612af357612af36129a4565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612b2b9083018461242b565b9695505050505050565b600060208284031215612b4757600080fd5b815161194b816123cc56fea26469706673582212207515658136f0eb8018e35cc837ce58db05ffdd7d8e892cc2ef345b1750a0c85c64736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d544a39774e6a384b374b487841593255444e6d564e7046614e4b51326e73674b4e544e46314452634245434a2f00000000000000000000
-----Decoded View---------------
Arg [0] : _initBaseURI (string): ipfs://QmTJ9wNj8K7KHxAY2UDNmVNpFaNKQ2nsgKNTNF1DRcBECJ/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d544a39774e6a384b374b487841593255444e6d564e7046
Arg [3] : 614e4b51326e73674b4e544e46314452634245434a2f00000000000000000000
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.