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