Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
6,969 DILDAO
Holders
1,558
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DILDAOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DILDAO
Compiler Version
v0.8.6+commit.11564f7e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "ERC721.sol"; import "IERC20.sol"; import "Ownable.sol"; import "SafeMath.sol"; import "ECDSA.sol"; import "Counters.sol"; import "Strings.sol"; import "ReentrancyGuard.sol"; contract DILDAO is ERC721, Ownable, ReentrancyGuard { using SafeMath for uint256; using ECDSA for bytes32; using Counters for Counters.Counter; using Strings for uint256; /** * @dev A giant bag of dicks 8====D~~~ * */ // mint variables uint256 public totalSupply = 6969; uint256 public PRICE = 0.00 ether; uint256 public constant RESERVED = 70; uint256 public constant TEAM = 30; uint256 public amountMintable = 1; uint256 public mainsaleStart; uint256 public presaleStart; mapping(address => uint256) public amountMinted; IERC20 public suck; bool public reservesMinted = false; Counters.Counter public tokenSupply; // metadata variables string public tokenBaseURI; string public unrevealedURI; // benefactor variables address payable immutable public payee; address immutable public reservee = 0x3f4cF2b72CbA8a1696CdfbF29329bA36d0B93268; // merkle variables bytes32 public root; /** * @dev Contract Methods */ constructor( address _reservee, uint256 _mainsaleStart, uint256 _presaleStart ) ERC721("Suckiverse DilDAO", "DILDAO") { payee = payable(msg.sender); mainsaleStart = _mainsaleStart; presaleStart = _presaleStart; } /************ * Metadata * ************/ function setTokenBaseURI(string memory _baseURI) external onlyOwner { tokenBaseURI = _baseURI; } function setUnrevealedURI(string memory _unrevealedUri) external onlyOwner { unrevealedURI = _unrevealedUri; } function tokenURI(uint256 _tokenId) override public view returns (string memory) { bool revealed = bytes(tokenBaseURI).length > 0; if (!revealed) { return unrevealedURI; } require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(tokenBaseURI, _tokenId.toString())); } /*************** * Mint Setters * ***************/ function setPrice(uint256 _price) external onlyOwner { PRICE = _price; } function setAmountMintable(uint256 _amount) external onlyOwner { amountMintable = _amount; } function setMainsaleStart(uint256 _start) external onlyOwner { mainsaleStart = _start; } function setPresaleStart(uint256 _start) external onlyOwner { presaleStart = _start; } function suckiverse(address _suck) external onlyOwner { suck = IERC20(_suck); } /******* * Mint * *******/ function _mintActive() internal view returns (bool) { if (block.timestamp > mainsaleStart) { return true; } else { return false; } } function _presaleActive() internal view returns (bool) { if (block.timestamp > presaleStart) { return true; } else { return false; } } function tier(address user) internal view returns (uint256) { if (suck.totalSupply() / suck.balanceOf(msg.sender) <= 20) { return 420; } else if (suck.totalSupply() / suck.balanceOf(msg.sender) <= 50 ) { return 150; } else if (suck.totalSupply() / suck.balanceOf(msg.sender) <= 100) { return 69; } else if (suck.totalSupply() / suck.balanceOf(msg.sender) <= 200) { return 25; } else if (suck.totalSupply() / suck.balanceOf(msg.sender) <= 400) { return 12; } else if (suck.totalSupply() / suck.balanceOf(msg.sender) <= 1000) { return 5; } else { return 0; } } function mint(uint256 _quantity) external { require(presaleStart > 0 && mainsaleStart > 0, "Sale start times have not been set"); if (_mintActive() == true) { require(amountMinted[msg.sender] + _quantity <= amountMintable, "Quantity is more than mintable amount per account"); amountMinted[msg.sender] = _quantity + amountMinted[msg.sender]; } else if (_presaleActive() == true) { require(suck.balanceOf(msg.sender) > 0, "need at least 1 suck token"); require(amountMinted[msg.sender] + _quantity <= tier(msg.sender), "Quantity is higher than tier amount for this account"); amountMinted[msg.sender] = _quantity + amountMinted[msg.sender]; } else { revert("sale hasn't started"); } _safeMint(_quantity); } function _safeMint(uint256 _quantity) internal { require(_quantity > 0, "You must mint at least 1"); require(tokenSupply.current().add(_quantity) <= totalSupply, "This purchase would exceed totalSupply"); for (uint256 i = 0; i < _quantity; i++) { uint256 mintIndex = tokenSupply.current(); if (mintIndex < totalSupply) { tokenSupply.increment(); ERC721._safeMint(msg.sender, mintIndex); } } } function mintReserved() external onlyOwner { require(!reservesMinted, "Reserves have already been minted."); require(tokenSupply.current().add(RESERVED) <= totalSupply, "This mint would exceed totalSupply"); reservesMinted = true; for (uint256 i = 0; i < RESERVED; i++) { uint256 mintIndex = tokenSupply.current(); if (mintIndex < totalSupply) { tokenSupply.increment(); if (mintIndex > RESERVED - TEAM){ ERC721._safeMint(msg.sender, mintIndex); } else { ERC721._safeMint(reservee, mintIndex); } } } } /************** * Withdrawal * **************/ function withdraw() public { uint256 balance = address(this).balance; payable(payee).transfer(balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "IERC721.sol"; import "IERC721Receiver.sol"; import "IERC721Metadata.sol"; import "Address.sol"; import "Context.sol"; import "Strings.sol"; import "ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ 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; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.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); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ 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); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ 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"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ 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" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ 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); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.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); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "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 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; /** * @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 "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; /** * @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); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private 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; /* * @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 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; 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 Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "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); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return recover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return recover(hash, r, vs); } else { revert("ECDSA: invalid signature length"); } } /** * @dev Overload of {ECDSA-recover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return recover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. require( uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value" ); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// 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; } }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "dildao.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_reservee","type":"address"},{"internalType":"uint256","name":"_mainsaleStart","type":"uint256"},{"internalType":"uint256","name":"_presaleStart","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountMintable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountMinted","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainsaleStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","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":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payee","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservesMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setAmountMintable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_start","type":"uint256"}],"name":"setMainsaleStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_start","type":"uint256"}],"name":"setPresaleStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_unrevealedUri","type":"string"}],"name":"setUnrevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"suck","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_suck","type":"address"}],"name":"suckiverse","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":[],"name":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenSupply","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unrevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052611b3960085560006009556001600a55600e805460ff60a01b191690557f3f4cf2b72cba8a1696cdfbf29329ba36d0b9326800000000000000000000000060a0523480156200005257600080fd5b5060405162002c5b38038062002c5b833981016040819052620000759162000217565b60408051808201825260118152705375636b6976657273652044696c44414f60781b60208083019182528351808501909452600684526544494c44414f60d01b908401528151919291620000cc9160009162000171565b508051620000e290600190602084019062000171565b505050620000ff620000f96200011b60201b60201c565b6200011f565b60016007553360601b608052600b91909155600c555062000299565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200017f906200025c565b90600052602060002090601f016020900481019282620001a35760008555620001ee565b82601f10620001be57805160ff1916838001178555620001ee565b82800160010185558215620001ee579182015b82811115620001ee578251825591602001919060010190620001d1565b50620001fc92915062000200565b5090565b5b80821115620001fc576000815560010162000201565b6000806000606084860312156200022d57600080fd5b83516001600160a01b03811681146200024557600080fd5b602085015160409095015190969495509392505050565b600181811c908216806200027157607f821691505b602082108114156200029357634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c60a05160601c612988620002d3600039600081816102fc015261128a01526000818161047101526108a001526129886000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c80638ef79e9111610146578063c87b56dd116100c3578063e985e9c511610087578063e985e9c514610504578063ebf0c71714610540578063ec8c890414610549578063ed86a5b814610551578063f2fde38b1461055a578063fe2c7fee1461056d57600080fd5b8063c87b56dd146104b9578063cc41d795146104cc578063cecdc6aa146104e0578063d956b237146104e8578063de8801e5146104fb57600080fd5b8063a49feed61161010a578063a49feed61461045b578063aa592f2514610464578063ae90b2131461046c578063b88d4fde14610493578063c52bd853146104a657600080fd5b80638ef79e911461040757806391b7f5ed1461041a57806395d89b411461042d578063a0712d6814610435578063a22cb4651461044857600080fd5b8063438a67e7116101df57806370a08231116101a357806370a08231146103b5578063715018a6146103c857806378152bbe146103d05780637824407f146103e35780638d859f3e146103ed5780638da5cb5b146103f657600080fd5b8063438a67e71461035f5780634e99b8001461037f57806351f8c7f6146103875780636352211e1461039a5780637035bf18146103ad57600080fd5b8063210f1ffd11610226578063210f1ffd146102f757806323b872dd1461031e57806333bebf26146103315780633ccfd60b1461034457806342842e0e1461034c57600080fd5b806301ffc9a71461026357806306fdde031461028b578063081812fc146102a0578063095ea7b3146102cb57806318160ddd146102e0575b600080fd5b61027661027136600461253f565b610580565b60405190151581526020015b60405180910390f35b6102936105d2565b6040516102829190612720565b6102b36102ae3660046125c2565b610664565b6040516001600160a01b039091168152602001610282565b6102de6102d9366004612515565b6106fe565b005b6102e960085481565b604051908152602001610282565b6102b37f000000000000000000000000000000000000000000000000000000000000000081565b6102de61032c366004612421565b610814565b6102de61033f3660046123d3565b610845565b6102de610891565b6102de61035a366004612421565b6108ed565b6102e961036d3660046123d3565b600d6020526000908152604090205481565b610293610908565b600e546102b3906001600160a01b031681565b6102b36103a83660046125c2565b610996565b610293610a0d565b6102e96103c33660046123d3565b610a1a565b6102de610aa1565b6102de6103de3660046125c2565b610ad7565b600f546102e99081565b6102e960095481565b6006546001600160a01b03166102b3565b6102de610415366004612579565b610b06565b6102de6104283660046125c2565b610b43565b610293610b72565b6102de6104433660046125c2565b610b81565b6102de6104563660046124d9565b610e67565b6102e9600a5481565b6102e9604681565b6102b37f000000000000000000000000000000000000000000000000000000000000000081565b6102de6104a136600461245d565b610f2c565b6102de6104b43660046125c2565b610f64565b6102936104c73660046125c2565b610f93565b600e5461027690600160a01b900460ff1681565b6102e9601e81565b6102de6104f63660046125c2565b6110f1565b6102e9600c5481565b6102766105123660046123ee565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102e960125481565b6102de611120565b6102e9600b5481565b6102de6105683660046123d3565b6112c2565b6102de61057b366004612579565b61135a565b60006001600160e01b031982166380ac58cd60e01b14806105b157506001600160e01b03198216635b5e139f60e01b145b806105cc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546105e19061287a565b80601f016020809104026020016040519081016040528092919081815260200182805461060d9061287a565b801561065a5780601f1061062f5761010080835404028352916020019161065a565b820191906000526020600020905b81548152906001019060200180831161063d57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106e25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061070982610996565b9050806001600160a01b0316836001600160a01b031614156107775760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106d9565b336001600160a01b038216148061079357506107938133610512565b6108055760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106d9565b61080f8383611397565b505050565b61081e3382611405565b61083a5760405162461bcd60e51b81526004016106d9906127ba565b61080f8383836114fc565b6006546001600160a01b0316331461086f5760405162461bcd60e51b81526004016106d990612785565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b60405147906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169082156108fc029083906000818181858888f193505050501580156108e9573d6000803e3d6000fd5b5050565b61080f83838360405180602001604052806000815250610f2c565b601080546109159061287a565b80601f01602080910402602001604051908101604052809291908181526020018280546109419061287a565b801561098e5780601f106109635761010080835404028352916020019161098e565b820191906000526020600020905b81548152906001019060200180831161097157829003601f168201915b505050505081565b6000818152600260205260408120546001600160a01b0316806105cc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106d9565b601180546109159061287a565b60006001600160a01b038216610a855760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106d9565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610acb5760405162461bcd60e51b81526004016106d990612785565b610ad5600061169c565b565b6006546001600160a01b03163314610b015760405162461bcd60e51b81526004016106d990612785565b600c55565b6006546001600160a01b03163314610b305760405162461bcd60e51b81526004016106d990612785565b80516108e99060109060208401906122ad565b6006546001600160a01b03163314610b6d5760405162461bcd60e51b81526004016106d990612785565b600955565b6060600180546105e19061287a565b6000600c54118015610b9557506000600b54115b610bec5760405162461bcd60e51b815260206004820152602260248201527f53616c652073746172742074696d65732068617665206e6f74206265656e2073604482015261195d60f21b60648201526084016106d9565b610bf46116ee565b151560011415610cb357600a54336000908152600d6020526040902054610c1c90839061280b565b1115610c845760405162461bcd60e51b815260206004820152603160248201527f5175616e74697479206973206d6f7265207468616e206d696e7461626c6520616044820152701b5bdd5b9d081c195c881858d8dbdd5b9d607a1b60648201526084016106d9565b336000908152600d6020526040902054610c9e908261280b565b336000908152600d6020526040902055610e5b565b610cbb611706565b151560011415610e1d57600e546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610d0957600080fd5b505afa158015610d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4191906125db565b11610d8e5760405162461bcd60e51b815260206004820152601a60248201527f6e656564206174206c656173742031207375636b20746f6b656e00000000000060448201526064016106d9565b610d9733611718565b336000908152600d6020526040902054610db290839061280b565b1115610c845760405162461bcd60e51b815260206004820152603460248201527f5175616e7469747920697320686967686572207468616e207469657220616d6f6044820152731d5b9d08199bdc881d1a1a5cc81858d8dbdd5b9d60621b60648201526084016106d9565b60405162461bcd60e51b81526020600482015260136024820152721cd85b19481a185cdb89dd081cdd185c9d1959606a1b60448201526064016106d9565b610e6481611dc3565b50565b6001600160a01b038216331415610ec05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106d9565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f363383611405565b610f525760405162461bcd60e51b81526004016106d9906127ba565b610f5e84848484611ecd565b50505050565b6006546001600160a01b03163314610f8e5760405162461bcd60e51b81526004016106d990612785565b600b55565b606060008060108054610fa59061287a565b9050119050806110425760118054610fbc9061287a565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe89061287a565b80156110355780601f1061100a57610100808354040283529160200191611035565b820191906000526020600020905b81548152906001019060200180831161101857829003601f168201915b5050505050915050919050565b6000838152600260205260409020546001600160a01b03166110be5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106d9565b60106110c984611f00565b6040516020016110da92919061263c565b604051602081830303815290604052915050919050565b6006546001600160a01b0316331461111b5760405162461bcd60e51b81526004016106d990612785565b600a55565b6006546001600160a01b0316331461114a5760405162461bcd60e51b81526004016106d990612785565b600e54600160a01b900460ff16156111af5760405162461bcd60e51b815260206004820152602260248201527f5265736572766573206861766520616c7265616479206265656e206d696e7465604482015261321760f11b60648201526084016106d9565b6008546111c660466111c0600f5490565b90611ffe565b111561121f5760405162461bcd60e51b815260206004820152602260248201527f54686973206d696e7420776f756c642065786365656420746f74616c537570706044820152616c7960f01b60648201526084016106d9565b600e805460ff60a01b1916600160a01b17905560005b6046811015610e64576000611249600f5490565b90506008548110156112af57611263600f80546001019055565b61126f601e6046612837565b811115611285576112803382612011565b6112af565b6112af7f000000000000000000000000000000000000000000000000000000000000000082612011565b50806112ba816128b5565b915050611235565b6006546001600160a01b031633146112ec5760405162461bcd60e51b81526004016106d990612785565b6001600160a01b0381166113515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d9565b610e648161169c565b6006546001600160a01b031633146113845760405162461bcd60e51b81526004016106d990612785565b80516108e99060119060208401906122ad565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113cc82610996565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661147e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d9565b600061148983610996565b9050806001600160a01b0316846001600160a01b031614806114c45750836001600160a01b03166114b984610664565b6001600160a01b0316145b806114f457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661150f82610996565b6001600160a01b0316146115775760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106d9565b6001600160a01b0382166115d95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106d9565b6115e4600082611397565b6001600160a01b038316600090815260036020526040812080546001929061160d908490612837565b90915550506001600160a01b038216600090815260036020526040812080546001929061163b90849061280b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000600b544211156117005750600190565b50600090565b6000600c544211156117005750600190565b600e546040516370a0823160e01b81523360048201526000916014916001600160a01b03909116906370a082319060240160206040518083038186803b15801561176157600080fd5b505afa158015611775573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179991906125db565b600e60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156117e757600080fd5b505afa1580156117fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181f91906125db565b6118299190612823565b1161183757506101a4919050565b600e546040516370a0823160e01b81523360048201526032916001600160a01b0316906370a082319060240160206040518083038186803b15801561187b57600080fd5b505afa15801561188f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b391906125db565b600e60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561190157600080fd5b505afa158015611915573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193991906125db565b6119439190612823565b1161195057506096919050565b600e546040516370a0823160e01b81523360048201526064916001600160a01b0316906370a082319060240160206040518083038186803b15801561199457600080fd5b505afa1580156119a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119cc91906125db565b600e60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611a1a57600080fd5b505afa158015611a2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5291906125db565b611a5c9190612823565b11611a6957506045919050565b600e546040516370a0823160e01b815233600482015260c8916001600160a01b0316906370a082319060240160206040518083038186803b158015611aad57600080fd5b505afa158015611ac1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae591906125db565b600e60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611b3357600080fd5b505afa158015611b47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6b91906125db565b611b759190612823565b11611b8257506019919050565b600e546040516370a0823160e01b8152336004820152610190916001600160a01b0316906370a082319060240160206040518083038186803b158015611bc757600080fd5b505afa158015611bdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bff91906125db565b600e60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611c4d57600080fd5b505afa158015611c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8591906125db565b611c8f9190612823565b11611c9c5750600c919050565b600e546040516370a0823160e01b81523360048201526103e8916001600160a01b0316906370a082319060240160206040518083038186803b158015611ce157600080fd5b505afa158015611cf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1991906125db565b600e60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611d6757600080fd5b505afa158015611d7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d9f91906125db565b611da99190612823565b11611db657506005919050565b506000919050565b919050565b60008111611e135760405162461bcd60e51b815260206004820152601860248201527f596f75206d757374206d696e74206174206c656173742031000000000000000060448201526064016106d9565b600854611e23826111c0600f5490565b1115611e805760405162461bcd60e51b815260206004820152602660248201527f5468697320707572636861736520776f756c642065786365656420746f74616c604482015265537570706c7960d01b60648201526084016106d9565b60005b818110156108e9576000611e96600f5490565b9050600854811015611eba57611eb0600f80546001019055565b611eba3382612011565b5080611ec5816128b5565b915050611e83565b611ed88484846114fc565b611ee48484848461202b565b610f5e5760405162461bcd60e51b81526004016106d990612733565b606081611f245750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f4e5780611f38816128b5565b9150611f479050600a83612823565b9150611f28565b60008167ffffffffffffffff811115611f6957611f69612926565b6040519080825280601f01601f191660200182016040528015611f93576020820181803683370190505b5090505b84156114f457611fa8600183612837565b9150611fb5600a866128d0565b611fc090603061280b565b60f81b818381518110611fd557611fd5612910565b60200101906001600160f81b031916908160001a905350611ff7600a86612823565b9450611f97565b600061200a828461280b565b9392505050565b6108e9828260405180602001604052806000815250612138565b60006001600160a01b0384163b1561212d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061206f9033908990889088906004016126e3565b602060405180830381600087803b15801561208957600080fd5b505af19250505080156120b9575060408051601f3d908101601f191682019092526120b69181019061255c565b60015b612113573d8080156120e7576040519150601f19603f3d011682016040523d82523d6000602084013e6120ec565b606091505b50805161210b5760405162461bcd60e51b81526004016106d990612733565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114f4565b506001949350505050565b612142838361216b565b61214f600084848461202b565b61080f5760405162461bcd60e51b81526004016106d990612733565b6001600160a01b0382166121c15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106d9565b6000818152600260205260409020546001600160a01b0316156122265760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106d9565b6001600160a01b038216600090815260036020526040812080546001929061224f90849061280b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546122b99061287a565b90600052602060002090601f0160209004810192826122db5760008555612321565b82601f106122f457805160ff1916838001178555612321565b82800160010185558215612321579182015b82811115612321578251825591602001919060010190612306565b5061232d929150612331565b5090565b5b8082111561232d5760008155600101612332565b600067ffffffffffffffff8084111561236157612361612926565b604051601f8501601f19908116603f0116810190828211818310171561238957612389612926565b816040528093508581528686860111156123a257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611dbe57600080fd5b6000602082840312156123e557600080fd5b61200a826123bc565b6000806040838503121561240157600080fd5b61240a836123bc565b9150612418602084016123bc565b90509250929050565b60008060006060848603121561243657600080fd5b61243f846123bc565b925061244d602085016123bc565b9150604084013590509250925092565b6000806000806080858703121561247357600080fd5b61247c856123bc565b935061248a602086016123bc565b925060408501359150606085013567ffffffffffffffff8111156124ad57600080fd5b8501601f810187136124be57600080fd5b6124cd87823560208401612346565b91505092959194509250565b600080604083850312156124ec57600080fd5b6124f5836123bc565b91506020830135801515811461250a57600080fd5b809150509250929050565b6000806040838503121561252857600080fd5b612531836123bc565b946020939093013593505050565b60006020828403121561255157600080fd5b813561200a8161293c565b60006020828403121561256e57600080fd5b815161200a8161293c565b60006020828403121561258b57600080fd5b813567ffffffffffffffff8111156125a257600080fd5b8201601f810184136125b357600080fd5b6114f484823560208401612346565b6000602082840312156125d457600080fd5b5035919050565b6000602082840312156125ed57600080fd5b5051919050565b6000815180845261260c81602086016020860161284e565b601f01601f19169290920160200192915050565b6000815161263281856020860161284e565b9290920192915050565b600080845481600182811c91508083168061265857607f831692505b602080841082141561267857634e487b7160e01b86526022600452602486fd5b81801561268c576001811461269d576126ca565b60ff198616895284890196506126ca565b60008b81526020902060005b868110156126c25781548b8201529085019083016126a9565b505084890196505b5050505050506126da8185612620565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612716908301846125f4565b9695505050505050565b60208152600061200a60208301846125f4565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561281e5761281e6128e4565b500190565b600082612832576128326128fa565b500490565b600082821015612849576128496128e4565b500390565b60005b83811015612869578181015183820152602001612851565b83811115610f5e5750506000910152565b600181811c9082168061288e57607f821691505b602082108114156128af57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156128c9576128c96128e4565b5060010190565b6000826128df576128df6128fa565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e6457600080fdfea2646970667358221220042e6cef45cceca882b706a6c6303773f28ad02b7877836b7633f3f245a0a84c64736f6c63430008060033000000000000000000000000be8d961a23fa55f3efc5367450ff75bf56ac3e5600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061025e5760003560e01c80638ef79e9111610146578063c87b56dd116100c3578063e985e9c511610087578063e985e9c514610504578063ebf0c71714610540578063ec8c890414610549578063ed86a5b814610551578063f2fde38b1461055a578063fe2c7fee1461056d57600080fd5b8063c87b56dd146104b9578063cc41d795146104cc578063cecdc6aa146104e0578063d956b237146104e8578063de8801e5146104fb57600080fd5b8063a49feed61161010a578063a49feed61461045b578063aa592f2514610464578063ae90b2131461046c578063b88d4fde14610493578063c52bd853146104a657600080fd5b80638ef79e911461040757806391b7f5ed1461041a57806395d89b411461042d578063a0712d6814610435578063a22cb4651461044857600080fd5b8063438a67e7116101df57806370a08231116101a357806370a08231146103b5578063715018a6146103c857806378152bbe146103d05780637824407f146103e35780638d859f3e146103ed5780638da5cb5b146103f657600080fd5b8063438a67e71461035f5780634e99b8001461037f57806351f8c7f6146103875780636352211e1461039a5780637035bf18146103ad57600080fd5b8063210f1ffd11610226578063210f1ffd146102f757806323b872dd1461031e57806333bebf26146103315780633ccfd60b1461034457806342842e0e1461034c57600080fd5b806301ffc9a71461026357806306fdde031461028b578063081812fc146102a0578063095ea7b3146102cb57806318160ddd146102e0575b600080fd5b61027661027136600461253f565b610580565b60405190151581526020015b60405180910390f35b6102936105d2565b6040516102829190612720565b6102b36102ae3660046125c2565b610664565b6040516001600160a01b039091168152602001610282565b6102de6102d9366004612515565b6106fe565b005b6102e960085481565b604051908152602001610282565b6102b37f0000000000000000000000003f4cf2b72cba8a1696cdfbf29329ba36d0b9326881565b6102de61032c366004612421565b610814565b6102de61033f3660046123d3565b610845565b6102de610891565b6102de61035a366004612421565b6108ed565b6102e961036d3660046123d3565b600d6020526000908152604090205481565b610293610908565b600e546102b3906001600160a01b031681565b6102b36103a83660046125c2565b610996565b610293610a0d565b6102e96103c33660046123d3565b610a1a565b6102de610aa1565b6102de6103de3660046125c2565b610ad7565b600f546102e99081565b6102e960095481565b6006546001600160a01b03166102b3565b6102de610415366004612579565b610b06565b6102de6104283660046125c2565b610b43565b610293610b72565b6102de6104433660046125c2565b610b81565b6102de6104563660046124d9565b610e67565b6102e9600a5481565b6102e9604681565b6102b37f000000000000000000000000be8d961a23fa55f3efc5367450ff75bf56ac3e5681565b6102de6104a136600461245d565b610f2c565b6102de6104b43660046125c2565b610f64565b6102936104c73660046125c2565b610f93565b600e5461027690600160a01b900460ff1681565b6102e9601e81565b6102de6104f63660046125c2565b6110f1565b6102e9600c5481565b6102766105123660046123ee565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102e960125481565b6102de611120565b6102e9600b5481565b6102de6105683660046123d3565b6112c2565b6102de61057b366004612579565b61135a565b60006001600160e01b031982166380ac58cd60e01b14806105b157506001600160e01b03198216635b5e139f60e01b145b806105cc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546105e19061287a565b80601f016020809104026020016040519081016040528092919081815260200182805461060d9061287a565b801561065a5780601f1061062f5761010080835404028352916020019161065a565b820191906000526020600020905b81548152906001019060200180831161063d57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106e25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061070982610996565b9050806001600160a01b0316836001600160a01b031614156107775760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106d9565b336001600160a01b038216148061079357506107938133610512565b6108055760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106d9565b61080f8383611397565b505050565b61081e3382611405565b61083a5760405162461bcd60e51b81526004016106d9906127ba565b61080f8383836114fc565b6006546001600160a01b0316331461086f5760405162461bcd60e51b81526004016106d990612785565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b60405147906001600160a01b037f000000000000000000000000be8d961a23fa55f3efc5367450ff75bf56ac3e56169082156108fc029083906000818181858888f193505050501580156108e9573d6000803e3d6000fd5b5050565b61080f83838360405180602001604052806000815250610f2c565b601080546109159061287a565b80601f01602080910402602001604051908101604052809291908181526020018280546109419061287a565b801561098e5780601f106109635761010080835404028352916020019161098e565b820191906000526020600020905b81548152906001019060200180831161097157829003601f168201915b505050505081565b6000818152600260205260408120546001600160a01b0316806105cc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106d9565b601180546109159061287a565b60006001600160a01b038216610a855760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106d9565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610acb5760405162461bcd60e51b81526004016106d990612785565b610ad5600061169c565b565b6006546001600160a01b03163314610b015760405162461bcd60e51b81526004016106d990612785565b600c55565b6006546001600160a01b03163314610b305760405162461bcd60e51b81526004016106d990612785565b80516108e99060109060208401906122ad565b6006546001600160a01b03163314610b6d5760405162461bcd60e51b81526004016106d990612785565b600955565b6060600180546105e19061287a565b6000600c54118015610b9557506000600b54115b610bec5760405162461bcd60e51b815260206004820152602260248201527f53616c652073746172742074696d65732068617665206e6f74206265656e2073604482015261195d60f21b60648201526084016106d9565b610bf46116ee565b151560011415610cb357600a54336000908152600d6020526040902054610c1c90839061280b565b1115610c845760405162461bcd60e51b815260206004820152603160248201527f5175616e74697479206973206d6f7265207468616e206d696e7461626c6520616044820152701b5bdd5b9d081c195c881858d8dbdd5b9d607a1b60648201526084016106d9565b336000908152600d6020526040902054610c9e908261280b565b336000908152600d6020526040902055610e5b565b610cbb611706565b151560011415610e1d57600e546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610d0957600080fd5b505afa158015610d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4191906125db565b11610d8e5760405162461bcd60e51b815260206004820152601a60248201527f6e656564206174206c656173742031207375636b20746f6b656e00000000000060448201526064016106d9565b610d9733611718565b336000908152600d6020526040902054610db290839061280b565b1115610c845760405162461bcd60e51b815260206004820152603460248201527f5175616e7469747920697320686967686572207468616e207469657220616d6f6044820152731d5b9d08199bdc881d1a1a5cc81858d8dbdd5b9d60621b60648201526084016106d9565b60405162461bcd60e51b81526020600482015260136024820152721cd85b19481a185cdb89dd081cdd185c9d1959606a1b60448201526064016106d9565b610e6481611dc3565b50565b6001600160a01b038216331415610ec05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106d9565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f363383611405565b610f525760405162461bcd60e51b81526004016106d9906127ba565b610f5e84848484611ecd565b50505050565b6006546001600160a01b03163314610f8e5760405162461bcd60e51b81526004016106d990612785565b600b55565b606060008060108054610fa59061287a565b9050119050806110425760118054610fbc9061287a565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe89061287a565b80156110355780601f1061100a57610100808354040283529160200191611035565b820191906000526020600020905b81548152906001019060200180831161101857829003601f168201915b5050505050915050919050565b6000838152600260205260409020546001600160a01b03166110be5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106d9565b60106110c984611f00565b6040516020016110da92919061263c565b604051602081830303815290604052915050919050565b6006546001600160a01b0316331461111b5760405162461bcd60e51b81526004016106d990612785565b600a55565b6006546001600160a01b0316331461114a5760405162461bcd60e51b81526004016106d990612785565b600e54600160a01b900460ff16156111af5760405162461bcd60e51b815260206004820152602260248201527f5265736572766573206861766520616c7265616479206265656e206d696e7465604482015261321760f11b60648201526084016106d9565b6008546111c660466111c0600f5490565b90611ffe565b111561121f5760405162461bcd60e51b815260206004820152602260248201527f54686973206d696e7420776f756c642065786365656420746f74616c537570706044820152616c7960f01b60648201526084016106d9565b600e805460ff60a01b1916600160a01b17905560005b6046811015610e64576000611249600f5490565b90506008548110156112af57611263600f80546001019055565b61126f601e6046612837565b811115611285576112803382612011565b6112af565b6112af7f0000000000000000000000003f4cf2b72cba8a1696cdfbf29329ba36d0b9326882612011565b50806112ba816128b5565b915050611235565b6006546001600160a01b031633146112ec5760405162461bcd60e51b81526004016106d990612785565b6001600160a01b0381166113515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d9565b610e648161169c565b6006546001600160a01b031633146113845760405162461bcd60e51b81526004016106d990612785565b80516108e99060119060208401906122ad565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113cc82610996565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661147e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d9565b600061148983610996565b9050806001600160a01b0316846001600160a01b031614806114c45750836001600160a01b03166114b984610664565b6001600160a01b0316145b806114f457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661150f82610996565b6001600160a01b0316146115775760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106d9565b6001600160a01b0382166115d95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106d9565b6115e4600082611397565b6001600160a01b038316600090815260036020526040812080546001929061160d908490612837565b90915550506001600160a01b038216600090815260036020526040812080546001929061163b90849061280b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000600b544211156117005750600190565b50600090565b6000600c544211156117005750600190565b600e546040516370a0823160e01b81523360048201526000916014916001600160a01b03909116906370a082319060240160206040518083038186803b15801561176157600080fd5b505afa158015611775573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179991906125db565b600e60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156117e757600080fd5b505afa1580156117fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181f91906125db565b6118299190612823565b1161183757506101a4919050565b600e546040516370a0823160e01b81523360048201526032916001600160a01b0316906370a082319060240160206040518083038186803b15801561187b57600080fd5b505afa15801561188f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b391906125db565b600e60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561190157600080fd5b505afa158015611915573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193991906125db565b6119439190612823565b1161195057506096919050565b600e546040516370a0823160e01b81523360048201526064916001600160a01b0316906370a082319060240160206040518083038186803b15801561199457600080fd5b505afa1580156119a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119cc91906125db565b600e60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611a1a57600080fd5b505afa158015611a2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5291906125db565b611a5c9190612823565b11611a6957506045919050565b600e546040516370a0823160e01b815233600482015260c8916001600160a01b0316906370a082319060240160206040518083038186803b158015611aad57600080fd5b505afa158015611ac1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae591906125db565b600e60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611b3357600080fd5b505afa158015611b47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6b91906125db565b611b759190612823565b11611b8257506019919050565b600e546040516370a0823160e01b8152336004820152610190916001600160a01b0316906370a082319060240160206040518083038186803b158015611bc757600080fd5b505afa158015611bdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bff91906125db565b600e60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611c4d57600080fd5b505afa158015611c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8591906125db565b611c8f9190612823565b11611c9c5750600c919050565b600e546040516370a0823160e01b81523360048201526103e8916001600160a01b0316906370a082319060240160206040518083038186803b158015611ce157600080fd5b505afa158015611cf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1991906125db565b600e60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611d6757600080fd5b505afa158015611d7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d9f91906125db565b611da99190612823565b11611db657506005919050565b506000919050565b919050565b60008111611e135760405162461bcd60e51b815260206004820152601860248201527f596f75206d757374206d696e74206174206c656173742031000000000000000060448201526064016106d9565b600854611e23826111c0600f5490565b1115611e805760405162461bcd60e51b815260206004820152602660248201527f5468697320707572636861736520776f756c642065786365656420746f74616c604482015265537570706c7960d01b60648201526084016106d9565b60005b818110156108e9576000611e96600f5490565b9050600854811015611eba57611eb0600f80546001019055565b611eba3382612011565b5080611ec5816128b5565b915050611e83565b611ed88484846114fc565b611ee48484848461202b565b610f5e5760405162461bcd60e51b81526004016106d990612733565b606081611f245750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f4e5780611f38816128b5565b9150611f479050600a83612823565b9150611f28565b60008167ffffffffffffffff811115611f6957611f69612926565b6040519080825280601f01601f191660200182016040528015611f93576020820181803683370190505b5090505b84156114f457611fa8600183612837565b9150611fb5600a866128d0565b611fc090603061280b565b60f81b818381518110611fd557611fd5612910565b60200101906001600160f81b031916908160001a905350611ff7600a86612823565b9450611f97565b600061200a828461280b565b9392505050565b6108e9828260405180602001604052806000815250612138565b60006001600160a01b0384163b1561212d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061206f9033908990889088906004016126e3565b602060405180830381600087803b15801561208957600080fd5b505af19250505080156120b9575060408051601f3d908101601f191682019092526120b69181019061255c565b60015b612113573d8080156120e7576040519150601f19603f3d011682016040523d82523d6000602084013e6120ec565b606091505b50805161210b5760405162461bcd60e51b81526004016106d990612733565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114f4565b506001949350505050565b612142838361216b565b61214f600084848461202b565b61080f5760405162461bcd60e51b81526004016106d990612733565b6001600160a01b0382166121c15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106d9565b6000818152600260205260409020546001600160a01b0316156122265760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106d9565b6001600160a01b038216600090815260036020526040812080546001929061224f90849061280b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546122b99061287a565b90600052602060002090601f0160209004810192826122db5760008555612321565b82601f106122f457805160ff1916838001178555612321565b82800160010185558215612321579182015b82811115612321578251825591602001919060010190612306565b5061232d929150612331565b5090565b5b8082111561232d5760008155600101612332565b600067ffffffffffffffff8084111561236157612361612926565b604051601f8501601f19908116603f0116810190828211818310171561238957612389612926565b816040528093508581528686860111156123a257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611dbe57600080fd5b6000602082840312156123e557600080fd5b61200a826123bc565b6000806040838503121561240157600080fd5b61240a836123bc565b9150612418602084016123bc565b90509250929050565b60008060006060848603121561243657600080fd5b61243f846123bc565b925061244d602085016123bc565b9150604084013590509250925092565b6000806000806080858703121561247357600080fd5b61247c856123bc565b935061248a602086016123bc565b925060408501359150606085013567ffffffffffffffff8111156124ad57600080fd5b8501601f810187136124be57600080fd5b6124cd87823560208401612346565b91505092959194509250565b600080604083850312156124ec57600080fd5b6124f5836123bc565b91506020830135801515811461250a57600080fd5b809150509250929050565b6000806040838503121561252857600080fd5b612531836123bc565b946020939093013593505050565b60006020828403121561255157600080fd5b813561200a8161293c565b60006020828403121561256e57600080fd5b815161200a8161293c565b60006020828403121561258b57600080fd5b813567ffffffffffffffff8111156125a257600080fd5b8201601f810184136125b357600080fd5b6114f484823560208401612346565b6000602082840312156125d457600080fd5b5035919050565b6000602082840312156125ed57600080fd5b5051919050565b6000815180845261260c81602086016020860161284e565b601f01601f19169290920160200192915050565b6000815161263281856020860161284e565b9290920192915050565b600080845481600182811c91508083168061265857607f831692505b602080841082141561267857634e487b7160e01b86526022600452602486fd5b81801561268c576001811461269d576126ca565b60ff198616895284890196506126ca565b60008b81526020902060005b868110156126c25781548b8201529085019083016126a9565b505084890196505b5050505050506126da8185612620565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612716908301846125f4565b9695505050505050565b60208152600061200a60208301846125f4565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561281e5761281e6128e4565b500190565b600082612832576128326128fa565b500490565b600082821015612849576128496128e4565b500390565b60005b83811015612869578181015183820152602001612851565b83811115610f5e5750506000910152565b600181811c9082168061288e57607f821691505b602082108114156128af57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156128c9576128c96128e4565b5060010190565b6000826128df576128df6128fa565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e6457600080fdfea2646970667358221220042e6cef45cceca882b706a6c6303773f28ad02b7877836b7633f3f245a0a84c64736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000be8d961a23fa55f3efc5367450ff75bf56ac3e5600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _reservee (address): 0xBe8d961a23FA55F3eFc5367450FF75bF56aC3E56
Arg [1] : _mainsaleStart (uint256): 0
Arg [2] : _presaleStart (uint256): 0
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000be8d961a23fa55f3efc5367450ff75bf56ac3e56
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
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.