Token Ninja_fu_Warrior
Overview CRC721
Total Supply:
600 NFUW
Holders:
102 addresses
Transfers:
-
Contract:
[ Download CSV Export ]
[ Download CSV Export ]
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NinjaFuWarriorNFT
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Developer: https://twitter.com/0xArtCro pragma solidity ^0.8.15; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract NinjaFuWarriorNFT is Ownable, ERC721Enumerable, ReentrancyGuard { // Minting bool private paused; string private baseTokenURI; uint256 public whitelistStartTimestamp = 1663961400; uint256 public publicStartTimestamp = 1663963200; mapping(address => bool) private whitelist; mapping(address => uint256) private presaleBalance; // Royalties uint256 public totalRoyalties = 0; mapping(uint256 => uint256) private claimedRoyalties; uint256 private currentRoyalties = 0; // Payout uint256 private mintRewards = 0; uint256 public launchpadRewards = 0; address public immutable crodooWallet; address public immutable projectWallet; address public immutable degensWallet; // Events event MintStatusChanged(bool paused); event WhitelistUpdated(uint256 count); event RoyaltiesAdded(uint256 amount); event RoyaltiesClaimed(address indexed sender, uint256 amount); event Minted( address indexed sender, uint256 currentSupply, uint256 amount, uint256 time ); // Errors error MintNotOpen(); error PausedMint(); error AddingNoRewards(); error InsufficientPayment(); error CannotMintZero(); error OverMint(); error MintLimit(); error PresaleMintLimit(); error NoTokenMintedYet(); error WalletLimitReached(); // Constants uint256 public constant MAX_SUPPLY = 600; uint256 public constant MAX_MINT = 3; uint256 public constant MAX_PRESALE = 2; uint256 public constant MAX_PER_WALLET = 25; uint256 public constant WHITELIST_MINT_PRICE = 125 ether; uint256 public constant MINT_PRICE = 150 ether; uint256 public constant MINT_ROYALTIES = 10; uint256 public constant LAUNCHPAD_ROYALTIES = 10; uint256 public constant DEGEN_ROYALTIES = 5; // Structs struct MintInfo { bool paused; uint256 mintPrice; uint256 whitelistPrice; uint256 supply; uint256 maxSupply; uint256 maxMint; uint256 publicTimestamp; uint256 wlTimestamp; } constructor( string memory name_, string memory symbol_, string memory uri_, address crodooWallet_, address projectWallet_, address degensWallet_ ) ERC721(name_, symbol_) { baseTokenURI = uri_; crodooWallet = crodooWallet_; projectWallet = projectWallet_; degensWallet = degensWallet_; } // Owner // - Setup function setBaseTokenURI(string memory uri) public onlyOwner { baseTokenURI = uri; } function addWhitelist(address[] memory _whitelist) external onlyOwner { for (uint256 i = 0; i < _whitelist.length; ) { whitelist[_whitelist[i]] = true; unchecked { ++i; } } emit WhitelistUpdated(_whitelist.length); } // - Team minting function teamMint(uint256 amount, address to) external onlyOwner nonReentrant { uint currentSupply = totalSupply(); if (currentSupply + amount > MAX_SUPPLY) revert OverMint(); for (uint256 i = 1; i <= amount; ) { _safeMint(to, currentSupply + i); unchecked { claimedRoyalties[currentSupply + i] = currentRoyalties; ++i; } } emit Minted(_msgSender(), currentSupply, amount, block.timestamp); } // - Team Funds function emergencyWithdraw(uint256 amount) public onlyOwner { payable(owner()).transfer(amount); } function _payoutCroDoo(uint256 _amount) private { (bool success, ) = payable(crodooWallet).call{ value: _amount, gas: 50000 }(""); require(success, "Cannot payout CroDoo"); } function _payout(uint256 _amount) private { (bool success, ) = payable(projectWallet).call{ value: _amount, gas: 50000 }(""); require(success, "Cannot payout"); } function _payoutDegens(uint256 _amount) private { (bool success, ) = payable(degensWallet).call{ value: _amount, gas: 50000 }(""); require(success, "Cannot payout Degens"); } // External function addRoyalties() external payable { addRewards(msg.value); } function mint(uint256 amount) external payable nonReentrant { if (paused) revert PausedMint(); if ( !isWhitelisted(_msgSender()) && block.timestamp < publicStartTimestamp ) revert MintNotOpen(); if (block.timestamp < whitelistStartTimestamp) revert MintNotOpen(); if (amount > MAX_MINT) revert MintLimit(); if (amount == 0) revert CannotMintZero(); uint256 ownerTokenCount = balanceOf(_msgSender()); if (ownerTokenCount + amount > MAX_PER_WALLET) revert WalletLimitReached(); uint256 price = MINT_PRICE; if (isWhitelisted(_msgSender())) { if ( block.timestamp < publicStartTimestamp && presaleBalance[_msgSender()] + amount > 2 ) { revert PresaleMintLimit(); } presaleBalance[_msgSender()] += amount; price = WHITELIST_MINT_PRICE; } uint256 totalPrice = price * amount; uint currentSupply = totalSupply(); if (currentSupply + amount > MAX_SUPPLY) revert OverMint(); if (msg.value != totalPrice) revert InsufficientPayment(); uint256 royalties = 0; if (currentSupply > 0) { royalties = (totalPrice * MINT_ROYALTIES) / 100; addRewards(royalties); } for (uint256 i = 1; i <= amount; ) { _safeMint(_msgSender(), currentSupply + i); unchecked { claimedRoyalties[currentSupply + i] = currentRoyalties; ++i; } } uint256 launchpadRoyalties = (totalPrice * LAUNCHPAD_ROYALTIES) / 100; uint256 degenRoyalties = (totalPrice * DEGEN_ROYALTIES) / 100; uint256 payout = totalPrice - royalties - launchpadRoyalties - degenRoyalties; mintRewards += payout; launchpadRewards += launchpadRoyalties; _payout(payout); _payoutDegens(degenRoyalties); _payoutCroDoo(launchpadRoyalties); emit Minted(_msgSender(), currentSupply, amount, block.timestamp); } function tokensOfWallet(address _address) external view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_address); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_address, i); } return tokenIds; } function claimAllRoyalties() external { uint256 rewards = 0; uint count = balanceOf(_msgSender()); for (uint i = 0; i < count; ) { uint tokenId = tokenOfOwnerByIndex(_msgSender(), i); unchecked { rewards += (getRewardsToken(tokenId)); claimedRoyalties[tokenId] = currentRoyalties; ++i; } } payable(_msgSender()).transfer(rewards); emit RoyaltiesClaimed(_msgSender(), rewards); } function claimRoyalties(uint256[] memory tokensToClaim) external { uint256 rewards = 0; for (uint256 i = 0; i < tokensToClaim.length; ) { unchecked { uint tokenId = tokensToClaim[i]; if (ownerOf(tokenId) == _msgSender()) { rewards += (getRewardsToken(tokenId)); claimedRoyalties[tokenId] = currentRoyalties; } ++i; } } payable(_msgSender()).transfer(rewards); emit RoyaltiesClaimed(_msgSender(), rewards); } // Private function addRewards(uint256 amount) private { if (amount == 0) revert AddingNoRewards(); uint currentSupply = totalSupply(); if (currentSupply == 0) revert NoTokenMintedYet(); totalRoyalties = totalRoyalties + amount; currentRoyalties += (amount / currentSupply); emit RoyaltiesAdded(amount); } // Internal function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } // Getters function getMintInfo() external view returns (MintInfo memory) { return MintInfo( paused, MINT_PRICE, WHITELIST_MINT_PRICE, totalSupply(), MAX_SUPPLY, MAX_MINT, publicStartTimestamp, whitelistStartTimestamp ); } function isWhitelisted(address _address) public view returns (bool) { return whitelist[_address]; } function getRewardsToken(uint256 id) public view returns (uint256 rewards) { rewards += currentRoyalties - claimedRoyalties[id]; } function getRoyalties() external view returns (uint256) { uint256 balance = 0; uint count = balanceOf(_msgSender()); for (uint i = 0; i < count; i++) { uint tokenId = tokenOfOwnerByIndex(_msgSender(), i); balance += (getRewardsToken(tokenId)); } return balance; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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: address zero is not a valid owner"); 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: invalid token ID"); 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) { _requireMinted(tokenId); 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 overridden 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 token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); 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: caller is not token 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: caller is not token 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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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); _afterTokenTransfer(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); _afterTokenTransfer(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 from incorrect owner"); 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); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {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 an {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 Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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 (last updated v4.7.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`. * * 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; /** * @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 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"uri_","type":"string"},{"internalType":"address","name":"crodooWallet_","type":"address"},{"internalType":"address","name":"projectWallet_","type":"address"},{"internalType":"address","name":"degensWallet_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AddingNoRewards","type":"error"},{"inputs":[],"name":"CannotMintZero","type":"error"},{"inputs":[],"name":"InsufficientPayment","type":"error"},{"inputs":[],"name":"MintLimit","type":"error"},{"inputs":[],"name":"MintNotOpen","type":"error"},{"inputs":[],"name":"NoTokenMintedYet","type":"error"},{"inputs":[],"name":"OverMint","type":"error"},{"inputs":[],"name":"PausedMint","type":"error"},{"inputs":[],"name":"PresaleMintLimit","type":"error"},{"inputs":[],"name":"WalletLimitReached","type":"error"},{"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":"bool","name":"paused","type":"bool"}],"name":"MintStatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"currentSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"Minted","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":"uint256","name":"amount","type":"uint256"}],"name":"RoyaltiesAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RoyaltiesClaimed","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":"uint256","name":"count","type":"uint256"}],"name":"WhitelistUpdated","type":"event"},{"inputs":[],"name":"DEGEN_ROYALTIES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LAUNCHPAD_ROYALTIES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_ROYALTIES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addRoyalties","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_whitelist","type":"address[]"}],"name":"addWhitelist","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":[],"name":"claimAllRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokensToClaim","type":"uint256[]"}],"name":"claimRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"crodooWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"degensWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"emergencyWithdraw","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":"getMintInfo","outputs":[{"components":[{"internalType":"bool","name":"paused","type":"bool"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint256","name":"whitelistPrice","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxMint","type":"uint256"},{"internalType":"uint256","name":"publicTimestamp","type":"uint256"},{"internalType":"uint256","name":"wlTimestamp","type":"uint256"}],"internalType":"struct NinjaFuWarriorNFT.MintInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getRewardsToken","outputs":[{"internalType":"uint256","name":"rewards","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRoyalties","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchpadRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"projectWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseTokenURI","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":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"tokensOfWallet","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRoyalties","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60e060405263632e0938600e5563632e1040600f5560006012556000601455600060155560006016553480156200003557600080fd5b506040516200322b3803806200322b8339810160408190526200005891620001f5565b85856200006533620000bb565b60016200007383826200034c565b5060026200008282826200034c565b50506001600b5550600d6200009885826200034c565b506001600160a01b0392831660805290821660a0521660c0525062000418915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200013357600080fd5b81516001600160401b03808211156200015057620001506200010b565b604051601f8301601f19908116603f011681019082821181831017156200017b576200017b6200010b565b816040528381526020925086838588010111156200019857600080fd5b600091505b83821015620001bc57858201830151818301840152908201906200019d565b83821115620001ce5760008385830101525b9695505050505050565b80516001600160a01b0381168114620001f057600080fd5b919050565b60008060008060008060c087890312156200020f57600080fd5b86516001600160401b03808211156200022757600080fd5b620002358a838b0162000121565b975060208901519150808211156200024c57600080fd5b6200025a8a838b0162000121565b965060408901519150808211156200027157600080fd5b506200028089828a0162000121565b9450506200029160608801620001d8565b9250620002a160808801620001d8565b9150620002b160a08801620001d8565b90509295509295509295565b600181811c90821680620002d257607f821691505b602082108103620002f357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200034757600081815260208120601f850160051c81016020861015620003225750805b601f850160051c820191505b8181101562000343578281556001016200032e565b5050505b505050565b81516001600160401b038111156200036857620003686200010b565b6200038081620003798454620002bd565b84620002f9565b602080601f831160018114620003b857600084156200039f5750858301515b600019600386901b1c1916600185901b17855562000343565b600085815260208120601f198616915b82811015620003e957888601518255948401946001909101908401620003c8565b5085821015620004085787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c051612dce6200045d600039600081816104540152611d160152600081816107300152611c5e0152600081816106030152611dd50152612dce6000f3fe6080604052600436106102935760003560e01c8063715018a61161015a578063b88d4fde116100c1578063d0520c231161007a578063d0520c23146107af578063db4f6d3114610827578063e985e9c51461082f578063edac985b14610878578063f0292a0314610898578063f2fde38b146108ad57600080fd5b8063b88d4fde146106e9578063bb5b441914610709578063beb08ab91461071e578063bfa457bc14610752578063c002d23d14610772578063c87b56dd1461078f57600080fd5b806395d89b411161011357806395d89b411461066e5780639ecfab9b14610683578063a0712d6814610699578063a22cb465146106ac578063abe81f2714610659578063aca9938d146106cc57600080fd5b8063715018a6146105af57806375935d11146105c457806377a0f8f1146105f157806386d02608146106255780638da5cb5b1461063b5780639578962b1461065957600080fd5b806333df048e116101fe5780634d4c4e99116101b75780634d4c4e99146105055780634f6ccce71461051a5780635312ea8e1461053a578063547eafd01461055a5780636352211e1461056f57806370a082311461058f57600080fd5b806333df048e1461042d578063365a9749146104425780633af32abf146104765780633cd972ac146104af5780633e65408a146104cf57806342842e0e146104e557600080fd5b806318160ddd1161025057806318160ddd1461038c57806323b872dd146103a1578063276ea2fb146103c15780632f745c59146103d757806330176e13146103f757806332cb6b0c1461041757600080fd5b806301ffc9a71461029857806306fdde03146102cd578063081812fc146102ef578063095ea7b3146103275780630f2cdd6c1461034957806313ece8161461036c575b600080fd5b3480156102a457600080fd5b506102b86102b3366004612581565b6108cd565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e26108f8565b6040516102c491906125f6565b3480156102fb57600080fd5b5061030f61030a366004612609565b61098a565b6040516001600160a01b0390911681526020016102c4565b34801561033357600080fd5b5061034761034236600461263e565b6109b1565b005b34801561035557600080fd5b5061035e601981565b6040519081526020016102c4565b34801561037857600080fd5b506103476103873660046126d3565b610acb565b34801561039857600080fd5b5060095461035e565b3480156103ad57600080fd5b506103476103bc366004612769565b610baf565b3480156103cd57600080fd5b5061035e60165481565b3480156103e357600080fd5b5061035e6103f236600461263e565b610be0565b34801561040357600080fd5b506103476104123660046127fd565b610c76565b34801561042357600080fd5b5061035e61025881565b34801561043957600080fd5b5061035e610c8e565b34801561044e57600080fd5b5061030f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561048257600080fd5b506102b8610491366004612846565b6001600160a01b031660009081526010602052604090205460ff1690565b3480156104bb57600080fd5b5061035e6104ca366004612609565b610ce8565b3480156104db57600080fd5b5061035e600f5481565b3480156104f157600080fd5b50610347610500366004612769565b610d0e565b34801561051157600080fd5b5061035e600281565b34801561052657600080fd5b5061035e610535366004612609565b610d29565b34801561054657600080fd5b50610347610555366004612609565b610dbc565b34801561056657600080fd5b50610347610dfd565b34801561057b57600080fd5b5061030f61058a366004612609565b610eaf565b34801561059b57600080fd5b5061035e6105aa366004612846565b610f0f565b3480156105bb57600080fd5b50610347610f95565b3480156105d057600080fd5b506105e46105df366004612846565b610fa9565b6040516102c49190612861565b3480156105fd57600080fd5b5061030f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063157600080fd5b5061035e60125481565b34801561064757600080fd5b506000546001600160a01b031661030f565b34801561066557600080fd5b5061035e600a81565b34801561067a57600080fd5b506102e261104b565b34801561068f57600080fd5b5061035e600e5481565b6103476106a7366004612609565b61105a565b3480156106b857600080fd5b506103476106c73660046128a5565b6113ff565b3480156106d857600080fd5b5061035e6806c6b935b8bbd4000081565b3480156106f557600080fd5b506103476107043660046128e1565b61140a565b34801561071557600080fd5b5061035e600581565b34801561072a57600080fd5b5061030f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561075e57600080fd5b5061034761076d36600461295d565b611442565b34801561077e57600080fd5b5061035e680821ab0d441498000081565b34801561079b57600080fd5b506102e26107aa366004612609565b61155c565b3480156107bb57600080fd5b506107c46115c3565b6040516102c491906000610100820190508251151582526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015292915050565b610347611676565b34801561083b57600080fd5b506102b861084a366004612989565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561088457600080fd5b506103476108933660046129b3565b61167f565b3480156108a457600080fd5b5061035e600381565b3480156108b957600080fd5b506103476108c8366004612846565b611723565b60006001600160e01b0319821663780e9d6360e01b14806108f257506108f28261179c565b92915050565b60606001805461090790612a40565b80601f016020809104026020016040519081016040528092919081815260200182805461093390612a40565b80156109805780601f1061095557610100808354040283529160200191610980565b820191906000526020600020905b81548152906001019060200180831161096357829003601f168201915b5050505050905090565b6000610995826117ec565b506000908152600560205260409020546001600160a01b031690565b60006109bc82610eaf565b9050806001600160a01b0316836001600160a01b031603610a2e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610a4a5750610a4a813361084a565b610abc5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610a25565b610ac6838361184b565b505050565b6000805b8251811015610b46576000838281518110610aec57610aec612a7a565b60200260200101519050610afd3390565b6001600160a01b0316610b0f82610eaf565b6001600160a01b031603610b3d57610b2681610ce8565b601454600083815260136020526040902055909201915b50600101610acf565b50604051339082156108fc029083906000818181858888f19350505050158015610b74573d6000803e3d6000fd5b5060405181815233907f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e39888906020015b60405180910390a25050565b610bb933826118b9565b610bd55760405162461bcd60e51b8152600401610a2590612a90565b610ac6838383611938565b6000610beb83610f0f565b8210610c4d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a25565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b610c7e611adf565b600d610c8a8282612b2c565b5050565b60008080610c9b33610f0f565b905060005b81811015610ce0576000610cb5335b83610be0565b9050610cc081610ce8565b610cca9085612c02565b9350508080610cd890612c1a565b915050610ca0565b509092915050565b600081815260136020526040812054601454610d049190612c33565b6108f29082612c02565b610ac68383836040518060200160405280600081525061140a565b6000610d3460095490565b8210610d975760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a25565b60098281548110610daa57610daa612a7a565b90600052602060002001549050919050565b610dc4611adf565b600080546040516001600160a01b039091169183156108fc02918491818181858888f19350505050158015610c8a573d6000803e3d6000fd5b600080610e0933610f0f565b905060005b81811015610e4e576000610e2133610caf565b9050610e2c81610ce8565b6014546000928352601360205260409092209190915590920191600101610e0e565b50604051339083156108fc029084906000818181858888f19350505050158015610e7c573d6000803e3d6000fd5b5060405182815233907f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e3988890602001610ba3565b6000818152600360205260408120546001600160a01b0316806108f25760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a25565b60006001600160a01b038216610f795760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a25565b506001600160a01b031660009081526004602052604090205490565b610f9d611adf565b610fa76000611b39565b565b60606000610fb683610f0f565b905060008167ffffffffffffffff811115610fd357610fd3612668565b604051908082528060200260200182016040528015610ffc578160200160208202803683370190505b50905060005b82811015611043576110148582610be0565b82828151811061102657611026612a7a565b60209081029190910101528061103b81612c1a565b915050611002565b509392505050565b60606002805461090790612a40565b6002600b54036110ac5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a25565b6002600b55600c5460ff16156110d557604051634c97d28b60e01b815260040160405180910390fd5b6110de33610491565b1580156110ec5750600f5442105b1561110a5760405163951b974f60e01b815260040160405180910390fd5b600e5442101561112d5760405163951b974f60e01b815260040160405180910390fd5b600381111561114f5760405163ec8e6a6360e01b815260040160405180910390fd5b8060000361117057604051632a6ce29960e11b815260040160405180910390fd5b600061117b33610f0f565b905060196111898383612c02565b11156111a85760405163426d5b2360e11b815260040160405180910390fd5b680821ab0d44149800006111bb33610491565b1561123b57600f54421080156111ec5750336000908152601160205260409020546002906111ea908590612c02565b115b1561120a57604051635c8d50a560e01b815260040160405180910390fd5b3360009081526011602052604081208054859290611229908490612c02565b909155506806c6b935b8bbd400009150505b60006112478483612c4a565b9050600061125460095490565b90506102586112638683612c02565b111561128257604051633bd7ad7760e21b815260040160405180910390fd5b8134146112a25760405163cd1c886760e01b815260040160405180910390fd5b600081156112cc5760646112b7600a85612c4a565b6112c19190612c7f565b90506112cc81611b89565b60015b868111611306576112e9336112e48386612c02565b611c40565b6014548382016000908152601360205260409020556001016112cf565b5060006064611316600a86612c4a565b6113209190612c7f565b905060006064611331600587612c4a565b61133b9190612c7f565b90506000818361134b8689612c33565b6113559190612c33565b61135f9190612c33565b905080601560008282546113739190612c02565b92505081905550826016600082825461138c9190612c02565b9091555061139b905081611c5a565b6113a482611d12565b6113ad83611dd1565b60408051868152602081018b90524281830152905133917f5a3358a3d27a5373c0df2604662088d37894d56b7cfd27f315770440f4e0d919919081900360600190a250506001600b5550505050505050565b610c8a338383611e90565b61141433836118b9565b6114305760405162461bcd60e51b8152600401610a2590612a90565b61143c84848484611f5e565b50505050565b61144a611adf565b6002600b540361149c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a25565b6002600b5560006114ac60095490565b90506102586114bb8483612c02565b11156114da57604051633bd7ad7760e21b815260040160405180910390fd5b60015b83811161150f576114f2836112e48385612c02565b6014548282016000908152601360205260409020556001016114dd565b5060408051828152602081018590524281830152905133917f5a3358a3d27a5373c0df2604662088d37894d56b7cfd27f315770440f4e0d919919081900360600190a250506001600b5550565b6060611567826117ec565b6000611571611f91565b9050600081511161159157604051806020016040528060008152506115bc565b8061159b84611fa0565b6040516020016115ac929190612c93565b6040516020818303038152906040525b9392505050565b61160d604051806101000160405280600015158152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805161010081018252600c5460ff1615158152680821ab0d441498000060208201526806c6b935b8bbd40000918101919091526060810161164f60095490565b8152602001610258815260200160038152602001600f548152602001600e54815250905090565b610fa734611b89565b611687611adf565b60005b81518110156116e5576001601060008484815181106116ab576116ab612a7a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905560010161168a565b507fc7f0435a905d261229a9a162170db4f4e1d3f55b33a246cf8abf2aefe4f602fd815160405161171891815260200190565b60405180910390a150565b61172b611adf565b6001600160a01b0381166117905760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a25565b61179981611b39565b50565b60006001600160e01b031982166380ac58cd60e01b14806117cd57506001600160e01b03198216635b5e139f60e01b145b806108f257506301ffc9a760e01b6001600160e01b03198316146108f2565b6000818152600360205260409020546001600160a01b03166117995760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a25565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061188082610eaf565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806118c583610eaf565b9050806001600160a01b0316846001600160a01b0316148061190c57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b806119305750836001600160a01b03166119258461098a565b6001600160a01b0316145b949350505050565b826001600160a01b031661194b82610eaf565b6001600160a01b0316146119af5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610a25565b6001600160a01b038216611a115760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a25565b611a1c8383836120a1565b611a2760008261184b565b6001600160a01b0383166000908152600460205260408120805460019290611a50908490612c33565b90915550506001600160a01b0382166000908152600460205260408120805460019290611a7e908490612c02565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000546001600160a01b03163314610fa75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a25565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80600003611baa5760405163e3a12f6760e01b815260040160405180910390fd5b6000611bb560095490565b905080600003611bd8576040516378ad1dcf60e11b815260040160405180910390fd5b81601254611be69190612c02565b601255611bf38183612c7f565b60146000828254611c049190612c02565b90915550506040518281527f5a02b40077e797196e633f9dd9c358d21e6c6fce881c924fac5d583fc4359f979060200160405180910390a15050565b610c8a828260405180602001604052806000815250612159565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168261c35090604051600060405180830381858888f193505050503d8060008114611ccc576040519150601f19603f3d011682016040523d82523d6000602084013e611cd1565b606091505b5050905080610c8a5760405162461bcd60e51b815260206004820152600d60248201526c10d85b9b9bdd081c185e5bdd5d609a1b6044820152606401610a25565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168261c35090604051600060405180830381858888f193505050503d8060008114611d84576040519150601f19603f3d011682016040523d82523d6000602084013e611d89565b606091505b5050905080610c8a5760405162461bcd60e51b815260206004820152601460248201527343616e6e6f74207061796f757420446567656e7360601b6044820152606401610a25565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168261c35090604051600060405180830381858888f193505050503d8060008114611e43576040519150601f19603f3d011682016040523d82523d6000602084013e611e48565b606091505b5050905080610c8a5760405162461bcd60e51b815260206004820152601460248201527343616e6e6f74207061796f75742043726f446f6f60601b6044820152606401610a25565b816001600160a01b0316836001600160a01b031603611ef15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a25565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611f69848484611938565b611f758484848461218c565b61143c5760405162461bcd60e51b8152600401610a2590612cc2565b6060600d805461090790612a40565b606081600003611fc75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ff15780611fdb81612c1a565b9150611fea9050600a83612c7f565b9150611fcb565b60008167ffffffffffffffff81111561200c5761200c612668565b6040519080825280601f01601f191660200182016040528015612036576020820181803683370190505b5090505b84156119305761204b600183612c33565b9150612058600a86612d14565b612063906030612c02565b60f81b81838151811061207857612078612a7a565b60200101906001600160f81b031916908160001a90535061209a600a86612c7f565b945061203a565b6001600160a01b0383166120fc576120f781600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b61211f565b816001600160a01b0316836001600160a01b03161461211f5761211f838261228d565b6001600160a01b03821661213657610ac68161232a565b826001600160a01b0316826001600160a01b031614610ac657610ac682826123d9565b612163838361241d565b612170600084848461218c565b610ac65760405162461bcd60e51b8152600401610a2590612cc2565b60006001600160a01b0384163b1561228257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121d0903390899088908890600401612d28565b6020604051808303816000875af192505050801561220b575060408051601f3d908101601f1916820190925261220891810190612d65565b60015b612268573d808015612239576040519150601f19603f3d011682016040523d82523d6000602084013e61223e565b606091505b5080516000036122605760405162461bcd60e51b8152600401610a2590612cc2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611930565b506001949350505050565b6000600161229a84610f0f565b6122a49190612c33565b6000838152600860205260409020549091508082146122f7576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061233c90600190612c33565b6000838152600a60205260408120546009805493945090928490811061236457612364612a7a565b90600052602060002001549050806009838154811061238557612385612a7a565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806123bd576123bd612d82565b6001900381819060005260206000200160009055905550505050565b60006123e483610f0f565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b0382166124735760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a25565b6000818152600360205260409020546001600160a01b0316156124d85760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a25565b6124e4600083836120a1565b6001600160a01b038216600090815260046020526040812080546001929061250d908490612c02565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b03198116811461179957600080fd5b60006020828403121561259357600080fd5b81356115bc8161256b565b60005b838110156125b95781810151838201526020016125a1565b8381111561143c5750506000910152565b600081518084526125e281602086016020860161259e565b601f01601f19169290920160200192915050565b6020815260006115bc60208301846125ca565b60006020828403121561261b57600080fd5b5035919050565b80356001600160a01b038116811461263957600080fd5b919050565b6000806040838503121561265157600080fd5b61265a83612622565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156126a7576126a7612668565b604052919050565b600067ffffffffffffffff8211156126c9576126c9612668565b5060051b60200190565b600060208083850312156126e657600080fd5b823567ffffffffffffffff8111156126fd57600080fd5b8301601f8101851361270e57600080fd5b803561272161271c826126af565b61267e565b81815260059190911b8201830190838101908783111561274057600080fd5b928401925b8284101561275e57833582529284019290840190612745565b979650505050505050565b60008060006060848603121561277e57600080fd5b61278784612622565b925061279560208501612622565b9150604084013590509250925092565b600067ffffffffffffffff8311156127bf576127bf612668565b6127d2601f8401601f191660200161267e565b90508281528383830111156127e657600080fd5b828260208301376000602084830101529392505050565b60006020828403121561280f57600080fd5b813567ffffffffffffffff81111561282657600080fd5b8201601f8101841361283757600080fd5b611930848235602084016127a5565b60006020828403121561285857600080fd5b6115bc82612622565b6020808252825182820181905260009190848201906040850190845b818110156128995783518352928401929184019160010161287d565b50909695505050505050565b600080604083850312156128b857600080fd5b6128c183612622565b9150602083013580151581146128d657600080fd5b809150509250929050565b600080600080608085870312156128f757600080fd5b61290085612622565b935061290e60208601612622565b925060408501359150606085013567ffffffffffffffff81111561293157600080fd5b8501601f8101871361294257600080fd5b612951878235602084016127a5565b91505092959194509250565b6000806040838503121561297057600080fd5b8235915061298060208401612622565b90509250929050565b6000806040838503121561299c57600080fd5b6129a583612622565b915061298060208401612622565b600060208083850312156129c657600080fd5b823567ffffffffffffffff8111156129dd57600080fd5b8301601f810185136129ee57600080fd5b80356129fc61271c826126af565b81815260059190911b82018301908381019087831115612a1b57600080fd5b928401925b8284101561275e57612a3184612622565b82529284019290840190612a20565b600181811c90821680612a5457607f821691505b602082108103612a7457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b601f821115610ac657600081815260208120601f850160051c81016020861015612b055750805b601f850160051c820191505b81811015612b2457828155600101612b11565b505050505050565b815167ffffffffffffffff811115612b4657612b46612668565b612b5a81612b548454612a40565b84612ade565b602080601f831160018114612b8f5760008415612b775750858301515b600019600386901b1c1916600185901b178555612b24565b600085815260208120601f198616915b82811015612bbe57888601518255948401946001909101908401612b9f565b5085821015612bdc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b60008219821115612c1557612c15612bec565b500190565b600060018201612c2c57612c2c612bec565b5060010190565b600082821015612c4557612c45612bec565b500390565b6000816000190483118215151615612c6457612c64612bec565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612c8e57612c8e612c69565b500490565b60008351612ca581846020880161259e565b835190830190612cb981836020880161259e565b01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612d2357612d23612c69565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d5b908301846125ca565b9695505050505050565b600060208284031215612d7757600080fd5b81516115bc8161256b565b634e487b7160e01b600052603160045260246000fdfea26469706673582212208b50bd19c447cffa77aca6442160c77a521e82e9dffcd2b40c4e4aad7674083464736f6c634300080f003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000076d19e4f535af90ffeaf44531aed8936922473bb00000000000000000000000028be293ba252a4d87eb91e38af1b4db9bfa319dc00000000000000000000000089b500095db7d85a0cd6317cd83b79fdd97e93b400000000000000000000000000000000000000000000000000000000000000104e696e6a615f66755f57617272696f720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e465557000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569636d6b3671666737686963666e676a693734726b6b7675616476696c7a376a68676b743761647a666f6c716c7836366a7237726d2f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102935760003560e01c8063715018a61161015a578063b88d4fde116100c1578063d0520c231161007a578063d0520c23146107af578063db4f6d3114610827578063e985e9c51461082f578063edac985b14610878578063f0292a0314610898578063f2fde38b146108ad57600080fd5b8063b88d4fde146106e9578063bb5b441914610709578063beb08ab91461071e578063bfa457bc14610752578063c002d23d14610772578063c87b56dd1461078f57600080fd5b806395d89b411161011357806395d89b411461066e5780639ecfab9b14610683578063a0712d6814610699578063a22cb465146106ac578063abe81f2714610659578063aca9938d146106cc57600080fd5b8063715018a6146105af57806375935d11146105c457806377a0f8f1146105f157806386d02608146106255780638da5cb5b1461063b5780639578962b1461065957600080fd5b806333df048e116101fe5780634d4c4e99116101b75780634d4c4e99146105055780634f6ccce71461051a5780635312ea8e1461053a578063547eafd01461055a5780636352211e1461056f57806370a082311461058f57600080fd5b806333df048e1461042d578063365a9749146104425780633af32abf146104765780633cd972ac146104af5780633e65408a146104cf57806342842e0e146104e557600080fd5b806318160ddd1161025057806318160ddd1461038c57806323b872dd146103a1578063276ea2fb146103c15780632f745c59146103d757806330176e13146103f757806332cb6b0c1461041757600080fd5b806301ffc9a71461029857806306fdde03146102cd578063081812fc146102ef578063095ea7b3146103275780630f2cdd6c1461034957806313ece8161461036c575b600080fd5b3480156102a457600080fd5b506102b86102b3366004612581565b6108cd565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e26108f8565b6040516102c491906125f6565b3480156102fb57600080fd5b5061030f61030a366004612609565b61098a565b6040516001600160a01b0390911681526020016102c4565b34801561033357600080fd5b5061034761034236600461263e565b6109b1565b005b34801561035557600080fd5b5061035e601981565b6040519081526020016102c4565b34801561037857600080fd5b506103476103873660046126d3565b610acb565b34801561039857600080fd5b5060095461035e565b3480156103ad57600080fd5b506103476103bc366004612769565b610baf565b3480156103cd57600080fd5b5061035e60165481565b3480156103e357600080fd5b5061035e6103f236600461263e565b610be0565b34801561040357600080fd5b506103476104123660046127fd565b610c76565b34801561042357600080fd5b5061035e61025881565b34801561043957600080fd5b5061035e610c8e565b34801561044e57600080fd5b5061030f7f00000000000000000000000089b500095db7d85a0cd6317cd83b79fdd97e93b481565b34801561048257600080fd5b506102b8610491366004612846565b6001600160a01b031660009081526010602052604090205460ff1690565b3480156104bb57600080fd5b5061035e6104ca366004612609565b610ce8565b3480156104db57600080fd5b5061035e600f5481565b3480156104f157600080fd5b50610347610500366004612769565b610d0e565b34801561051157600080fd5b5061035e600281565b34801561052657600080fd5b5061035e610535366004612609565b610d29565b34801561054657600080fd5b50610347610555366004612609565b610dbc565b34801561056657600080fd5b50610347610dfd565b34801561057b57600080fd5b5061030f61058a366004612609565b610eaf565b34801561059b57600080fd5b5061035e6105aa366004612846565b610f0f565b3480156105bb57600080fd5b50610347610f95565b3480156105d057600080fd5b506105e46105df366004612846565b610fa9565b6040516102c49190612861565b3480156105fd57600080fd5b5061030f7f00000000000000000000000076d19e4f535af90ffeaf44531aed8936922473bb81565b34801561063157600080fd5b5061035e60125481565b34801561064757600080fd5b506000546001600160a01b031661030f565b34801561066557600080fd5b5061035e600a81565b34801561067a57600080fd5b506102e261104b565b34801561068f57600080fd5b5061035e600e5481565b6103476106a7366004612609565b61105a565b3480156106b857600080fd5b506103476106c73660046128a5565b6113ff565b3480156106d857600080fd5b5061035e6806c6b935b8bbd4000081565b3480156106f557600080fd5b506103476107043660046128e1565b61140a565b34801561071557600080fd5b5061035e600581565b34801561072a57600080fd5b5061030f7f00000000000000000000000028be293ba252a4d87eb91e38af1b4db9bfa319dc81565b34801561075e57600080fd5b5061034761076d36600461295d565b611442565b34801561077e57600080fd5b5061035e680821ab0d441498000081565b34801561079b57600080fd5b506102e26107aa366004612609565b61155c565b3480156107bb57600080fd5b506107c46115c3565b6040516102c491906000610100820190508251151582526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015292915050565b610347611676565b34801561083b57600080fd5b506102b861084a366004612989565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561088457600080fd5b506103476108933660046129b3565b61167f565b3480156108a457600080fd5b5061035e600381565b3480156108b957600080fd5b506103476108c8366004612846565b611723565b60006001600160e01b0319821663780e9d6360e01b14806108f257506108f28261179c565b92915050565b60606001805461090790612a40565b80601f016020809104026020016040519081016040528092919081815260200182805461093390612a40565b80156109805780601f1061095557610100808354040283529160200191610980565b820191906000526020600020905b81548152906001019060200180831161096357829003601f168201915b5050505050905090565b6000610995826117ec565b506000908152600560205260409020546001600160a01b031690565b60006109bc82610eaf565b9050806001600160a01b0316836001600160a01b031603610a2e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610a4a5750610a4a813361084a565b610abc5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610a25565b610ac6838361184b565b505050565b6000805b8251811015610b46576000838281518110610aec57610aec612a7a565b60200260200101519050610afd3390565b6001600160a01b0316610b0f82610eaf565b6001600160a01b031603610b3d57610b2681610ce8565b601454600083815260136020526040902055909201915b50600101610acf565b50604051339082156108fc029083906000818181858888f19350505050158015610b74573d6000803e3d6000fd5b5060405181815233907f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e39888906020015b60405180910390a25050565b610bb933826118b9565b610bd55760405162461bcd60e51b8152600401610a2590612a90565b610ac6838383611938565b6000610beb83610f0f565b8210610c4d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a25565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b610c7e611adf565b600d610c8a8282612b2c565b5050565b60008080610c9b33610f0f565b905060005b81811015610ce0576000610cb5335b83610be0565b9050610cc081610ce8565b610cca9085612c02565b9350508080610cd890612c1a565b915050610ca0565b509092915050565b600081815260136020526040812054601454610d049190612c33565b6108f29082612c02565b610ac68383836040518060200160405280600081525061140a565b6000610d3460095490565b8210610d975760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a25565b60098281548110610daa57610daa612a7a565b90600052602060002001549050919050565b610dc4611adf565b600080546040516001600160a01b039091169183156108fc02918491818181858888f19350505050158015610c8a573d6000803e3d6000fd5b600080610e0933610f0f565b905060005b81811015610e4e576000610e2133610caf565b9050610e2c81610ce8565b6014546000928352601360205260409092209190915590920191600101610e0e565b50604051339083156108fc029084906000818181858888f19350505050158015610e7c573d6000803e3d6000fd5b5060405182815233907f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e3988890602001610ba3565b6000818152600360205260408120546001600160a01b0316806108f25760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a25565b60006001600160a01b038216610f795760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a25565b506001600160a01b031660009081526004602052604090205490565b610f9d611adf565b610fa76000611b39565b565b60606000610fb683610f0f565b905060008167ffffffffffffffff811115610fd357610fd3612668565b604051908082528060200260200182016040528015610ffc578160200160208202803683370190505b50905060005b82811015611043576110148582610be0565b82828151811061102657611026612a7a565b60209081029190910101528061103b81612c1a565b915050611002565b509392505050565b60606002805461090790612a40565b6002600b54036110ac5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a25565b6002600b55600c5460ff16156110d557604051634c97d28b60e01b815260040160405180910390fd5b6110de33610491565b1580156110ec5750600f5442105b1561110a5760405163951b974f60e01b815260040160405180910390fd5b600e5442101561112d5760405163951b974f60e01b815260040160405180910390fd5b600381111561114f5760405163ec8e6a6360e01b815260040160405180910390fd5b8060000361117057604051632a6ce29960e11b815260040160405180910390fd5b600061117b33610f0f565b905060196111898383612c02565b11156111a85760405163426d5b2360e11b815260040160405180910390fd5b680821ab0d44149800006111bb33610491565b1561123b57600f54421080156111ec5750336000908152601160205260409020546002906111ea908590612c02565b115b1561120a57604051635c8d50a560e01b815260040160405180910390fd5b3360009081526011602052604081208054859290611229908490612c02565b909155506806c6b935b8bbd400009150505b60006112478483612c4a565b9050600061125460095490565b90506102586112638683612c02565b111561128257604051633bd7ad7760e21b815260040160405180910390fd5b8134146112a25760405163cd1c886760e01b815260040160405180910390fd5b600081156112cc5760646112b7600a85612c4a565b6112c19190612c7f565b90506112cc81611b89565b60015b868111611306576112e9336112e48386612c02565b611c40565b6014548382016000908152601360205260409020556001016112cf565b5060006064611316600a86612c4a565b6113209190612c7f565b905060006064611331600587612c4a565b61133b9190612c7f565b90506000818361134b8689612c33565b6113559190612c33565b61135f9190612c33565b905080601560008282546113739190612c02565b92505081905550826016600082825461138c9190612c02565b9091555061139b905081611c5a565b6113a482611d12565b6113ad83611dd1565b60408051868152602081018b90524281830152905133917f5a3358a3d27a5373c0df2604662088d37894d56b7cfd27f315770440f4e0d919919081900360600190a250506001600b5550505050505050565b610c8a338383611e90565b61141433836118b9565b6114305760405162461bcd60e51b8152600401610a2590612a90565b61143c84848484611f5e565b50505050565b61144a611adf565b6002600b540361149c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a25565b6002600b5560006114ac60095490565b90506102586114bb8483612c02565b11156114da57604051633bd7ad7760e21b815260040160405180910390fd5b60015b83811161150f576114f2836112e48385612c02565b6014548282016000908152601360205260409020556001016114dd565b5060408051828152602081018590524281830152905133917f5a3358a3d27a5373c0df2604662088d37894d56b7cfd27f315770440f4e0d919919081900360600190a250506001600b5550565b6060611567826117ec565b6000611571611f91565b9050600081511161159157604051806020016040528060008152506115bc565b8061159b84611fa0565b6040516020016115ac929190612c93565b6040516020818303038152906040525b9392505050565b61160d604051806101000160405280600015158152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805161010081018252600c5460ff1615158152680821ab0d441498000060208201526806c6b935b8bbd40000918101919091526060810161164f60095490565b8152602001610258815260200160038152602001600f548152602001600e54815250905090565b610fa734611b89565b611687611adf565b60005b81518110156116e5576001601060008484815181106116ab576116ab612a7a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905560010161168a565b507fc7f0435a905d261229a9a162170db4f4e1d3f55b33a246cf8abf2aefe4f602fd815160405161171891815260200190565b60405180910390a150565b61172b611adf565b6001600160a01b0381166117905760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a25565b61179981611b39565b50565b60006001600160e01b031982166380ac58cd60e01b14806117cd57506001600160e01b03198216635b5e139f60e01b145b806108f257506301ffc9a760e01b6001600160e01b03198316146108f2565b6000818152600360205260409020546001600160a01b03166117995760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a25565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061188082610eaf565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806118c583610eaf565b9050806001600160a01b0316846001600160a01b0316148061190c57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b806119305750836001600160a01b03166119258461098a565b6001600160a01b0316145b949350505050565b826001600160a01b031661194b82610eaf565b6001600160a01b0316146119af5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610a25565b6001600160a01b038216611a115760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a25565b611a1c8383836120a1565b611a2760008261184b565b6001600160a01b0383166000908152600460205260408120805460019290611a50908490612c33565b90915550506001600160a01b0382166000908152600460205260408120805460019290611a7e908490612c02565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000546001600160a01b03163314610fa75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a25565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80600003611baa5760405163e3a12f6760e01b815260040160405180910390fd5b6000611bb560095490565b905080600003611bd8576040516378ad1dcf60e11b815260040160405180910390fd5b81601254611be69190612c02565b601255611bf38183612c7f565b60146000828254611c049190612c02565b90915550506040518281527f5a02b40077e797196e633f9dd9c358d21e6c6fce881c924fac5d583fc4359f979060200160405180910390a15050565b610c8a828260405180602001604052806000815250612159565b60007f00000000000000000000000028be293ba252a4d87eb91e38af1b4db9bfa319dc6001600160a01b03168261c35090604051600060405180830381858888f193505050503d8060008114611ccc576040519150601f19603f3d011682016040523d82523d6000602084013e611cd1565b606091505b5050905080610c8a5760405162461bcd60e51b815260206004820152600d60248201526c10d85b9b9bdd081c185e5bdd5d609a1b6044820152606401610a25565b60007f00000000000000000000000089b500095db7d85a0cd6317cd83b79fdd97e93b46001600160a01b03168261c35090604051600060405180830381858888f193505050503d8060008114611d84576040519150601f19603f3d011682016040523d82523d6000602084013e611d89565b606091505b5050905080610c8a5760405162461bcd60e51b815260206004820152601460248201527343616e6e6f74207061796f757420446567656e7360601b6044820152606401610a25565b60007f00000000000000000000000076d19e4f535af90ffeaf44531aed8936922473bb6001600160a01b03168261c35090604051600060405180830381858888f193505050503d8060008114611e43576040519150601f19603f3d011682016040523d82523d6000602084013e611e48565b606091505b5050905080610c8a5760405162461bcd60e51b815260206004820152601460248201527343616e6e6f74207061796f75742043726f446f6f60601b6044820152606401610a25565b816001600160a01b0316836001600160a01b031603611ef15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a25565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611f69848484611938565b611f758484848461218c565b61143c5760405162461bcd60e51b8152600401610a2590612cc2565b6060600d805461090790612a40565b606081600003611fc75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ff15780611fdb81612c1a565b9150611fea9050600a83612c7f565b9150611fcb565b60008167ffffffffffffffff81111561200c5761200c612668565b6040519080825280601f01601f191660200182016040528015612036576020820181803683370190505b5090505b84156119305761204b600183612c33565b9150612058600a86612d14565b612063906030612c02565b60f81b81838151811061207857612078612a7a565b60200101906001600160f81b031916908160001a90535061209a600a86612c7f565b945061203a565b6001600160a01b0383166120fc576120f781600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b61211f565b816001600160a01b0316836001600160a01b03161461211f5761211f838261228d565b6001600160a01b03821661213657610ac68161232a565b826001600160a01b0316826001600160a01b031614610ac657610ac682826123d9565b612163838361241d565b612170600084848461218c565b610ac65760405162461bcd60e51b8152600401610a2590612cc2565b60006001600160a01b0384163b1561228257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121d0903390899088908890600401612d28565b6020604051808303816000875af192505050801561220b575060408051601f3d908101601f1916820190925261220891810190612d65565b60015b612268573d808015612239576040519150601f19603f3d011682016040523d82523d6000602084013e61223e565b606091505b5080516000036122605760405162461bcd60e51b8152600401610a2590612cc2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611930565b506001949350505050565b6000600161229a84610f0f565b6122a49190612c33565b6000838152600860205260409020549091508082146122f7576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061233c90600190612c33565b6000838152600a60205260408120546009805493945090928490811061236457612364612a7a565b90600052602060002001549050806009838154811061238557612385612a7a565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806123bd576123bd612d82565b6001900381819060005260206000200160009055905550505050565b60006123e483610f0f565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b0382166124735760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a25565b6000818152600360205260409020546001600160a01b0316156124d85760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a25565b6124e4600083836120a1565b6001600160a01b038216600090815260046020526040812080546001929061250d908490612c02565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b03198116811461179957600080fd5b60006020828403121561259357600080fd5b81356115bc8161256b565b60005b838110156125b95781810151838201526020016125a1565b8381111561143c5750506000910152565b600081518084526125e281602086016020860161259e565b601f01601f19169290920160200192915050565b6020815260006115bc60208301846125ca565b60006020828403121561261b57600080fd5b5035919050565b80356001600160a01b038116811461263957600080fd5b919050565b6000806040838503121561265157600080fd5b61265a83612622565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156126a7576126a7612668565b604052919050565b600067ffffffffffffffff8211156126c9576126c9612668565b5060051b60200190565b600060208083850312156126e657600080fd5b823567ffffffffffffffff8111156126fd57600080fd5b8301601f8101851361270e57600080fd5b803561272161271c826126af565b61267e565b81815260059190911b8201830190838101908783111561274057600080fd5b928401925b8284101561275e57833582529284019290840190612745565b979650505050505050565b60008060006060848603121561277e57600080fd5b61278784612622565b925061279560208501612622565b9150604084013590509250925092565b600067ffffffffffffffff8311156127bf576127bf612668565b6127d2601f8401601f191660200161267e565b90508281528383830111156127e657600080fd5b828260208301376000602084830101529392505050565b60006020828403121561280f57600080fd5b813567ffffffffffffffff81111561282657600080fd5b8201601f8101841361283757600080fd5b611930848235602084016127a5565b60006020828403121561285857600080fd5b6115bc82612622565b6020808252825182820181905260009190848201906040850190845b818110156128995783518352928401929184019160010161287d565b50909695505050505050565b600080604083850312156128b857600080fd5b6128c183612622565b9150602083013580151581146128d657600080fd5b809150509250929050565b600080600080608085870312156128f757600080fd5b61290085612622565b935061290e60208601612622565b925060408501359150606085013567ffffffffffffffff81111561293157600080fd5b8501601f8101871361294257600080fd5b612951878235602084016127a5565b91505092959194509250565b6000806040838503121561297057600080fd5b8235915061298060208401612622565b90509250929050565b6000806040838503121561299c57600080fd5b6129a583612622565b915061298060208401612622565b600060208083850312156129c657600080fd5b823567ffffffffffffffff8111156129dd57600080fd5b8301601f810185136129ee57600080fd5b80356129fc61271c826126af565b81815260059190911b82018301908381019087831115612a1b57600080fd5b928401925b8284101561275e57612a3184612622565b82529284019290840190612a20565b600181811c90821680612a5457607f821691505b602082108103612a7457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b601f821115610ac657600081815260208120601f850160051c81016020861015612b055750805b601f850160051c820191505b81811015612b2457828155600101612b11565b505050505050565b815167ffffffffffffffff811115612b4657612b46612668565b612b5a81612b548454612a40565b84612ade565b602080601f831160018114612b8f5760008415612b775750858301515b600019600386901b1c1916600185901b178555612b24565b600085815260208120601f198616915b82811015612bbe57888601518255948401946001909101908401612b9f565b5085821015612bdc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b60008219821115612c1557612c15612bec565b500190565b600060018201612c2c57612c2c612bec565b5060010190565b600082821015612c4557612c45612bec565b500390565b6000816000190483118215151615612c6457612c64612bec565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612c8e57612c8e612c69565b500490565b60008351612ca581846020880161259e565b835190830190612cb981836020880161259e565b01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612d2357612d23612c69565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d5b908301846125ca565b9695505050505050565b600060208284031215612d7757600080fd5b81516115bc8161256b565b634e487b7160e01b600052603160045260246000fdfea26469706673582212208b50bd19c447cffa77aca6442160c77a521e82e9dffcd2b40c4e4aad7674083464736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000076d19e4f535af90ffeaf44531aed8936922473bb00000000000000000000000028be293ba252a4d87eb91e38af1b4db9bfa319dc00000000000000000000000089b500095db7d85a0cd6317cd83b79fdd97e93b400000000000000000000000000000000000000000000000000000000000000104e696e6a615f66755f57617272696f720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e465557000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569636d6b3671666737686963666e676a693734726b6b7675616476696c7a376a68676b743761647a666f6c716c7836366a7237726d2f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Ninja_fu_Warrior
Arg [1] : symbol_ (string): NFUW
Arg [2] : uri_ (string): ipfs://bafybeicmk6qfg7hicfngji74rkkvuadvilz7jhgkt7adzfolqlx66jr7rm/
Arg [3] : crodooWallet_ (address): 0x76d19e4f535af90ffeaf44531aed8936922473bb
Arg [4] : projectWallet_ (address): 0x28be293ba252a4d87eb91e38af1b4db9bfa319dc
Arg [5] : degensWallet_ (address): 0x89b500095db7d85a0cd6317cd83b79fdd97e93b4
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000076d19e4f535af90ffeaf44531aed8936922473bb
Arg [4] : 00000000000000000000000028be293ba252a4d87eb91e38af1b4db9bfa319dc
Arg [5] : 00000000000000000000000089b500095db7d85a0cd6317cd83b79fdd97e93b4
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [7] : 4e696e6a615f66755f57617272696f7200000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4e46555700000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [11] : 697066733a2f2f62616679626569636d6b3671666737686963666e676a693734
Arg [12] : 726b6b7675616476696c7a376a68676b743761647a666f6c716c7836366a7237
Arg [13] : 726d2f0000000000000000000000000000000000000000000000000000000000