ERC-721
Overview
Max Total Supply
0 TURTLES
Holders
177
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 TURTLESLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CycloTurtles
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; // Version: 0.4 contract CycloTurtles is ERC721, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIds; struct VITSaleConfig { uint256 price; // 0.08 bool isActive; uint256 maxWallet; // 5 uint256 count; } struct PresaleConfig { uint256 price; // 0.1 ETH bool isActive; uint256 maxWallet; // 10 uint256 count; } struct SaleConfig { uint256 price; // 0.15 ETH bool isActive; uint256 count; } VITSaleConfig public vitSaleConfig = VITSaleConfig(80000000000000000, false, 5, 0); PresaleConfig public presaleConfig = PresaleConfig(100000000000000000, false, 10, 0); SaleConfig public saleConfig = SaleConfig(150000000000000000, false, 0); uint256 public maxTotalSupply = 7777; uint256 public maxGiftSupply = 155; uint256 public maxVITSupply = 1111; uint256 public maxPresaleSupply = 2222; uint256 public totalSupplyCount; uint256 public giftCount; string private baseURI; string private unrevealedURI; bool public revealed = false; bool public isBurnEnabled; mapping(address => bool) private _vitList; mapping(address => bool) private _presaleList; mapping(address => uint256) public _vitClaimed; mapping(address => uint256) public _presaleClaimed; mapping(address => uint256) public _saleClaimed; mapping(address => uint256) public _giftClaimed; enum WorkflowStatus { Paused, VITSale, Presale, Sale, SoldOut } WorkflowStatus public workflow; event ChangeBaseURI(string _baseURI); event StartSale(string _sale); event UpdatedIsBurnEnabled(bool _isBurnEnabled); event Mint(address _minter, uint256 _amount, string _type); event AddToList(address _address, string _list); event RemoveFromList(address _address, string _list); event Burn(uint _tokenId); constructor() ERC721("CycloTurtles", "TURTLES") {} // "CycloTurtles", "TURTLES" // Admin Functions function getTotalSupply() public view returns (uint256) { return totalSupplyCount; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "CycloTurtles: URI query for nonexistent token"); if (revealed == false) { return unrevealedURI; } else { if (bytes(baseURI).length > 0) { return string(abi.encodePacked(baseURI, tokenId)); } else { return super.tokenURI(tokenId); } } } function setUnrevealedURI(string calldata _unrevealedURI) external onlyOwner { unrevealedURI = _unrevealedURI; } function setBaseURI(string calldata _tokenBaseURI) external onlyOwner { baseURI = _tokenBaseURI; emit ChangeBaseURI(_tokenBaseURI); } function reveal() external onlyOwner { revealed = true; } // Whitelist Functions function addToVITList(address[] calldata _addresses) external onlyOwner { for(uint i = 0; i < _addresses.length; i++) { require( _addresses[i] != address(0), "CycloTurtles: Can't add 0 address" ); if(_vitList[_addresses[i]] == false) { _vitList[_addresses[i]] = true; } emit AddToList(_addresses[i], "VIT"); } } function removeFromVITList(address[] calldata _addresses) external onlyOwner { for(uint i = 0; i < _addresses.length; i++) { require( _addresses[i] != address(0), "CycloTurtles: Can't add a zero address" ); if(_vitList[_addresses[i]] == true) { _vitList[_addresses[i]] = false; } emit RemoveFromList(_addresses[i], "VIT"); } } function addToPresaleList(address[] calldata _addresses) external onlyOwner { for(uint i = 0; i < _addresses.length; i++) { require( _addresses[i] != address(0), "CycloTurtles: Can't add 0 address" ); if(_presaleList[_addresses[i]] == false) { _presaleList[_addresses[i]] = true; } emit AddToList(_addresses[i], "Presale"); } } function removeFromPresaleList(address[] calldata _addresses) external onlyOwner { for(uint i = 0; i < _addresses.length; i++) { require( _addresses[i] != address(0), "CycloTurtles: Can't add a zero address" ); if(_presaleList[_addresses[i]] == true) { _presaleList[_addresses[i]] = false; } emit RemoveFromList(_addresses[i], "Presale"); } } function isOnVITSale (address _address) external view returns (bool) { return _vitList[_address]; } function isOnPresale (address _address) external view returns (bool) { return _presaleList[_address]; } // Sale Workflow Functions function getWorkflowStatus() public view returns(uint) { if (workflow == WorkflowStatus.Paused) { return 1; } else if (workflow == WorkflowStatus.VITSale){ return 2; } else if (workflow == WorkflowStatus.Presale) { return 3; } else if (workflow == WorkflowStatus.Sale) { return 4; } else { //workflow == WorkflowStatus.SoldOut return 5; } } function pauseSales() external onlyOwner { workflow = WorkflowStatus.Paused; vitSaleConfig.isActive = false; presaleConfig.isActive = false; saleConfig.isActive = false; } function startVITSale() external onlyOwner { require( workflow == WorkflowStatus.Paused, "CycloTurtles: VIT sale can only start when workflow = paused" ); vitSaleConfig.isActive = true; emit StartSale("VIT"); workflow = WorkflowStatus.VITSale; } function startPresale() external onlyOwner { require( workflow == WorkflowStatus.VITSale, "CycloTurtles: Must be in VIT sale to start presale" ); vitSaleConfig.isActive = false; presaleConfig.isActive = true; emit StartSale("Presale"); workflow = WorkflowStatus.Presale; } function startPublicSale() external onlyOwner { require( workflow == WorkflowStatus.Presale, "CycloTurtles: Must be in presale to start public sale" ); presaleConfig.isActive = false; saleConfig.isActive = true; emit StartSale("Public"); workflow = WorkflowStatus.Sale; } function setIsBurnEnabled(bool _isBurnEnabled) external onlyOwner { isBurnEnabled = _isBurnEnabled; emit UpdatedIsBurnEnabled(_isBurnEnabled); } // Minting & Burn Functions function giftMint(address _address, uint256 _amount) external onlyOwner { require( _address != address(0), "CycloTurtles: Cannot send to 0 address" ); require( totalSupplyCount + _amount <= maxTotalSupply, "CycloTurtles: max total supply exceeded" ); require( giftCount + _amount <= maxGiftSupply, "CycloTurtles: max gift supply exceeded" ); uint256 _newTokenId; for (uint i = 0; i < _amount; i++) { _tokenIds.increment(); _newTokenId = _tokenIds.current(); _safeMint(_address, _newTokenId); _giftClaimed[_address] += 1; totalSupplyCount += 1; giftCount += 1; emit Mint(_address, _amount, "Gift"); } } function vitMint(uint256 _amount) external payable { require( vitSaleConfig.isActive == true, "CycloTurtles: Sale must be active to mint" ); require( _vitList[msg.sender] == true, "CycloTurtles: Caller is not on the VIT list" ); require( _vitClaimed[msg.sender] + _amount <= vitSaleConfig.maxWallet, "CycloTurtles: Can only mint 5 per wallet" ); require( vitSaleConfig.count + _amount <= maxVITSupply, "CycloTurtles: Cannot exceed max supply" ); require( vitSaleConfig.price * _amount <= msg.value, "CycloTurtles: Ether value sent is too low" ); uint256 _newTokenId; for(uint i = 0; i < _amount; i++) { _tokenIds.increment(); _newTokenId = _tokenIds.current(); _safeMint(msg.sender, _newTokenId); _vitClaimed[msg.sender] += 1; totalSupplyCount += 1; vitSaleConfig.count += 1; } emit Mint(msg.sender, _amount, "VIT"); } function presaleMint (uint256 _amount) external payable { require( presaleConfig.isActive == true, "CycloTutrles: Sale must be active to mint" ); require( _amount <= 5, "CycloTurtles: Can only mint 5 per txn" ); require( _presaleList[msg.sender] == true, "CycloTurtles: Caller is not on the presale list" ); require( _presaleClaimed[msg.sender] + _amount <= presaleConfig.maxWallet, "CycloTurtles: Can only mint 10 per wallet" ); require( presaleConfig.count + _amount <= maxPresaleSupply, "CycloTurtles: Cannot exceed max presale supply" ); require( presaleConfig.price * _amount <= msg.value, "CycloTurtles: Ether value sent is too low" ); uint256 _newTokenId; for(uint i; i < _amount; i++) { _tokenIds.increment(); _newTokenId = _tokenIds.current(); _safeMint(msg.sender, _newTokenId); _presaleClaimed[msg.sender] += 1; presaleConfig.count += 1; totalSupplyCount += 1; } emit Mint(msg.sender, _amount, "Presale"); } function saleMint(uint256 _amount) external payable { require( saleConfig.isActive == true, "CycloTurtles: Sale must be active to mint" ); require( _amount <= 10, "CycloTurtles: Can only mint 10 per txn" ); require( saleConfig.count + _amount <= maxTotalSupply, "CycloTurtles: Cannot exceed max total supply" ); require( saleConfig.price * _amount <= msg.value, "CycloTurtles: Ether value sent is too low" ); uint256 _newTokenId; for(uint i; i < _amount; i++) { _tokenIds.increment(); _newTokenId = _tokenIds.current(); _safeMint(msg.sender, _newTokenId); _saleClaimed[msg.sender] += 1; saleConfig.count += 1; totalSupplyCount += 1; } emit Mint(msg.sender, _amount, "Public sale"); if(totalSupplyCount == maxTotalSupply) { workflow = WorkflowStatus.SoldOut; saleConfig.isActive = false; } } function burn(uint256 tokenId) external { require( isBurnEnabled == true, "CycloTurtles: Burning diasabled" ); require( _isApprovedOrOwner(msg.sender, tokenId), "CycloTurtles: Caller is not owner or approved" ); _burn(tokenId); totalSupplyCount -= 1; emit Burn(tokenId); } function withdraw() external onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/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 { _setApprovalForAll(_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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @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.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 // OpenZeppelin Contracts v4.4.0 (utils/Counters.sol) 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 // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"string","name":"_list","type":"string"}],"name":"AddToList","type":"event"},{"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":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_baseURI","type":"string"}],"name":"ChangeBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"string","name":"_type","type":"string"}],"name":"Mint","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":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"string","name":"_list","type":"string"}],"name":"RemoveFromList","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_sale","type":"string"}],"name":"StartSale","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_isBurnEnabled","type":"bool"}],"name":"UpdatedIsBurnEnabled","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_giftClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_presaleClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_saleClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_vitClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addToPresaleList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addToVITList","outputs":[],"stateMutability":"nonpayable","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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWorkflowStatus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"giftCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"giftMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isOnPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isOnVITSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGiftSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPresaleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxVITSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"pauseSales","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"presaleConfig","outputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"uint256","name":"maxWallet","type":"uint256"},{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeFromPresaleList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeFromVITList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleConfig","outputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"saleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isBurnEnabled","type":"bool"}],"name":"setIsBurnEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_unrevealedURI","type":"string"}],"name":"setUnrevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startVITSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupplyCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"vitMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"vitSaleConfig","outputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"uint256","name":"maxWallet","type":"uint256"},{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"workflow","outputs":[{"internalType":"enum CycloTurtles.WorkflowStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
67011c37937e0800006080819052600060a0819052600560c081905260e08290526008929092556009805460ff19908116909155600a928355600b82905567016345785d8a0000610100819052610120839052610140849052610160839052600c55600d805482169055600e92909255600f8190556101e0604052670214e8348c4f00006101808190526101a08290526101c08290526010556011805483169055601255611e61601355609b6014556104576015556108ae601655601b80549091169055348015620000d057600080fd5b50604080518082018252600c81526b4379636c6f547572746c657360a01b602080830191825283518085019094526007845266545552544c455360c81b9084015281519192916200012491600091620001b3565b5080516200013a906001906020840190620001b3565b50505062000157620001516200015d60201b60201c565b62000161565b62000296565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001c19062000259565b90600052602060002090601f016020900481019282620001e5576000855562000230565b82601f106200020057805160ff191683800117855562000230565b8280016001018555821562000230579182015b828111156200023057825182559160200191906001019062000213565b506200023e92915062000242565b5090565b5b808211156200023e576000815560010162000243565b600181811c908216806200026e57607f821691505b602082108114156200029057634e487b7160e01b600052602260045260246000fd5b50919050565b613be880620002a66000396000f3fe6080604052600436106103355760003560e01c80637204a3c9116101ab578063b379a559116100f7578063e985e9c511610095578063f2fde38b1161006f578063f2fde38b146109c2578063f75d64a6146109e2578063fd88fa69146109f7578063fe2c7fee14610a1d57600080fd5b8063e985e9c514610936578063ed7003741461097f578063edc88ef21461099557600080fd5b8063c66474ce116100d1578063c66474ce146108da578063c87b56dd146108ed578063c9b298f11461090d578063e7d92c861461092057600080fd5b8063b379a55914610890578063b88d4fde146108a5578063c4e41b22146108c557600080fd5b806395d89b4111610164578063a22cb4651161013e578063a22cb46514610814578063a334412514610834578063a475b5dd1461085b578063b179e0601461087057600080fd5b806395d89b41146107bf57806397207e10146107d45780639e5d1028146107f457600080fd5b80637204a3c9146106ef5780637cf0b0771461070f5780638ca887ca146107245780638cc4de19146107375780638da5cb5b1461076457806390aa0b0f1461078257600080fd5b80633ccfd60b1161028557806355f804b3116102235780636352211e116101fd5780636352211e1461067a5780636e0e5b191461069a57806370a08231146106ba578063715018a6146106da57600080fd5b806355f804b31461060b5780635cb607761461062b5780635edbc28c1461066457600080fd5b806345bf9b151161025f57806345bf9b151461056b5780635176bcf71461058b57806351830227146105c457806352d728d9146105de57600080fd5b80633ccfd60b1461051657806342842e0e1461052b57806342966c681461054b57600080fd5b806309c3fbb7116102f257806322c0f850116102cc57806322c0f8501461048457806323b872dd1461049a5780632ab4d052146104ba5780633c17c39a146104d057600080fd5b806309c3fbb71461041f5780630c1c972a1461045957806321bdb26e1461046e57600080fd5b806301ffc9a71461033a57806304c98b2b1461036f57806306fdde031461038657806307ebec27146103a8578063081812fc146103c7578063095ea7b3146103ff575b600080fd5b34801561034657600080fd5b5061035a61035536600461324e565b610a3d565b60405190151581526020015b60405180910390f35b34801561037b57600080fd5b50610384610a8f565b005b34801561039257600080fd5b5061039b610ba9565b60405161036691906132c3565b3480156103b457600080fd5b50601b5461035a90610100900460ff1681565b3480156103d357600080fd5b506103e76103e23660046132d6565b610c3b565b6040516001600160a01b039091168152602001610366565b34801561040b57600080fd5b5061038461041a366004613306565b610cd0565b34801561042b57600080fd5b5061044b61043a366004613330565b602080526000908152604090205481565b604051908152602001610366565b34801561046557600080fd5b50610384610de6565b34801561047a57600080fd5b5061044b60165481565b34801561049057600080fd5b5061044b60175481565b3480156104a657600080fd5b506103846104b536600461334b565b610f12565b3480156104c657600080fd5b5061044b60135481565b3480156104dc57600080fd5b50600854600954600a54600b546104f6939260ff16919084565b604080519485529215156020850152918301526060820152608001610366565b34801561052257600080fd5b50610384610f43565b34801561053757600080fd5b5061038461054636600461334b565b610fa0565b34801561055757600080fd5b506103846105663660046132d6565b610fbb565b34801561057757600080fd5b50610384610586366004613306565b6110dc565b34801561059757600080fd5b5061035a6105a6366004613330565b6001600160a01b03166000908152601d602052604090205460ff1690565b3480156105d057600080fd5b50601b5461035a9060ff1681565b3480156105ea57600080fd5b5061044b6105f9366004613330565b60216020526000908152604090205481565b34801561061757600080fd5b50610384610626366004613387565b611337565b34801561063757600080fd5b5061035a610646366004613330565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561067057600080fd5b5061044b60145481565b34801561068657600080fd5b506103e76106953660046132d6565b6113ab565b3480156106a657600080fd5b506103846106b5366004613409565b611422565b3480156106c657600080fd5b5061044b6106d5366004613330565b611495565b3480156106e657600080fd5b5061038461151c565b3480156106fb57600080fd5b5061038461070a366004613424565b611552565b34801561071b57600080fd5b506103846116e8565b6103846107323660046132d6565b6117f4565b34801561074357600080fd5b5061044b610752366004613330565b601f6020526000908152604090205481565b34801561077057600080fd5b506006546001600160a01b03166103e7565b34801561078e57600080fd5b506010546011546012546107a4929160ff169083565b60408051938452911515602084015290820152606001610366565b3480156107cb57600080fd5b5061039b611a26565b3480156107e057600080fd5b506103846107ef366004613424565b611a35565b34801561080057600080fd5b5061038461080f366004613424565b611bcb565b34801561082057600080fd5b5061038461082f366004613487565b611d67565b34801561084057600080fd5b5060225461084e9060ff1681565b60405161036691906134d0565b34801561086757600080fd5b50610384611d72565b34801561087c57600080fd5b5061038461088b366004613424565b611dab565b34801561089c57600080fd5b50610384611f47565b3480156108b157600080fd5b506103846108c036600461350e565b611f99565b3480156108d157600080fd5b5060175461044b565b6103846108e83660046132d6565b611fcb565b3480156108f957600080fd5b5061039b6109083660046132d6565b612239565b61038461091b3660046132d6565b6123a1565b34801561092c57600080fd5b5061044b60155481565b34801561094257600080fd5b5061035a6109513660046135ea565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561098b57600080fd5b5061044b60185481565b3480156109a157600080fd5b5061044b6109b0366004613330565b601e6020526000908152604090205481565b3480156109ce57600080fd5b506103846109dd366004613330565b6126bd565b3480156109ee57600080fd5b5061044b612758565b348015610a0357600080fd5b50600c54600d54600e54600f546104f6939260ff16919084565b348015610a2957600080fd5b50610384610a38366004613387565b6127f3565b60006001600160e01b031982166380ac58cd60e01b1480610a6e57506001600160e01b03198216635b5e139f60e01b145b80610a8957506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b03163314610ac25760405162461bcd60e51b8152600401610ab990613614565b60405180910390fd5b600160225460ff166004811115610adb57610adb6134ba565b14610b435760405162461bcd60e51b815260206004820152603260248201527f4379636c6f547572746c65733a204d75737420626520696e205649542073616c6044820152716520746f2073746172742070726573616c6560701b6064820152608401610ab9565b6009805460ff19908116909155600d805490911660011790556040517f9afc84c18e0f8f12cfb128e6ff74fbae562a3da56ef1f0ae082ed6e82a2b3d3790610b8a90613649565b60405180910390a1602280546002919060ff19166001835b0217905550565b606060008054610bb890613670565b80601f0160208091040260200160405190810160405280929190818152602001828054610be490613670565b8015610c315780601f10610c0657610100808354040283529160200191610c31565b820191906000526020600020905b815481529060010190602001808311610c1457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610cb45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610ab9565b506000908152600460205260409020546001600160a01b031690565b6000610cdb826113ab565b9050806001600160a01b0316836001600160a01b03161415610d495760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610ab9565b336001600160a01b0382161480610d655750610d658133610951565b610dd75760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610ab9565b610de18383612829565b505050565b6006546001600160a01b03163314610e105760405162461bcd60e51b8152600401610ab990613614565b600260225460ff166004811115610e2957610e296134ba565b14610e945760405162461bcd60e51b815260206004820152603560248201527f4379636c6f547572746c65733a204d75737420626520696e2070726573616c6560448201527420746f207374617274207075626c69632073616c6560581b6064820152608401610ab9565b600d805460ff199081169091556011805490911660011790556040517f9afc84c18e0f8f12cfb128e6ff74fbae562a3da56ef1f0ae082ed6e82a2b3d3790610ef6906020808252600690820152655075626c696360d01b604082015260600190565b60405180910390a1602280546003919060ff1916600183610ba2565b610f1c3382612897565b610f385760405162461bcd60e51b8152600401610ab9906136ab565b610de183838361298e565b6006546001600160a01b03163314610f6d5760405162461bcd60e51b8152600401610ab990613614565b6040514790339082156108fc029083906000818181858888f19350505050158015610f9c573d6000803e3d6000fd5b5050565b610de183838360405180602001604052806000815250611f99565b601b5460ff6101009091041615156001146110185760405162461bcd60e51b815260206004820152601f60248201527f4379636c6f547572746c65733a204275726e696e67206469617361626c6564006044820152606401610ab9565b6110223382612897565b6110845760405162461bcd60e51b815260206004820152602d60248201527f4379636c6f547572746c65733a2043616c6c6572206973206e6f74206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b6064820152608401610ab9565b61108d81612b2e565b6001601760008282546110a09190613712565b90915550506040518181527fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb906020015b60405180910390a150565b6006546001600160a01b031633146111065760405162461bcd60e51b8152600401610ab990613614565b6001600160a01b03821661116b5760405162461bcd60e51b815260206004820152602660248201527f4379636c6f547572746c65733a2043616e6e6f742073656e6420746f2030206160448201526564647265737360d01b6064820152608401610ab9565b6013548160175461117c9190613729565b11156111da5760405162461bcd60e51b815260206004820152602760248201527f4379636c6f547572746c65733a206d617820746f74616c20737570706c7920656044820152661e18d95959195960ca1b6064820152608401610ab9565b601454816018546111eb9190613729565b11156112485760405162461bcd60e51b815260206004820152602660248201527f4379636c6f547572746c65733a206d6178206769667420737570706c7920657860448201526518d95959195960d21b6064820152608401610ab9565b6000805b8281101561133157611262600780546001019055565b60075491506112718483612bc9565b6001600160a01b038416600090815260216020526040812080546001929061129a908490613729565b925050819055506001601760008282546112b49190613729565b925050819055506001601860008282546112ce9190613729565b9091555050604080516001600160a01b03861681526020810185905260608183018190526004908201526311da599d60e21b60808201529051600080516020613b938339815191529181900360a00190a18061132981613741565b91505061124c565b50505050565b6006546001600160a01b031633146113615760405162461bcd60e51b8152600401610ab990613614565b61136d6019838361319f565b507f8a274cdd629b9aae599b13d8bfee3ee4a15350b0386a9b64087a393db0093767828260405161139f92919061375c565b60405180910390a15050565b6000818152600260205260408120546001600160a01b031680610a895760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610ab9565b6006546001600160a01b0316331461144c5760405162461bcd60e51b8152600401610ab990613614565b601b80548215156101000261ff00199091161790556040517fe9ec95c4f3a5b4386539c2f0a17805c11d3709c5f5878a1709949133578ad449906110d190831515815260200190565b60006001600160a01b0382166115005760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610ab9565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146115465760405162461bcd60e51b8152600401610ab990613614565b6115506000612be3565b565b6006546001600160a01b0316331461157c5760405162461bcd60e51b8152600401610ab990613614565b60005b81811015610de157600083838381811061159b5761159b61378b565b90506020020160208101906115b09190613330565b6001600160a01b031614156115d75760405162461bcd60e51b8152600401610ab9906137a1565b601d60008484848181106115ed576115ed61378b565b90506020020160208101906116029190613330565b6001600160a01b0316815260208101919091526040016000205460ff16611679576001601d600085858581811061163b5761163b61378b565b90506020020160208101906116509190613330565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b7f88290a123cddedc4f20cf49dd9e997033d717c7c856beedca10c309246d7f0158383838181106116ac576116ac61378b565b90506020020160208101906116c19190613330565b6040516116ce91906137e2565b60405180910390a1806116e081613741565b91505061157f565b6006546001600160a01b031633146117125760405162461bcd60e51b8152600401610ab990613614565b600060225460ff16600481111561172b5761172b6134ba565b1461179e5760405162461bcd60e51b815260206004820152603c60248201527f4379636c6f547572746c65733a205649542073616c652063616e206f6e6c792060448201527f7374617274207768656e20776f726b666c6f77203d20706175736564000000006064820152608401610ab9565b6009805460ff191660011790556040517f9afc84c18e0f8f12cfb128e6ff74fbae562a3da56ef1f0ae082ed6e82a2b3d37906117d990613818565b60405180910390a1602280546001919060ff19168280610ba2565b60115460ff16151560011461181b5760405162461bcd60e51b8152600401610ab99061383b565b600a81111561187b5760405162461bcd60e51b815260206004820152602660248201527f4379636c6f547572746c65733a2043616e206f6e6c79206d696e74203130207060448201526532b9103a3c3760d11b6064820152608401610ab9565b60135460125461188c908390613729565b11156118ef5760405162461bcd60e51b815260206004820152602c60248201527f4379636c6f547572746c65733a2043616e6e6f7420657863656564206d61782060448201526b746f74616c20737570706c7960a01b6064820152608401610ab9565b60105434906118ff908390613884565b111561191d5760405162461bcd60e51b8152600401610ab9906138a3565b6000805b828110156119b257611937600780546001019055565b60075491506119463383612bc9565b3360009081526020805260408120805460019290611965908490613729565b90915550506012805460019190600090611980908490613729565b9250508190555060016017600082825461199a9190613729565b909155508190506119aa81613741565b915050611921565b5060408051338152602081018490526060818301819052600b908201526a5075626c69632073616c6560a81b60808201529051600080516020613b938339815191529181900360a00190a16013546017541415610f9c5750506022805460ff19908116600417909155601180549091169055565b606060018054610bb890613670565b6006546001600160a01b03163314611a5f5760405162461bcd60e51b8152600401610ab990613614565b60005b81811015610de1576000838383818110611a7e57611a7e61378b565b9050602002016020810190611a939190613330565b6001600160a01b03161415611aba5760405162461bcd60e51b8152600401610ab9906137a1565b601c6000848484818110611ad057611ad061378b565b9050602002016020810190611ae59190613330565b6001600160a01b0316815260208101919091526040016000205460ff16611b5c576001601c6000858585818110611b1e57611b1e61378b565b9050602002016020810190611b339190613330565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b7f88290a123cddedc4f20cf49dd9e997033d717c7c856beedca10c309246d7f015838383818110611b8f57611b8f61378b565b9050602002016020810190611ba49190613330565b604051611bb191906138ec565b60405180910390a180611bc381613741565b915050611a62565b6006546001600160a01b03163314611bf55760405162461bcd60e51b8152600401610ab990613614565b60005b81811015610de1576000838383818110611c1457611c1461378b565b9050602002016020810190611c299190613330565b6001600160a01b03161415611c505760405162461bcd60e51b8152600401610ab99061391e565b601c6000848484818110611c6657611c6661378b565b9050602002016020810190611c7b9190613330565b6001600160a01b0316815260208101919091526040016000205460ff16151560011415611cf8576000601c6000858585818110611cba57611cba61378b565b9050602002016020810190611ccf9190613330565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b7f1fa672ec71e21898a9948ee07ea0dea9e2900e612705d41e24ceadc69a5ac7e3838383818110611d2b57611d2b61378b565b9050602002016020810190611d409190613330565b604051611d4d91906138ec565b60405180910390a180611d5f81613741565b915050611bf8565b610f9c338383612c35565b6006546001600160a01b03163314611d9c5760405162461bcd60e51b8152600401610ab990613614565b601b805460ff19166001179055565b6006546001600160a01b03163314611dd55760405162461bcd60e51b8152600401610ab990613614565b60005b81811015610de1576000838383818110611df457611df461378b565b9050602002016020810190611e099190613330565b6001600160a01b03161415611e305760405162461bcd60e51b8152600401610ab99061391e565b601d6000848484818110611e4657611e4661378b565b9050602002016020810190611e5b9190613330565b6001600160a01b0316815260208101919091526040016000205460ff16151560011415611ed8576000601d6000858585818110611e9a57611e9a61378b565b9050602002016020810190611eaf9190613330565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b7f1fa672ec71e21898a9948ee07ea0dea9e2900e612705d41e24ceadc69a5ac7e3838383818110611f0b57611f0b61378b565b9050602002016020810190611f209190613330565b604051611f2d91906137e2565b60405180910390a180611f3f81613741565b915050611dd8565b6006546001600160a01b03163314611f715760405162461bcd60e51b8152600401610ab990613614565b6022805460ff199081169091556009805482169055600d805482169055601180549091169055565b611fa33383612897565b611fbf5760405162461bcd60e51b8152600401610ab9906136ab565b61133184848484612d04565b60095460ff161515600114611ff25760405162461bcd60e51b8152600401610ab99061383b565b336000908152601c602052604090205460ff16151560011461206a5760405162461bcd60e51b815260206004820152602b60248201527f4379636c6f547572746c65733a2043616c6c6572206973206e6f74206f6e207460448201526a1a1948159255081b1a5cdd60aa1b6064820152608401610ab9565b600a54336000908152601e6020526040902054612088908390613729565b11156120e75760405162461bcd60e51b815260206004820152602860248201527f4379636c6f547572746c65733a2043616e206f6e6c79206d696e7420352070656044820152671c881dd85b1b195d60c21b6064820152608401610ab9565b601554600b546120f8908390613729565b11156121555760405162461bcd60e51b815260206004820152602660248201527f4379636c6f547572746c65733a2043616e6e6f7420657863656564206d617820604482015265737570706c7960d01b6064820152608401610ab9565b6008543490612165908390613884565b11156121835760405162461bcd60e51b8152600401610ab9906138a3565b6000805b828110156122195761219d600780546001019055565b60075491506121ac3383612bc9565b336000908152601e602052604081208054600192906121cc908490613729565b925050819055506001601760008282546121e69190613729565b9091555050600b805460019190600090612201908490613729565b9091555081905061221181613741565b915050612187565b50600080516020613b93833981519152338360405161139f929190613964565b6000818152600260205260409020546060906001600160a01b03166122b65760405162461bcd60e51b815260206004820152602d60248201527f4379636c6f547572746c65733a2055524920717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610ab9565b601b5460ff1661235257601a80546122cd90613670565b80601f01602080910402602001604051908101604052809291908181526020018280546122f990613670565b80156123465780601f1061231b57610100808354040283529160200191612346565b820191906000526020600020905b81548152906001019060200180831161232957829003601f168201915b50505050509050919050565b60006019805461236190613670565b905011156123935760198260405160200161237d92919061399d565b6040516020818303038152906040529050919050565b610a8982612d37565b919050565b600d5460ff16151560011461240a5760405162461bcd60e51b815260206004820152602960248201527f4379636c6f547574726c65733a2053616c65206d75737420626520616374697660448201526819481d1bc81b5a5b9d60ba1b6064820152608401610ab9565b60058111156124695760405162461bcd60e51b815260206004820152602560248201527f4379636c6f547572746c65733a2043616e206f6e6c79206d696e74203520706560448201526439103a3c3760d91b6064820152608401610ab9565b336000908152601d602052604090205460ff1615156001146124e55760405162461bcd60e51b815260206004820152602f60248201527f4379636c6f547572746c65733a2043616c6c6572206973206e6f74206f6e207460448201526e1a19481c1c995cd85b19481b1a5cdd608a1b6064820152608401610ab9565b600e54336000908152601f6020526040902054612503908390613729565b11156125635760405162461bcd60e51b815260206004820152602960248201527f4379636c6f547572746c65733a2043616e206f6e6c79206d696e742031302070604482015268195c881dd85b1b195d60ba1b6064820152608401610ab9565b601654600f54612574908390613729565b11156125d95760405162461bcd60e51b815260206004820152602e60248201527f4379636c6f547572746c65733a2043616e6e6f7420657863656564206d61782060448201526d70726573616c6520737570706c7960901b6064820152608401610ab9565b600c5434906125e9908390613884565b11156126075760405162461bcd60e51b8152600401610ab9906138a3565b6000805b8281101561269d57612621600780546001019055565b60075491506126303383612bc9565b336000908152601f60205260408120805460019290612650908490613729565b9091555050600f80546001919060009061266b908490613729565b925050819055506001601760008282546126859190613729565b9091555081905061269581613741565b91505061260b565b50600080516020613b93833981519152338360405161139f929190613a3c565b6006546001600160a01b031633146126e75760405162461bcd60e51b8152600401610ab990613614565b6001600160a01b03811661274c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ab9565b61275581612be3565b50565b60008060225460ff166004811115612772576127726134ba565b141561277e5750600190565b600160225460ff166004811115612797576127976134ba565b14156127a35750600290565b600260225460ff1660048111156127bc576127bc6134ba565b14156127c85750600390565b600360225460ff1660048111156127e1576127e16134ba565b14156127ed5750600490565b50600590565b6006546001600160a01b0316331461281d5760405162461bcd60e51b8152600401610ab990613614565b610de1601a838361319f565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061285e826113ab565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166129105760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610ab9565b600061291b836113ab565b9050806001600160a01b0316846001600160a01b031614806129565750836001600160a01b031661294b84610c3b565b6001600160a01b0316145b8061298657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166129a1826113ab565b6001600160a01b031614612a095760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610ab9565b6001600160a01b038216612a6b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610ab9565b612a76600082612829565b6001600160a01b0383166000908152600360205260408120805460019290612a9f908490613712565b90915550506001600160a01b0382166000908152600360205260408120805460019290612acd908490613729565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000612b39826113ab565b9050612b46600083612829565b6001600160a01b0381166000908152600360205260408120805460019290612b6f908490613712565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b610f9c828260405180602001604052806000815250612e1f565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415612c975760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ab9565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612d0f84848461298e565b612d1b84848484612e52565b6113315760405162461bcd60e51b8152600401610ab990613a79565b6000818152600260205260409020546060906001600160a01b0316612db65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610ab9565b6000612dcd60408051602081019091526000815290565b90506000815111612ded5760405180602001604052806000815250612e18565b80612df784612f5f565b604051602001612e08929190613acb565b6040516020818303038152906040525b9392505050565b612e29838361305d565b612e366000848484612e52565b610de15760405162461bcd60e51b8152600401610ab990613a79565b60006001600160a01b0384163b15612f5457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612e96903390899088908890600401613afa565b602060405180830381600087803b158015612eb057600080fd5b505af1925050508015612ee0575060408051601f3d908101601f19168201909252612edd91810190613b37565b60015b612f3a573d808015612f0e576040519150601f19603f3d011682016040523d82523d6000602084013e612f13565b606091505b508051612f325760405162461bcd60e51b8152600401610ab990613a79565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612986565b506001949350505050565b606081612f835750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612fad5780612f9781613741565b9150612fa69050600a83613b6a565b9150612f87565b60008167ffffffffffffffff811115612fc857612fc86134f8565b6040519080825280601f01601f191660200182016040528015612ff2576020820181803683370190505b5090505b841561298657613007600183613712565b9150613014600a86613b7e565b61301f906030613729565b60f81b8183815181106130345761303461378b565b60200101906001600160f81b031916908160001a905350613056600a86613b6a565b9450612ff6565b6001600160a01b0382166130b35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ab9565b6000818152600260205260409020546001600160a01b0316156131185760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ab9565b6001600160a01b0382166000908152600360205260408120805460019290613141908490613729565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546131ab90613670565b90600052602060002090601f0160209004810192826131cd5760008555613213565b82601f106131e65782800160ff19823516178555613213565b82800160010185558215613213579182015b828111156132135782358255916020019190600101906131f8565b5061321f929150613223565b5090565b5b8082111561321f5760008155600101613224565b6001600160e01b03198116811461275557600080fd5b60006020828403121561326057600080fd5b8135612e1881613238565b60005b8381101561328657818101518382015260200161326e565b838111156113315750506000910152565b600081518084526132af81602086016020860161326b565b601f01601f19169290920160200192915050565b602081526000612e186020830184613297565b6000602082840312156132e857600080fd5b5035919050565b80356001600160a01b038116811461239c57600080fd5b6000806040838503121561331957600080fd5b613322836132ef565b946020939093013593505050565b60006020828403121561334257600080fd5b612e18826132ef565b60008060006060848603121561336057600080fd5b613369846132ef565b9250613377602085016132ef565b9150604084013590509250925092565b6000806020838503121561339a57600080fd5b823567ffffffffffffffff808211156133b257600080fd5b818501915085601f8301126133c657600080fd5b8135818111156133d557600080fd5b8660208285010111156133e757600080fd5b60209290920196919550909350505050565b8035801515811461239c57600080fd5b60006020828403121561341b57600080fd5b612e18826133f9565b6000806020838503121561343757600080fd5b823567ffffffffffffffff8082111561344f57600080fd5b818501915085601f83011261346357600080fd5b81358181111561347257600080fd5b8660208260051b85010111156133e757600080fd5b6000806040838503121561349a57600080fd5b6134a3836132ef565b91506134b1602084016133f9565b90509250929050565b634e487b7160e01b600052602160045260246000fd5b60208101600583106134f257634e487b7160e01b600052602160045260246000fd5b91905290565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561352457600080fd5b61352d856132ef565b935061353b602086016132ef565b925060408501359150606085013567ffffffffffffffff8082111561355f57600080fd5b818701915087601f83011261357357600080fd5b813581811115613585576135856134f8565b604051601f8201601f19908116603f011681019083821181831017156135ad576135ad6134f8565b816040528281528a60208487010111156135c657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156135fd57600080fd5b613606836132ef565b91506134b1602084016132ef565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602081526000610a8960208301600781526650726573616c6560c81b602082015260400190565b600181811c9082168061368457607f821691505b602082108114156136a557634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082821015613724576137246136fc565b500390565b6000821982111561373c5761373c6136fc565b500190565b6000600019821415613755576137556136fc565b5060010190565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b634e487b7160e01b600052603260045260246000fd5b60208082526021908201527f4379636c6f547572746c65733a2043616e2774206164642030206164647265736040820152607360f81b606082015260800190565b6001600160a01b03821681526040602082018190526007908201526650726573616c6560c81b6060820152600060808201612e18565b602081526000610a8960208301600381526215925560ea1b602082015260400190565b60208082526029908201527f4379636c6f547572746c65733a2053616c65206d75737420626520616374697660408201526819481d1bc81b5a5b9d60ba1b606082015260800190565b600081600019048311821515161561389e5761389e6136fc565b500290565b60208082526029908201527f4379636c6f547572746c65733a2045746865722076616c75652073656e7420696040820152687320746f6f206c6f7760b81b606082015260800190565b6001600160a01b03821681526040602082018190526003908201526215925560ea1b6060820152600060808201612e18565b60208082526026908201527f4379636c6f547572746c65733a2043616e2774206164642061207a65726f206160408201526564647265737360d01b606082015260800190565b6001600160a01b0383168152602081018290526060604082018190526003908201526215925560ea1b6080820152600060a08201612986565b600080845481600182811c9150808316806139b957607f831692505b60208084108214156139d957634e487b7160e01b86526022600452602486fd5b8180156139ed57600181146139fe57613a2b565b60ff19861689528489019650613a2b565b60008b81526020902060005b86811015613a235781548b820152908501908301613a0a565b505084890196505b509785525050509301949350505050565b6001600160a01b0383168152602081018290526060604082018190526007908201526650726573616c6560c81b6080820152600060a08201612986565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351613add81846020880161326b565b835190830190613af181836020880161326b565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613b2d90830184613297565b9695505050505050565b600060208284031215613b4957600080fd5b8151612e1881613238565b634e487b7160e01b600052601260045260246000fd5b600082613b7957613b79613b54565b500490565b600082613b8d57613b8d613b54565b50069056fe85a66b9141978db9980f7e0ce3b468cebf4f7999f32b23091c5c03e798b1ba7aa26469706673582212206cbc6ebc2af4702366d3e0878ab10426f0b9d55434be0cccfae72d3d607d932664736f6c63430008090033
Deployed Bytecode
0x6080604052600436106103355760003560e01c80637204a3c9116101ab578063b379a559116100f7578063e985e9c511610095578063f2fde38b1161006f578063f2fde38b146109c2578063f75d64a6146109e2578063fd88fa69146109f7578063fe2c7fee14610a1d57600080fd5b8063e985e9c514610936578063ed7003741461097f578063edc88ef21461099557600080fd5b8063c66474ce116100d1578063c66474ce146108da578063c87b56dd146108ed578063c9b298f11461090d578063e7d92c861461092057600080fd5b8063b379a55914610890578063b88d4fde146108a5578063c4e41b22146108c557600080fd5b806395d89b4111610164578063a22cb4651161013e578063a22cb46514610814578063a334412514610834578063a475b5dd1461085b578063b179e0601461087057600080fd5b806395d89b41146107bf57806397207e10146107d45780639e5d1028146107f457600080fd5b80637204a3c9146106ef5780637cf0b0771461070f5780638ca887ca146107245780638cc4de19146107375780638da5cb5b1461076457806390aa0b0f1461078257600080fd5b80633ccfd60b1161028557806355f804b3116102235780636352211e116101fd5780636352211e1461067a5780636e0e5b191461069a57806370a08231146106ba578063715018a6146106da57600080fd5b806355f804b31461060b5780635cb607761461062b5780635edbc28c1461066457600080fd5b806345bf9b151161025f57806345bf9b151461056b5780635176bcf71461058b57806351830227146105c457806352d728d9146105de57600080fd5b80633ccfd60b1461051657806342842e0e1461052b57806342966c681461054b57600080fd5b806309c3fbb7116102f257806322c0f850116102cc57806322c0f8501461048457806323b872dd1461049a5780632ab4d052146104ba5780633c17c39a146104d057600080fd5b806309c3fbb71461041f5780630c1c972a1461045957806321bdb26e1461046e57600080fd5b806301ffc9a71461033a57806304c98b2b1461036f57806306fdde031461038657806307ebec27146103a8578063081812fc146103c7578063095ea7b3146103ff575b600080fd5b34801561034657600080fd5b5061035a61035536600461324e565b610a3d565b60405190151581526020015b60405180910390f35b34801561037b57600080fd5b50610384610a8f565b005b34801561039257600080fd5b5061039b610ba9565b60405161036691906132c3565b3480156103b457600080fd5b50601b5461035a90610100900460ff1681565b3480156103d357600080fd5b506103e76103e23660046132d6565b610c3b565b6040516001600160a01b039091168152602001610366565b34801561040b57600080fd5b5061038461041a366004613306565b610cd0565b34801561042b57600080fd5b5061044b61043a366004613330565b602080526000908152604090205481565b604051908152602001610366565b34801561046557600080fd5b50610384610de6565b34801561047a57600080fd5b5061044b60165481565b34801561049057600080fd5b5061044b60175481565b3480156104a657600080fd5b506103846104b536600461334b565b610f12565b3480156104c657600080fd5b5061044b60135481565b3480156104dc57600080fd5b50600854600954600a54600b546104f6939260ff16919084565b604080519485529215156020850152918301526060820152608001610366565b34801561052257600080fd5b50610384610f43565b34801561053757600080fd5b5061038461054636600461334b565b610fa0565b34801561055757600080fd5b506103846105663660046132d6565b610fbb565b34801561057757600080fd5b50610384610586366004613306565b6110dc565b34801561059757600080fd5b5061035a6105a6366004613330565b6001600160a01b03166000908152601d602052604090205460ff1690565b3480156105d057600080fd5b50601b5461035a9060ff1681565b3480156105ea57600080fd5b5061044b6105f9366004613330565b60216020526000908152604090205481565b34801561061757600080fd5b50610384610626366004613387565b611337565b34801561063757600080fd5b5061035a610646366004613330565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561067057600080fd5b5061044b60145481565b34801561068657600080fd5b506103e76106953660046132d6565b6113ab565b3480156106a657600080fd5b506103846106b5366004613409565b611422565b3480156106c657600080fd5b5061044b6106d5366004613330565b611495565b3480156106e657600080fd5b5061038461151c565b3480156106fb57600080fd5b5061038461070a366004613424565b611552565b34801561071b57600080fd5b506103846116e8565b6103846107323660046132d6565b6117f4565b34801561074357600080fd5b5061044b610752366004613330565b601f6020526000908152604090205481565b34801561077057600080fd5b506006546001600160a01b03166103e7565b34801561078e57600080fd5b506010546011546012546107a4929160ff169083565b60408051938452911515602084015290820152606001610366565b3480156107cb57600080fd5b5061039b611a26565b3480156107e057600080fd5b506103846107ef366004613424565b611a35565b34801561080057600080fd5b5061038461080f366004613424565b611bcb565b34801561082057600080fd5b5061038461082f366004613487565b611d67565b34801561084057600080fd5b5060225461084e9060ff1681565b60405161036691906134d0565b34801561086757600080fd5b50610384611d72565b34801561087c57600080fd5b5061038461088b366004613424565b611dab565b34801561089c57600080fd5b50610384611f47565b3480156108b157600080fd5b506103846108c036600461350e565b611f99565b3480156108d157600080fd5b5060175461044b565b6103846108e83660046132d6565b611fcb565b3480156108f957600080fd5b5061039b6109083660046132d6565b612239565b61038461091b3660046132d6565b6123a1565b34801561092c57600080fd5b5061044b60155481565b34801561094257600080fd5b5061035a6109513660046135ea565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561098b57600080fd5b5061044b60185481565b3480156109a157600080fd5b5061044b6109b0366004613330565b601e6020526000908152604090205481565b3480156109ce57600080fd5b506103846109dd366004613330565b6126bd565b3480156109ee57600080fd5b5061044b612758565b348015610a0357600080fd5b50600c54600d54600e54600f546104f6939260ff16919084565b348015610a2957600080fd5b50610384610a38366004613387565b6127f3565b60006001600160e01b031982166380ac58cd60e01b1480610a6e57506001600160e01b03198216635b5e139f60e01b145b80610a8957506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b03163314610ac25760405162461bcd60e51b8152600401610ab990613614565b60405180910390fd5b600160225460ff166004811115610adb57610adb6134ba565b14610b435760405162461bcd60e51b815260206004820152603260248201527f4379636c6f547572746c65733a204d75737420626520696e205649542073616c6044820152716520746f2073746172742070726573616c6560701b6064820152608401610ab9565b6009805460ff19908116909155600d805490911660011790556040517f9afc84c18e0f8f12cfb128e6ff74fbae562a3da56ef1f0ae082ed6e82a2b3d3790610b8a90613649565b60405180910390a1602280546002919060ff19166001835b0217905550565b606060008054610bb890613670565b80601f0160208091040260200160405190810160405280929190818152602001828054610be490613670565b8015610c315780601f10610c0657610100808354040283529160200191610c31565b820191906000526020600020905b815481529060010190602001808311610c1457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610cb45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610ab9565b506000908152600460205260409020546001600160a01b031690565b6000610cdb826113ab565b9050806001600160a01b0316836001600160a01b03161415610d495760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610ab9565b336001600160a01b0382161480610d655750610d658133610951565b610dd75760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610ab9565b610de18383612829565b505050565b6006546001600160a01b03163314610e105760405162461bcd60e51b8152600401610ab990613614565b600260225460ff166004811115610e2957610e296134ba565b14610e945760405162461bcd60e51b815260206004820152603560248201527f4379636c6f547572746c65733a204d75737420626520696e2070726573616c6560448201527420746f207374617274207075626c69632073616c6560581b6064820152608401610ab9565b600d805460ff199081169091556011805490911660011790556040517f9afc84c18e0f8f12cfb128e6ff74fbae562a3da56ef1f0ae082ed6e82a2b3d3790610ef6906020808252600690820152655075626c696360d01b604082015260600190565b60405180910390a1602280546003919060ff1916600183610ba2565b610f1c3382612897565b610f385760405162461bcd60e51b8152600401610ab9906136ab565b610de183838361298e565b6006546001600160a01b03163314610f6d5760405162461bcd60e51b8152600401610ab990613614565b6040514790339082156108fc029083906000818181858888f19350505050158015610f9c573d6000803e3d6000fd5b5050565b610de183838360405180602001604052806000815250611f99565b601b5460ff6101009091041615156001146110185760405162461bcd60e51b815260206004820152601f60248201527f4379636c6f547572746c65733a204275726e696e67206469617361626c6564006044820152606401610ab9565b6110223382612897565b6110845760405162461bcd60e51b815260206004820152602d60248201527f4379636c6f547572746c65733a2043616c6c6572206973206e6f74206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b6064820152608401610ab9565b61108d81612b2e565b6001601760008282546110a09190613712565b90915550506040518181527fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb906020015b60405180910390a150565b6006546001600160a01b031633146111065760405162461bcd60e51b8152600401610ab990613614565b6001600160a01b03821661116b5760405162461bcd60e51b815260206004820152602660248201527f4379636c6f547572746c65733a2043616e6e6f742073656e6420746f2030206160448201526564647265737360d01b6064820152608401610ab9565b6013548160175461117c9190613729565b11156111da5760405162461bcd60e51b815260206004820152602760248201527f4379636c6f547572746c65733a206d617820746f74616c20737570706c7920656044820152661e18d95959195960ca1b6064820152608401610ab9565b601454816018546111eb9190613729565b11156112485760405162461bcd60e51b815260206004820152602660248201527f4379636c6f547572746c65733a206d6178206769667420737570706c7920657860448201526518d95959195960d21b6064820152608401610ab9565b6000805b8281101561133157611262600780546001019055565b60075491506112718483612bc9565b6001600160a01b038416600090815260216020526040812080546001929061129a908490613729565b925050819055506001601760008282546112b49190613729565b925050819055506001601860008282546112ce9190613729565b9091555050604080516001600160a01b03861681526020810185905260608183018190526004908201526311da599d60e21b60808201529051600080516020613b938339815191529181900360a00190a18061132981613741565b91505061124c565b50505050565b6006546001600160a01b031633146113615760405162461bcd60e51b8152600401610ab990613614565b61136d6019838361319f565b507f8a274cdd629b9aae599b13d8bfee3ee4a15350b0386a9b64087a393db0093767828260405161139f92919061375c565b60405180910390a15050565b6000818152600260205260408120546001600160a01b031680610a895760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610ab9565b6006546001600160a01b0316331461144c5760405162461bcd60e51b8152600401610ab990613614565b601b80548215156101000261ff00199091161790556040517fe9ec95c4f3a5b4386539c2f0a17805c11d3709c5f5878a1709949133578ad449906110d190831515815260200190565b60006001600160a01b0382166115005760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610ab9565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146115465760405162461bcd60e51b8152600401610ab990613614565b6115506000612be3565b565b6006546001600160a01b0316331461157c5760405162461bcd60e51b8152600401610ab990613614565b60005b81811015610de157600083838381811061159b5761159b61378b565b90506020020160208101906115b09190613330565b6001600160a01b031614156115d75760405162461bcd60e51b8152600401610ab9906137a1565b601d60008484848181106115ed576115ed61378b565b90506020020160208101906116029190613330565b6001600160a01b0316815260208101919091526040016000205460ff16611679576001601d600085858581811061163b5761163b61378b565b90506020020160208101906116509190613330565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b7f88290a123cddedc4f20cf49dd9e997033d717c7c856beedca10c309246d7f0158383838181106116ac576116ac61378b565b90506020020160208101906116c19190613330565b6040516116ce91906137e2565b60405180910390a1806116e081613741565b91505061157f565b6006546001600160a01b031633146117125760405162461bcd60e51b8152600401610ab990613614565b600060225460ff16600481111561172b5761172b6134ba565b1461179e5760405162461bcd60e51b815260206004820152603c60248201527f4379636c6f547572746c65733a205649542073616c652063616e206f6e6c792060448201527f7374617274207768656e20776f726b666c6f77203d20706175736564000000006064820152608401610ab9565b6009805460ff191660011790556040517f9afc84c18e0f8f12cfb128e6ff74fbae562a3da56ef1f0ae082ed6e82a2b3d37906117d990613818565b60405180910390a1602280546001919060ff19168280610ba2565b60115460ff16151560011461181b5760405162461bcd60e51b8152600401610ab99061383b565b600a81111561187b5760405162461bcd60e51b815260206004820152602660248201527f4379636c6f547572746c65733a2043616e206f6e6c79206d696e74203130207060448201526532b9103a3c3760d11b6064820152608401610ab9565b60135460125461188c908390613729565b11156118ef5760405162461bcd60e51b815260206004820152602c60248201527f4379636c6f547572746c65733a2043616e6e6f7420657863656564206d61782060448201526b746f74616c20737570706c7960a01b6064820152608401610ab9565b60105434906118ff908390613884565b111561191d5760405162461bcd60e51b8152600401610ab9906138a3565b6000805b828110156119b257611937600780546001019055565b60075491506119463383612bc9565b3360009081526020805260408120805460019290611965908490613729565b90915550506012805460019190600090611980908490613729565b9250508190555060016017600082825461199a9190613729565b909155508190506119aa81613741565b915050611921565b5060408051338152602081018490526060818301819052600b908201526a5075626c69632073616c6560a81b60808201529051600080516020613b938339815191529181900360a00190a16013546017541415610f9c5750506022805460ff19908116600417909155601180549091169055565b606060018054610bb890613670565b6006546001600160a01b03163314611a5f5760405162461bcd60e51b8152600401610ab990613614565b60005b81811015610de1576000838383818110611a7e57611a7e61378b565b9050602002016020810190611a939190613330565b6001600160a01b03161415611aba5760405162461bcd60e51b8152600401610ab9906137a1565b601c6000848484818110611ad057611ad061378b565b9050602002016020810190611ae59190613330565b6001600160a01b0316815260208101919091526040016000205460ff16611b5c576001601c6000858585818110611b1e57611b1e61378b565b9050602002016020810190611b339190613330565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b7f88290a123cddedc4f20cf49dd9e997033d717c7c856beedca10c309246d7f015838383818110611b8f57611b8f61378b565b9050602002016020810190611ba49190613330565b604051611bb191906138ec565b60405180910390a180611bc381613741565b915050611a62565b6006546001600160a01b03163314611bf55760405162461bcd60e51b8152600401610ab990613614565b60005b81811015610de1576000838383818110611c1457611c1461378b565b9050602002016020810190611c299190613330565b6001600160a01b03161415611c505760405162461bcd60e51b8152600401610ab99061391e565b601c6000848484818110611c6657611c6661378b565b9050602002016020810190611c7b9190613330565b6001600160a01b0316815260208101919091526040016000205460ff16151560011415611cf8576000601c6000858585818110611cba57611cba61378b565b9050602002016020810190611ccf9190613330565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b7f1fa672ec71e21898a9948ee07ea0dea9e2900e612705d41e24ceadc69a5ac7e3838383818110611d2b57611d2b61378b565b9050602002016020810190611d409190613330565b604051611d4d91906138ec565b60405180910390a180611d5f81613741565b915050611bf8565b610f9c338383612c35565b6006546001600160a01b03163314611d9c5760405162461bcd60e51b8152600401610ab990613614565b601b805460ff19166001179055565b6006546001600160a01b03163314611dd55760405162461bcd60e51b8152600401610ab990613614565b60005b81811015610de1576000838383818110611df457611df461378b565b9050602002016020810190611e099190613330565b6001600160a01b03161415611e305760405162461bcd60e51b8152600401610ab99061391e565b601d6000848484818110611e4657611e4661378b565b9050602002016020810190611e5b9190613330565b6001600160a01b0316815260208101919091526040016000205460ff16151560011415611ed8576000601d6000858585818110611e9a57611e9a61378b565b9050602002016020810190611eaf9190613330565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b7f1fa672ec71e21898a9948ee07ea0dea9e2900e612705d41e24ceadc69a5ac7e3838383818110611f0b57611f0b61378b565b9050602002016020810190611f209190613330565b604051611f2d91906137e2565b60405180910390a180611f3f81613741565b915050611dd8565b6006546001600160a01b03163314611f715760405162461bcd60e51b8152600401610ab990613614565b6022805460ff199081169091556009805482169055600d805482169055601180549091169055565b611fa33383612897565b611fbf5760405162461bcd60e51b8152600401610ab9906136ab565b61133184848484612d04565b60095460ff161515600114611ff25760405162461bcd60e51b8152600401610ab99061383b565b336000908152601c602052604090205460ff16151560011461206a5760405162461bcd60e51b815260206004820152602b60248201527f4379636c6f547572746c65733a2043616c6c6572206973206e6f74206f6e207460448201526a1a1948159255081b1a5cdd60aa1b6064820152608401610ab9565b600a54336000908152601e6020526040902054612088908390613729565b11156120e75760405162461bcd60e51b815260206004820152602860248201527f4379636c6f547572746c65733a2043616e206f6e6c79206d696e7420352070656044820152671c881dd85b1b195d60c21b6064820152608401610ab9565b601554600b546120f8908390613729565b11156121555760405162461bcd60e51b815260206004820152602660248201527f4379636c6f547572746c65733a2043616e6e6f7420657863656564206d617820604482015265737570706c7960d01b6064820152608401610ab9565b6008543490612165908390613884565b11156121835760405162461bcd60e51b8152600401610ab9906138a3565b6000805b828110156122195761219d600780546001019055565b60075491506121ac3383612bc9565b336000908152601e602052604081208054600192906121cc908490613729565b925050819055506001601760008282546121e69190613729565b9091555050600b805460019190600090612201908490613729565b9091555081905061221181613741565b915050612187565b50600080516020613b93833981519152338360405161139f929190613964565b6000818152600260205260409020546060906001600160a01b03166122b65760405162461bcd60e51b815260206004820152602d60248201527f4379636c6f547572746c65733a2055524920717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610ab9565b601b5460ff1661235257601a80546122cd90613670565b80601f01602080910402602001604051908101604052809291908181526020018280546122f990613670565b80156123465780601f1061231b57610100808354040283529160200191612346565b820191906000526020600020905b81548152906001019060200180831161232957829003601f168201915b50505050509050919050565b60006019805461236190613670565b905011156123935760198260405160200161237d92919061399d565b6040516020818303038152906040529050919050565b610a8982612d37565b919050565b600d5460ff16151560011461240a5760405162461bcd60e51b815260206004820152602960248201527f4379636c6f547574726c65733a2053616c65206d75737420626520616374697660448201526819481d1bc81b5a5b9d60ba1b6064820152608401610ab9565b60058111156124695760405162461bcd60e51b815260206004820152602560248201527f4379636c6f547572746c65733a2043616e206f6e6c79206d696e74203520706560448201526439103a3c3760d91b6064820152608401610ab9565b336000908152601d602052604090205460ff1615156001146124e55760405162461bcd60e51b815260206004820152602f60248201527f4379636c6f547572746c65733a2043616c6c6572206973206e6f74206f6e207460448201526e1a19481c1c995cd85b19481b1a5cdd608a1b6064820152608401610ab9565b600e54336000908152601f6020526040902054612503908390613729565b11156125635760405162461bcd60e51b815260206004820152602960248201527f4379636c6f547572746c65733a2043616e206f6e6c79206d696e742031302070604482015268195c881dd85b1b195d60ba1b6064820152608401610ab9565b601654600f54612574908390613729565b11156125d95760405162461bcd60e51b815260206004820152602e60248201527f4379636c6f547572746c65733a2043616e6e6f7420657863656564206d61782060448201526d70726573616c6520737570706c7960901b6064820152608401610ab9565b600c5434906125e9908390613884565b11156126075760405162461bcd60e51b8152600401610ab9906138a3565b6000805b8281101561269d57612621600780546001019055565b60075491506126303383612bc9565b336000908152601f60205260408120805460019290612650908490613729565b9091555050600f80546001919060009061266b908490613729565b925050819055506001601760008282546126859190613729565b9091555081905061269581613741565b91505061260b565b50600080516020613b93833981519152338360405161139f929190613a3c565b6006546001600160a01b031633146126e75760405162461bcd60e51b8152600401610ab990613614565b6001600160a01b03811661274c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ab9565b61275581612be3565b50565b60008060225460ff166004811115612772576127726134ba565b141561277e5750600190565b600160225460ff166004811115612797576127976134ba565b14156127a35750600290565b600260225460ff1660048111156127bc576127bc6134ba565b14156127c85750600390565b600360225460ff1660048111156127e1576127e16134ba565b14156127ed5750600490565b50600590565b6006546001600160a01b0316331461281d5760405162461bcd60e51b8152600401610ab990613614565b610de1601a838361319f565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061285e826113ab565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166129105760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610ab9565b600061291b836113ab565b9050806001600160a01b0316846001600160a01b031614806129565750836001600160a01b031661294b84610c3b565b6001600160a01b0316145b8061298657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166129a1826113ab565b6001600160a01b031614612a095760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610ab9565b6001600160a01b038216612a6b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610ab9565b612a76600082612829565b6001600160a01b0383166000908152600360205260408120805460019290612a9f908490613712565b90915550506001600160a01b0382166000908152600360205260408120805460019290612acd908490613729565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000612b39826113ab565b9050612b46600083612829565b6001600160a01b0381166000908152600360205260408120805460019290612b6f908490613712565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b610f9c828260405180602001604052806000815250612e1f565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415612c975760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ab9565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612d0f84848461298e565b612d1b84848484612e52565b6113315760405162461bcd60e51b8152600401610ab990613a79565b6000818152600260205260409020546060906001600160a01b0316612db65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610ab9565b6000612dcd60408051602081019091526000815290565b90506000815111612ded5760405180602001604052806000815250612e18565b80612df784612f5f565b604051602001612e08929190613acb565b6040516020818303038152906040525b9392505050565b612e29838361305d565b612e366000848484612e52565b610de15760405162461bcd60e51b8152600401610ab990613a79565b60006001600160a01b0384163b15612f5457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612e96903390899088908890600401613afa565b602060405180830381600087803b158015612eb057600080fd5b505af1925050508015612ee0575060408051601f3d908101601f19168201909252612edd91810190613b37565b60015b612f3a573d808015612f0e576040519150601f19603f3d011682016040523d82523d6000602084013e612f13565b606091505b508051612f325760405162461bcd60e51b8152600401610ab990613a79565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612986565b506001949350505050565b606081612f835750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612fad5780612f9781613741565b9150612fa69050600a83613b6a565b9150612f87565b60008167ffffffffffffffff811115612fc857612fc86134f8565b6040519080825280601f01601f191660200182016040528015612ff2576020820181803683370190505b5090505b841561298657613007600183613712565b9150613014600a86613b7e565b61301f906030613729565b60f81b8183815181106130345761303461378b565b60200101906001600160f81b031916908160001a905350613056600a86613b6a565b9450612ff6565b6001600160a01b0382166130b35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ab9565b6000818152600260205260409020546001600160a01b0316156131185760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ab9565b6001600160a01b0382166000908152600360205260408120805460019290613141908490613729565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546131ab90613670565b90600052602060002090601f0160209004810192826131cd5760008555613213565b82601f106131e65782800160ff19823516178555613213565b82800160010185558215613213579182015b828111156132135782358255916020019190600101906131f8565b5061321f929150613223565b5090565b5b8082111561321f5760008155600101613224565b6001600160e01b03198116811461275557600080fd5b60006020828403121561326057600080fd5b8135612e1881613238565b60005b8381101561328657818101518382015260200161326e565b838111156113315750506000910152565b600081518084526132af81602086016020860161326b565b601f01601f19169290920160200192915050565b602081526000612e186020830184613297565b6000602082840312156132e857600080fd5b5035919050565b80356001600160a01b038116811461239c57600080fd5b6000806040838503121561331957600080fd5b613322836132ef565b946020939093013593505050565b60006020828403121561334257600080fd5b612e18826132ef565b60008060006060848603121561336057600080fd5b613369846132ef565b9250613377602085016132ef565b9150604084013590509250925092565b6000806020838503121561339a57600080fd5b823567ffffffffffffffff808211156133b257600080fd5b818501915085601f8301126133c657600080fd5b8135818111156133d557600080fd5b8660208285010111156133e757600080fd5b60209290920196919550909350505050565b8035801515811461239c57600080fd5b60006020828403121561341b57600080fd5b612e18826133f9565b6000806020838503121561343757600080fd5b823567ffffffffffffffff8082111561344f57600080fd5b818501915085601f83011261346357600080fd5b81358181111561347257600080fd5b8660208260051b85010111156133e757600080fd5b6000806040838503121561349a57600080fd5b6134a3836132ef565b91506134b1602084016133f9565b90509250929050565b634e487b7160e01b600052602160045260246000fd5b60208101600583106134f257634e487b7160e01b600052602160045260246000fd5b91905290565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561352457600080fd5b61352d856132ef565b935061353b602086016132ef565b925060408501359150606085013567ffffffffffffffff8082111561355f57600080fd5b818701915087601f83011261357357600080fd5b813581811115613585576135856134f8565b604051601f8201601f19908116603f011681019083821181831017156135ad576135ad6134f8565b816040528281528a60208487010111156135c657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156135fd57600080fd5b613606836132ef565b91506134b1602084016132ef565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602081526000610a8960208301600781526650726573616c6560c81b602082015260400190565b600181811c9082168061368457607f821691505b602082108114156136a557634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082821015613724576137246136fc565b500390565b6000821982111561373c5761373c6136fc565b500190565b6000600019821415613755576137556136fc565b5060010190565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b634e487b7160e01b600052603260045260246000fd5b60208082526021908201527f4379636c6f547572746c65733a2043616e2774206164642030206164647265736040820152607360f81b606082015260800190565b6001600160a01b03821681526040602082018190526007908201526650726573616c6560c81b6060820152600060808201612e18565b602081526000610a8960208301600381526215925560ea1b602082015260400190565b60208082526029908201527f4379636c6f547572746c65733a2053616c65206d75737420626520616374697660408201526819481d1bc81b5a5b9d60ba1b606082015260800190565b600081600019048311821515161561389e5761389e6136fc565b500290565b60208082526029908201527f4379636c6f547572746c65733a2045746865722076616c75652073656e7420696040820152687320746f6f206c6f7760b81b606082015260800190565b6001600160a01b03821681526040602082018190526003908201526215925560ea1b6060820152600060808201612e18565b60208082526026908201527f4379636c6f547572746c65733a2043616e2774206164642061207a65726f206160408201526564647265737360d01b606082015260800190565b6001600160a01b0383168152602081018290526060604082018190526003908201526215925560ea1b6080820152600060a08201612986565b600080845481600182811c9150808316806139b957607f831692505b60208084108214156139d957634e487b7160e01b86526022600452602486fd5b8180156139ed57600181146139fe57613a2b565b60ff19861689528489019650613a2b565b60008b81526020902060005b86811015613a235781548b820152908501908301613a0a565b505084890196505b509785525050509301949350505050565b6001600160a01b0383168152602081018290526060604082018190526007908201526650726573616c6560c81b6080820152600060a08201612986565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351613add81846020880161326b565b835190830190613af181836020880161326b565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613b2d90830184613297565b9695505050505050565b600060208284031215613b4957600080fd5b8151612e1881613238565b634e487b7160e01b600052601260045260246000fd5b600082613b7957613b79613b54565b500490565b600082613b8d57613b8d613b54565b50069056fe85a66b9141978db9980f7e0ce3b468cebf4f7999f32b23091c5c03e798b1ba7aa26469706673582212206cbc6ebc2af4702366d3e0878ab10426f0b9d55434be0cccfae72d3d607d932664736f6c63430008090033
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.