ETH Price: $3,363.75 (+3.09%)
Gas: 4.74 Gwei
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint Lunas172207572023-05-09 5:16:47633 days ago1683609407IN
0x2621BC51...FEf959f16
0 ETH0.0139437762.87123666
Mint Lunas149430352022-06-11 7:27:06965 days ago1654932426IN
0x2621BC51...FEf959f16
0 ETH0.0043586519.65277886
Mint Lunas148663472022-05-29 12:07:25978 days ago1653826045IN
0x2621BC51...FEf959f16
0 ETH0.0065889319.19130547
Mint Lunas148168742022-05-21 11:01:56986 days ago1653130916IN
0x2621BC51...FEf959f16
0 ETH0.0052750411.42924714
Mint Lunas148168502022-05-21 10:57:43986 days ago1653130663IN
0x2621BC51...FEf959f16
0 ETH0.0031975714.20394855
Mint Lunas148141632022-05-21 0:22:47986 days ago1653092567IN
0x2621BC51...FEf959f16
0 ETH0.004943122.28803801
Mint Lunas147731702022-05-14 10:44:21993 days ago1652525061IN
0x2621BC51...FEf959f16
0 ETH0.0152906826.37420907
Mint Lunas145103562022-04-03 1:56:461034 days ago1648951006IN
0x2621BC51...FEf959f16
0 ETH0.0089277440.25440209
Mint Lunas144859382022-03-30 6:22:501038 days ago1648621370IN
0x2621BC51...FEf959f16
0 ETH0.0056083825.28773546
Mint Lunas144782482022-03-29 1:49:171039 days ago1648518557IN
0x2621BC51...FEf959f16
0 ETH0.0114057451.42749281
Mint Lunas144689452022-03-27 15:01:511040 days ago1648393311IN
0x2621BC51...FEf959f16
0 ETH0.0063355328.56638485
Mint Lunas144391062022-03-22 23:31:271045 days ago1647991887IN
0x2621BC51...FEf959f16
0 ETH0.0144508439.51115615
Mint Lunas144362482022-03-22 12:57:311046 days ago1647953851IN
0x2621BC51...FEf959f16
0 ETH0.0011578429.39069432
Mint Lunas144312332022-03-21 18:12:151046 days ago1647886335IN
0x2621BC51...FEf959f16
0 ETH0.0086391838.95333785
Mint Lunas144218272022-03-20 7:17:131048 days ago1647760633IN
0x2621BC51...FEf959f16
0 ETH0.0025666213.36901096
Mint Lunas143837502022-03-14 8:56:291054 days ago1647248189IN
0x2621BC51...FEf959f16
0 ETH0.0042571919.19533196
Mint Lunas143706782022-03-12 7:48:531056 days ago1647071333IN
0x2621BC51...FEf959f16
0 ETH0.0029000913.07627557
Mint Lunas143540422022-03-09 17:56:371058 days ago1646848597IN
0x2621BC51...FEf959f16
0 ETH0.0097377847.57493797
Mint Lunas143411022022-03-07 17:38:331060 days ago1646674713IN
0x2621BC51...FEf959f16
0 ETH0.0182107349.79134754
Mint Lunas142909742022-02-27 22:37:441068 days ago1646001464IN
0x2621BC51...FEf959f16
0 ETH0.0117444952.954905
Mint Lunas142675682022-02-24 7:55:221072 days ago1645689322IN
0x2621BC51...FEf959f16
0 ETH0.0221799.9626022
Mint Lunas142482882022-02-21 8:20:241075 days ago1645431624IN
0x2621BC51...FEf959f16
0 ETH0.020655556.47578186
Mint Lunas140635792022-01-23 18:39:221103 days ago1642963162IN
0x2621BC51...FEf959f16
0 ETH0.07434906203.28337838
Mint Lunas140194892022-01-16 23:18:481110 days ago1642375128IN
0x2621BC51...FEf959f16
0 ETH0.02817435127.03567953
Mint Lunas140085942022-01-15 6:59:101112 days ago1642229950IN
0x2621BC51...FEf959f16
0 ETH0.0365470799.92611707
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LunaWolvesSale

Compiler Version
v0.7.3+commit.9bfce1f6

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : LunaWolvesSale.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.7.3;

import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ILunaWolves.sol";

interface PaymentSplitter {
    function pay(uint id) external payable;
}

interface WolfGang {
    function tokensOfOwner(address _owner) external view returns(uint[] memory);
    function balanceOf(address _owner) external view returns (uint256);
    function ownerOf(uint256 _tokenId) external view returns (address);
}

contract LunaWolvesSale is Ownable {
    using SafeMath for uint256;
    ILunaWolves public lunaWolves;

    uint public mintPhase = 0;
    uint public constant MAX_SUPPLY = 3500;
    uint public constant PHASE_1_MAX_SUPPLY = 1000;
    uint public constant PHASE_2_MAX_SUPPLY = 2000;

    mapping(uint => bool) public wolfHasMintedLuna;

    WolfGang _wolfGangContract;

    modifier mintAvailable(uint quantity) {
        uint wolvesBalance = _wolfGangContract.balanceOf(msg.sender);
        require(mintPhase > 0, "mint is not available yet");
        
        if (mintPhase == 1) {
            require(totalSupply().add(quantity) <= PHASE_1_MAX_SUPPLY);
            require(_wolfGangContract.balanceOf(msg.sender) >= 15, "you need at least 15 wolves to mint");
        } else if (mintPhase == 2) {
            require(totalSupply().add(quantity) <= PHASE_2_MAX_SUPPLY);
            require(_wolfGangContract.balanceOf(msg.sender) >= 5, "you need at least 5 wolves to mint");
        }

        _;
    }

    constructor(address _lunaWolves) {
        lunaWolves = ILunaWolves(_lunaWolves);
        _wolfGangContract = WolfGang(0x88c2b948749b13aBC1e0AE4B50ebeb2131D283C1);
    }

    function mintLunas(uint quantity) public payable mintAvailable(quantity) {
        uint[] memory availableWolves = availableWolvesOfOwner(msg.sender);
        uint numberOfLunas;

        require(availableWolves.length >= quantity, "not enouth available wolves to mint lunas");

        if (totalSupply().add(availableWolves.length) > MAX_SUPPLY) {
            numberOfLunas = MAX_SUPPLY.sub(totalSupply());
        } else {
            numberOfLunas = availableWolves.length;
        }

        numberOfLunas = numberOfLunas > quantity ? quantity : numberOfLunas;

        for (uint i = 0; i < numberOfLunas; i++) {
            wolfHasMintedLuna[availableWolves[i]] = true;
            lunaWolves.mint(msg.sender);
        }
    }

    function mintLuna(uint tokenId) public payable mintAvailable(1) {
        require(_wolfGangContract.ownerOf(tokenId) == msg.sender, "sender is not the owner of this wolf");
        require(wolfHasMintedLuna[tokenId] == false, "this wolf already minted a luna");

        wolfHasMintedLuna[tokenId] = true;
        lunaWolves.mint(msg.sender);
    }

    function availableWolvesOfOwner(address owner) public view returns (uint[] memory) {
        uint[] memory wolvesOfOwner = _wolfGangContract.tokensOfOwner(owner);

        uint unclaimedLunas = 0;
        for(uint index = 0; index < wolvesOfOwner.length; index++) {
            if (wolfHasMintedLuna[wolvesOfOwner[index]] == false) {
                unclaimedLunas++;
            }
        }

        uint[] memory availableWolves = new uint[](unclaimedLunas);
        uint availableWolvesIndex = 0;
        for(uint index = 0; index < unclaimedLunas; index++) {
            if (wolfHasMintedLuna[wolvesOfOwner[index]] == false) {
                availableWolves[availableWolvesIndex] = wolvesOfOwner[index];
                availableWolvesIndex++;
            }
        }

        return availableWolves;
    }

    function setMintPhase(uint _phase) public onlyOwner {
        mintPhase = _phase;
    }

    function mintLunasToAddresses(address[] calldata receivers) external onlyOwner {
        for (uint index = 0; index < receivers.length; index++) {
            lunaWolves.mint(receivers[index]);
        }
    }

    function mintLunaTo(address receiver) external onlyOwner {
        lunaWolves.mint(receiver);
    }

    function totalSupply() public view returns (uint) {
        return lunaWolves.totalSupply();
    }
}

File 2 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 3 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 4 of 8 : ILunaWolves.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.7.3;

import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721EnumerableUpgradeable.sol";

interface ILunaWolves is IERC721EnumerableUpgradeable {
    function mint(address) external;
}

File 5 of 8 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 6 of 8 : IERC721EnumerableUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

import "./IERC721Upgradeable.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721EnumerableUpgradeable is IERC721Upgradeable {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 7 of 8 : IERC721Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

import "../../introspection/IERC165Upgradeable.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721Upgradeable is IERC165Upgradeable {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
      * @dev Safely transfers `tokenId` token from `from` to `to`.
      *
      * Requirements:
      *
      * - `from` cannot be the zero address.
      * - `to` cannot be the zero address.
      * - `tokenId` token must exist and be owned by `from`.
      * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
      * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
      *
      * Emits a {Transfer} event.
      */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}

File 8 of 8 : IERC165Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 IERC165Upgradeable {
    /**
     * @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);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_lunaWolves","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PHASE_1_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PHASE_2_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"availableWolvesOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lunaWolves","outputs":[{"internalType":"contract ILunaWolves","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintLuna","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"mintLunaTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintLunas","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"}],"name":"mintLunasToAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phase","type":"uint256"}],"name":"setMintPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wolfHasMintedLuna","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

6080604052600060025534801561001557600080fd5b50604051611fe4380380611fe48339818101604052602081101561003857600080fd5b8101908080519060200190929190505050600061005961019360201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507388c2b948749b13abc1e0ae4b50ebeb2131d283c1600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505061019b565b600033905090565b611e3a806101aa6000396000f3fe6080604052600436106100f35760003560e01c806361b902c41161008a578063943431bf11610059578063943431bf146103e1578063b8a0d9181461041c578063c6f99ccb146104a2578063f2fde38b146104cd576100f3565b806361b902c41461031a578063715018a61461035b5780638a65b4f0146103725780638da5cb5b146103a0576100f3565b806339515ad2116100c657806339515ad2146101ca5780634d3ffe0714610270578063581c8111146102c157806358267328146102ec576100f3565b806317881cbf146100f857806318160ddd1461012357806325b955a11461014e57806332cb6b0c1461019f575b600080fd5b34801561010457600080fd5b5061010d61051e565b6040518082815260200191505060405180910390f35b34801561012f57600080fd5b50610138610524565b6040518082815260200191505060405180910390f35b34801561015a57600080fd5b506101876004803603602081101561017157600080fd5b81019080803590602001909291905050506105ce565b60405180821515815260200191505060405180910390f35b3480156101ab57600080fd5b506101b46105ee565b6040518082815260200191505060405180910390f35b3480156101d657600080fd5b50610219600480360360208110156101ed57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506105f4565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561025c578082015181840152602081019050610241565b505050509050019250505060405180910390f35b34801561027c57600080fd5b506102bf6004803603602081101561029357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108a1565b005b3480156102cd57600080fd5b506102d66109f6565b6040518082815260200191505060405180910390f35b6103186004803603602081101561030257600080fd5b81019080803590602001909291905050506109fc565b005b34801561032657600080fd5b5061032f611083565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561036757600080fd5b506103706110a9565b005b61039e6004803603602081101561038857600080fd5b8101908080359060200190929190505050611216565b005b3480156103ac57600080fd5b506103b56117c5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103ed57600080fd5b5061041a6004803603602081101561040457600080fd5b81019080803590602001909291905050506117ee565b005b34801561042857600080fd5b506104a06004803603602081101561043f57600080fd5b810190808035906020019064010000000081111561045c57600080fd5b82018360208201111561046e57600080fd5b8035906020019184602083028401116401000000008311171561049057600080fd5b90919293919293905050506118a7565b005b3480156104ae57600080fd5b506104b7611a41565b6040518082815260200191505060405180910390f35b3480156104d957600080fd5b5061051c600480360360208110156104f057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a47565b005b60025481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561058e57600080fd5b505afa1580156105a2573d6000803e3d6000fd5b505050506040513d60208110156105b857600080fd5b8101908080519060200190929190505050905090565b60036020528060005260406000206000915054906101000a900460ff1681565b610dac81565b606080600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638462151c846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060006040518083038186803b15801561068057600080fd5b505afa158015610694573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525060208110156106be57600080fd5b81019080805160405193929190846401000000008211156106de57600080fd5b838201915060208201858111156106f457600080fd5b825186602082028301116401000000008211171561071157600080fd5b8083526020830192505050908051906020019060200280838360005b8381101561074857808201518184015260208101905061072d565b5050505090500160405250505090506000805b82518110156107ba57600015156003600085848151811061077857fe5b6020026020010151815260200190815260200160002060009054906101000a900460ff16151514156107ad5781806001019250505b808060010191505061075b565b5060608167ffffffffffffffff811180156107d457600080fd5b506040519080825280602002602001820160405280156108035781602001602082028036833780820191505090505b5090506000805b8381101561089457600015156003600087848151811061082657fe5b6020026020010151815260200190815260200160002060009054906101000a900460ff16151514156108875784818151811061085e57fe5b602002602001015183838151811061087257fe5b60200260200101818152505081806001019250505b808060010191505061080a565b5081945050505050919050565b6108a9611c39565b73ffffffffffffffffffffffffffffffffffffffff166108c76117c5565b73ffffffffffffffffffffffffffffffffffffffff1614610950576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1580156109db57600080fd5b505af11580156109ef573d6000803e3d6000fd5b5050505050565b6107d081565b60016000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610a8957600080fd5b505afa158015610a9d573d6000803e3d6000fd5b505050506040513d6020811015610ab357600080fd5b81019080805190602001909291905050509050600060025411610b3e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f6d696e74206973206e6f7420617661696c61626c65207965740000000000000081525060200191505060405180910390fd5b60016002541415610c93576103e8610b6683610b58610524565b611c4190919063ffffffff16565b1115610b7157600080fd5b600f600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610bfc57600080fd5b505afa158015610c10573d6000803e3d6000fd5b505050506040513d6020811015610c2657600080fd5b81019080805190602001909291905050501015610c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611de26023913960400191505060405180910390fd5b610de4565b600280541415610de3576107d0610cba83610cac610524565b611c4190919063ffffffff16565b1115610cc557600080fd5b6005600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610d5057600080fd5b505afa158015610d64573d6000803e3d6000fd5b505050506040513d6020811015610d7a57600080fd5b81019080805190602001909291905050501015610de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180611d976022913960400191505060405180910390fd5b5b5b3373ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610e6e57600080fd5b505afa158015610e82573d6000803e3d6000fd5b505050506040513d6020811015610e9857600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff1614610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611d736024913960400191505060405180910390fd5b600015156003600085815260200190815260200160002060009054906101000a900460ff16151514610faf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f7468697320776f6c6620616c7265616479206d696e7465642061206c756e610081525060200191505060405180910390fd5b60016003600085815260200190815260200160002060006101000a81548160ff021916908315150217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15801561106657600080fd5b505af115801561107a573d6000803e3d6000fd5b50505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110b1611c39565b73ffffffffffffffffffffffffffffffffffffffff166110cf6117c5565b73ffffffffffffffffffffffffffffffffffffffff1614611158576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b806000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156112a257600080fd5b505afa1580156112b6573d6000803e3d6000fd5b505050506040513d60208110156112cc57600080fd5b81019080805190602001909291905050509050600060025411611357576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f6d696e74206973206e6f7420617661696c61626c65207965740000000000000081525060200191505060405180910390fd5b600160025414156114ac576103e861137f83611371610524565b611c4190919063ffffffff16565b111561138a57600080fd5b600f600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561141557600080fd5b505afa158015611429573d6000803e3d6000fd5b505050506040513d602081101561143f57600080fd5b810190808051906020019092919050505010156114a7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611de26023913960400191505060405180910390fd5b6115fd565b6002805414156115fc576107d06114d3836114c5610524565b611c4190919063ffffffff16565b11156114de57600080fd5b6005600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561156957600080fd5b505afa15801561157d573d6000803e3d6000fd5b505050506040513d602081101561159357600080fd5b810190808051906020019092919050505010156115fb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180611d976022913960400191505060405180910390fd5b5b5b6060611608336105f4565b905060008482511015611666576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180611db96029913960400191505060405180910390fd5b610dac6116848351611676610524565b611c4190919063ffffffff16565b11156116ad576116a6611695610524565b610dac611cc990919063ffffffff16565b90506116b2565b815190505b8481116116bf57806116c1565b845b905060005b818110156117bd576001600360008584815181106116e057fe5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15801561179857600080fd5b505af11580156117ac573d6000803e3d6000fd5b5050505080806001019150506116c6565b505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117f6611c39565b73ffffffffffffffffffffffffffffffffffffffff166118146117c5565b73ffffffffffffffffffffffffffffffffffffffff161461189d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060028190555050565b6118af611c39565b73ffffffffffffffffffffffffffffffffffffffff166118cd6117c5565b73ffffffffffffffffffffffffffffffffffffffff1614611956576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60005b82829050811015611a3c57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a6278428484848181106119ae57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b158015611a1757600080fd5b505af1158015611a2b573d6000803e3d6000fd5b505050508080600101915050611959565b505050565b6103e881565b611a4f611c39565b73ffffffffffffffffffffffffffffffffffffffff16611a6d6117c5565b73ffffffffffffffffffffffffffffffffffffffff1614611af6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611d4d6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600080828401905083811015611cbf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600082821115611d41576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b81830390509291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737373656e646572206973206e6f7420746865206f776e6572206f66207468697320776f6c66796f75206e656564206174206c65617374203520776f6c76657320746f206d696e746e6f7420656e6f75746820617661696c61626c6520776f6c76657320746f206d696e74206c756e6173796f75206e656564206174206c6561737420313520776f6c76657320746f206d696e74a264697066735822122000d5013c28a68addc3d6343ccd35cb1f8c7ebc8c816367ff9655492feb2efd9a64736f6c63430007030033000000000000000000000000c852675bb88c8e41341c20d98a18dd0c1e5b9249

Deployed Bytecode

0x6080604052600436106100f35760003560e01c806361b902c41161008a578063943431bf11610059578063943431bf146103e1578063b8a0d9181461041c578063c6f99ccb146104a2578063f2fde38b146104cd576100f3565b806361b902c41461031a578063715018a61461035b5780638a65b4f0146103725780638da5cb5b146103a0576100f3565b806339515ad2116100c657806339515ad2146101ca5780634d3ffe0714610270578063581c8111146102c157806358267328146102ec576100f3565b806317881cbf146100f857806318160ddd1461012357806325b955a11461014e57806332cb6b0c1461019f575b600080fd5b34801561010457600080fd5b5061010d61051e565b6040518082815260200191505060405180910390f35b34801561012f57600080fd5b50610138610524565b6040518082815260200191505060405180910390f35b34801561015a57600080fd5b506101876004803603602081101561017157600080fd5b81019080803590602001909291905050506105ce565b60405180821515815260200191505060405180910390f35b3480156101ab57600080fd5b506101b46105ee565b6040518082815260200191505060405180910390f35b3480156101d657600080fd5b50610219600480360360208110156101ed57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506105f4565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561025c578082015181840152602081019050610241565b505050509050019250505060405180910390f35b34801561027c57600080fd5b506102bf6004803603602081101561029357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108a1565b005b3480156102cd57600080fd5b506102d66109f6565b6040518082815260200191505060405180910390f35b6103186004803603602081101561030257600080fd5b81019080803590602001909291905050506109fc565b005b34801561032657600080fd5b5061032f611083565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561036757600080fd5b506103706110a9565b005b61039e6004803603602081101561038857600080fd5b8101908080359060200190929190505050611216565b005b3480156103ac57600080fd5b506103b56117c5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103ed57600080fd5b5061041a6004803603602081101561040457600080fd5b81019080803590602001909291905050506117ee565b005b34801561042857600080fd5b506104a06004803603602081101561043f57600080fd5b810190808035906020019064010000000081111561045c57600080fd5b82018360208201111561046e57600080fd5b8035906020019184602083028401116401000000008311171561049057600080fd5b90919293919293905050506118a7565b005b3480156104ae57600080fd5b506104b7611a41565b6040518082815260200191505060405180910390f35b3480156104d957600080fd5b5061051c600480360360208110156104f057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a47565b005b60025481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561058e57600080fd5b505afa1580156105a2573d6000803e3d6000fd5b505050506040513d60208110156105b857600080fd5b8101908080519060200190929190505050905090565b60036020528060005260406000206000915054906101000a900460ff1681565b610dac81565b606080600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638462151c846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060006040518083038186803b15801561068057600080fd5b505afa158015610694573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525060208110156106be57600080fd5b81019080805160405193929190846401000000008211156106de57600080fd5b838201915060208201858111156106f457600080fd5b825186602082028301116401000000008211171561071157600080fd5b8083526020830192505050908051906020019060200280838360005b8381101561074857808201518184015260208101905061072d565b5050505090500160405250505090506000805b82518110156107ba57600015156003600085848151811061077857fe5b6020026020010151815260200190815260200160002060009054906101000a900460ff16151514156107ad5781806001019250505b808060010191505061075b565b5060608167ffffffffffffffff811180156107d457600080fd5b506040519080825280602002602001820160405280156108035781602001602082028036833780820191505090505b5090506000805b8381101561089457600015156003600087848151811061082657fe5b6020026020010151815260200190815260200160002060009054906101000a900460ff16151514156108875784818151811061085e57fe5b602002602001015183838151811061087257fe5b60200260200101818152505081806001019250505b808060010191505061080a565b5081945050505050919050565b6108a9611c39565b73ffffffffffffffffffffffffffffffffffffffff166108c76117c5565b73ffffffffffffffffffffffffffffffffffffffff1614610950576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1580156109db57600080fd5b505af11580156109ef573d6000803e3d6000fd5b5050505050565b6107d081565b60016000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610a8957600080fd5b505afa158015610a9d573d6000803e3d6000fd5b505050506040513d6020811015610ab357600080fd5b81019080805190602001909291905050509050600060025411610b3e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f6d696e74206973206e6f7420617661696c61626c65207965740000000000000081525060200191505060405180910390fd5b60016002541415610c93576103e8610b6683610b58610524565b611c4190919063ffffffff16565b1115610b7157600080fd5b600f600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610bfc57600080fd5b505afa158015610c10573d6000803e3d6000fd5b505050506040513d6020811015610c2657600080fd5b81019080805190602001909291905050501015610c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611de26023913960400191505060405180910390fd5b610de4565b600280541415610de3576107d0610cba83610cac610524565b611c4190919063ffffffff16565b1115610cc557600080fd5b6005600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610d5057600080fd5b505afa158015610d64573d6000803e3d6000fd5b505050506040513d6020811015610d7a57600080fd5b81019080805190602001909291905050501015610de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180611d976022913960400191505060405180910390fd5b5b5b3373ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610e6e57600080fd5b505afa158015610e82573d6000803e3d6000fd5b505050506040513d6020811015610e9857600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff1614610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611d736024913960400191505060405180910390fd5b600015156003600085815260200190815260200160002060009054906101000a900460ff16151514610faf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f7468697320776f6c6620616c7265616479206d696e7465642061206c756e610081525060200191505060405180910390fd5b60016003600085815260200190815260200160002060006101000a81548160ff021916908315150217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15801561106657600080fd5b505af115801561107a573d6000803e3d6000fd5b50505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110b1611c39565b73ffffffffffffffffffffffffffffffffffffffff166110cf6117c5565b73ffffffffffffffffffffffffffffffffffffffff1614611158576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b806000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156112a257600080fd5b505afa1580156112b6573d6000803e3d6000fd5b505050506040513d60208110156112cc57600080fd5b81019080805190602001909291905050509050600060025411611357576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f6d696e74206973206e6f7420617661696c61626c65207965740000000000000081525060200191505060405180910390fd5b600160025414156114ac576103e861137f83611371610524565b611c4190919063ffffffff16565b111561138a57600080fd5b600f600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561141557600080fd5b505afa158015611429573d6000803e3d6000fd5b505050506040513d602081101561143f57600080fd5b810190808051906020019092919050505010156114a7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611de26023913960400191505060405180910390fd5b6115fd565b6002805414156115fc576107d06114d3836114c5610524565b611c4190919063ffffffff16565b11156114de57600080fd5b6005600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561156957600080fd5b505afa15801561157d573d6000803e3d6000fd5b505050506040513d602081101561159357600080fd5b810190808051906020019092919050505010156115fb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180611d976022913960400191505060405180910390fd5b5b5b6060611608336105f4565b905060008482511015611666576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180611db96029913960400191505060405180910390fd5b610dac6116848351611676610524565b611c4190919063ffffffff16565b11156116ad576116a6611695610524565b610dac611cc990919063ffffffff16565b90506116b2565b815190505b8481116116bf57806116c1565b845b905060005b818110156117bd576001600360008584815181106116e057fe5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15801561179857600080fd5b505af11580156117ac573d6000803e3d6000fd5b5050505080806001019150506116c6565b505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117f6611c39565b73ffffffffffffffffffffffffffffffffffffffff166118146117c5565b73ffffffffffffffffffffffffffffffffffffffff161461189d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060028190555050565b6118af611c39565b73ffffffffffffffffffffffffffffffffffffffff166118cd6117c5565b73ffffffffffffffffffffffffffffffffffffffff1614611956576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60005b82829050811015611a3c57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a6278428484848181106119ae57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b158015611a1757600080fd5b505af1158015611a2b573d6000803e3d6000fd5b505050508080600101915050611959565b505050565b6103e881565b611a4f611c39565b73ffffffffffffffffffffffffffffffffffffffff16611a6d6117c5565b73ffffffffffffffffffffffffffffffffffffffff1614611af6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611d4d6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600080828401905083811015611cbf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600082821115611d41576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b81830390509291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737373656e646572206973206e6f7420746865206f776e6572206f66207468697320776f6c66796f75206e656564206174206c65617374203520776f6c76657320746f206d696e746e6f7420656e6f75746820617661696c61626c6520776f6c76657320746f206d696e74206c756e6173796f75206e656564206174206c6561737420313520776f6c76657320746f206d696e74a264697066735822122000d5013c28a68addc3d6343ccd35cb1f8c7ebc8c816367ff9655492feb2efd9a64736f6c63430007030033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000c852675bb88c8e41341c20d98a18dd0c1e5b9249

-----Decoded View---------------
Arg [0] : _lunaWolves (address): 0xc852675BB88c8E41341C20D98A18Dd0C1E5B9249

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c852675bb88c8e41341c20d98a18dd0c1e5b9249


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.