ETH Price: $2,342.51 (+2.22%)

Contract

0x3C1bB44e66e73BD88D575b2D1B85308612a1F510

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Pause206717862023-09-09 15:55:47877 days ago1694274947IN
0x3C1bB44e...612a1F510
0 ETH0.000000520.01
Withdraw All127610682023-06-28 6:50:06950 days ago1687935006IN
0x3C1bB44e...612a1F510
0 ETH0.000000460.01
Mint83044212023-05-10 2:23:11999 days ago1683685391IN
0x3C1bB44e...612a1F510
0.075 ETH0.000002150.01
Mint63144732023-04-21 1:54:421018 days ago1682042082IN
0x3C1bB44e...612a1F510
0.075 ETH0.000001960.01
Mint59274542023-04-16 18:24:501023 days ago1681669490IN
0x3C1bB44e...612a1F510
0.075 ETH0.000001840.01
Mint54374392023-04-11 23:51:511028 days ago1681257111IN
0x3C1bB44e...612a1F510
0.375 ETH0.000006430.01
Mint54374132023-04-11 23:51:221028 days ago1681257082IN
0x3C1bB44e...612a1F510
0.375 ETH0.000006430.01
Mint52972172023-04-10 21:13:161029 days ago1681161196IN
0x3C1bB44e...612a1F510
0.75 ETH0.000012210.01
Mint46195302023-04-04 11:26:221035 days ago1680607582IN
0x3C1bB44e...612a1F510
0.075 ETH0.000001810.01
Mint44791822023-04-03 13:39:561036 days ago1680529196IN
0x3C1bB44e...612a1F510
0.525 ETH0.000008740.01
Mint44628212023-04-03 11:22:251036 days ago1680520945IN
0x3C1bB44e...612a1F510
0.075 ETH0.00000180.01
Mint43973632023-04-02 19:03:161037 days ago1680462196IN
0x3C1bB44e...612a1F510
0.075 ETH0.000001810.01
Mint41184792023-03-31 20:50:221039 days ago1680295822IN
0x3C1bB44e...612a1F510
0.075 ETH0.000001880.01
Mint40345642023-03-31 7:40:171039 days ago1680248417IN
0x3C1bB44e...612a1F510
0.15 ETH0.000003010.01
Mint40164462023-03-31 2:56:261039 days ago1680231386IN
0x3C1bB44e...612a1F510
0.075 ETH0.000001880.01
Mint40164382023-03-31 2:56:201039 days ago1680231380IN
0x3C1bB44e...612a1F510
0.075 ETH0.000001880.01
Mint40093942023-03-30 23:58:571040 days ago1680220737IN
0x3C1bB44e...612a1F510
0.075 ETH0.000001920.01
Mint39825442023-03-30 16:01:461040 days ago1680192106IN
0x3C1bB44e...612a1F510
0.15 ETH0.000003060.01
Mint39705302023-03-30 13:21:021040 days ago1680182462IN
0x3C1bB44e...612a1F510
0.075 ETH0.000001910.01
Mint39419102023-03-30 8:13:191040 days ago1680163999IN
0x3C1bB44e...612a1F510
0.075 ETH0.000001860.01
Mint39270012023-03-30 4:30:041040 days ago1680150604IN
0x3C1bB44e...612a1F510
0.075 ETH0.000001870.01
Mint38408792023-03-29 6:58:101041 days ago1680073090IN
0x3C1bB44e...612a1F510
0.225 ETH0.000004170.01
Mint38338352023-03-29 4:57:571041 days ago1680065877IN
0x3C1bB44e...612a1F510
0.075 ETH0.000001840.01
Mint38225042023-03-29 0:05:431042 days ago1680048343IN
0x3C1bB44e...612a1F510
0.075 ETH0.000001870.01
Mint37249132023-03-28 1:35:551042 days ago1679967355IN
0x3C1bB44e...612a1F510
0.075 ETH0.000001850.01
View all transactions

Latest 6 internal transactions

Parent Transaction Hash Block From To
127610682023-06-28 6:50:06950 days ago1687935006
0x3C1bB44e...612a1F510
0.765 ETH
127610682023-06-28 6:50:06950 days ago1687935006
0x3C1bB44e...612a1F510
6.885 ETH
34755642023-03-24 14:23:201046 days ago1679667800
0x3C1bB44e...612a1F510
0.21 ETH
34755642023-03-24 14:23:201046 days ago1679667800
0x3C1bB44e...612a1F510
1.89 ETH
10470892022-11-14 14:39:571176 days ago1668436797
0x3C1bB44e...612a1F510
0.945 ETH
10470892022-11-14 14:39:571176 days ago1668436797
0x3C1bB44e...612a1F510
8.505 ETH

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PublicSaleMinter

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol";
import {IERC721Mintable} from "../interfaces/IERC721Mintable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract PublicSaleMinter is Pausable, ReentrancyGuard, Ownable {
    // The thing to mint
    IERC721Mintable public immutable nft;

    // ETH price per nft
    uint256 public mintPrice = 0.18 ether;

    // Start timestamp
    uint256 public startTimestamp = type(uint256).max;

    address payable public artistWallet;

    event PublicSaleMinted(address indexed _minter, uint256[] _tokenIds);

    constructor(IERC721Mintable _nft) {
        nft = _nft;
        _pause();
    }

    function mint(uint256 quantity) external payable whenNotPaused nonReentrant {
        require(block.timestamp >= startTimestamp, "ETH minting not started yet");

        uint256 totalAmount = quantity * mintPrice;

        require(msg.value == totalAmount, "Not enough ETH sent");

        uint256[] memory tokenIDs = nft.mintBatch(msg.sender, quantity);

        emit PublicSaleMinted(msg.sender, tokenIDs);
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

    function setStartTimestamp(uint256 _startTimestamp) external onlyOwner {
        startTimestamp = _startTimestamp;
    }

    function setMintPrice(uint256 _mintPrice) external onlyOwner {
        mintPrice = _mintPrice;
    }

    function setArtistWallet(address payable _artistWallet) external onlyOwner {
        artistWallet = _artistWallet;
    }

    function withdrawAll() public payable onlyOwner {
        require(artistWallet != address(0), "Artist wallet not set");

        uint256 balance = address(this).balance;

        uint256 artistBalance = balance / 10;
        uint256 ownerBalance = balance - artistBalance;

        require(payable(msg.sender).send(ownerBalance));
        require(payable(artistWallet).send(artistBalance));
    }

    function forwardERC20s(IERC20 _token, uint256 amount) public onlyOwner {
        _token.transfer(msg.sender, amount);
    }
}

// SPDX-License-Identifier: MIT

import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";

pragma solidity ^0.8.16;

interface IERC721Mintable is IERC721 {
    function mint(address recipient) external returns (uint256);
    function mintBatch(address recipient, uint256 quantity) external returns (uint256[] memory tokenIds);
}

// 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 (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 6 of 9 : ReentrancyGuard.sol
// 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 (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 v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/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;
    }
}

Settings
{
  "metadata": {
    "bytecodeHash": "none",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"contract IERC721Mintable","name":"_nft","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"PublicSaleMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"artistWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"forwardERC20s","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft","outputs":[{"internalType":"contract IERC721Mintable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_artistWallet","type":"address"}],"name":"setArtistWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTimestamp","type":"uint256"}],"name":"setStartTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTimestamp","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

60a060405267027f7d0bdb92000060035560001960045534801561002257600080fd5b50604051610cc2380380610cc28339810160408190526100419161016b565b6000805460ff191690556001805561005833610073565b6001600160a01b03811660805261006d6100c5565b5061019b565b600280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6100cd61011f565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586101023390565b6040516001600160a01b03909116815260200160405180910390a1565b60005460ff16156101695760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640160405180910390fd5b565b60006020828403121561017d57600080fd5b81516001600160a01b038116811461019457600080fd5b9392505050565b608051610b056101bd60003960008181610121015261058c0152610b056000f3fe6080604052600436106100f35760003560e01c80639727151a1161008a578063e6fd48bc11610059578063e6fd48bc1461026a578063f2fde38b14610280578063f4a0a528146102a0578063fce57fd9146102c057600080fd5b80639727151a146101f7578063a0712d6814610217578063a3342fba1461022a578063c44bef751461024a57600080fd5b8063715018a6116100c6578063715018a6146101a75780638456cb59146101bc578063853828b6146101d15780638da5cb5b146101d957600080fd5b80633f4ba83a146100f857806347ccca021461010f5780635c975abb146101605780636817c76c14610183575b600080fd5b34801561010457600080fd5b5061010d6102e0565b005b34801561011b57600080fd5b506101437f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561016c57600080fd5b5060005460ff166040519015158152602001610157565b34801561018f57600080fd5b5061019960035481565b604051908152602001610157565b3480156101b357600080fd5b5061010d6102f2565b3480156101c857600080fd5b5061010d610304565b61010d610314565b3480156101e557600080fd5b506002546001600160a01b0316610143565b34801561020357600080fd5b5061010d6102123660046108ed565b6103ec565b61010d610225366004610919565b610465565b34801561023657600080fd5b50600554610143906001600160a01b031681565b34801561025657600080fd5b5061010d610265366004610919565b610651565b34801561027657600080fd5b5061019960045481565b34801561028c57600080fd5b5061010d61029b366004610932565b61065e565b3480156102ac57600080fd5b5061010d6102bb366004610919565b6106d7565b3480156102cc57600080fd5b5061010d6102db366004610932565b6106e4565b6102e861070e565b6102f0610768565b565b6102fa61070e565b6102f060006107ba565b61030c61070e565b6102f061080c565b61031c61070e565b6005546001600160a01b03166103715760405162461bcd60e51b8152602060048201526015602482015274105c9d1a5cdd081dd85b1b195d081b9bdd081cd95d605a1b60448201526064015b60405180910390fd5b47600061037f600a8361096c565b9050600061038d828461098e565b604051909150339082156108fc029083906000818181858888f193505050506103b557600080fd5b6005546040516001600160a01b039091169083156108fc029084906000818181858888f193505050506103e757600080fd5b505050565b6103f461070e565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610441573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e791906109a7565b61046d610849565b6002600154036104bf5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610368565b60026001556004544210156105165760405162461bcd60e51b815260206004820152601b60248201527f455448206d696e74696e67206e6f7420737461727465642079657400000000006044820152606401610368565b60006003548261052691906109c9565b905080341461056d5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b6044820152606401610368565b604051630922dc7f60e21b8152336004820152602481018390526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063248b71fc906044016000604051808303816000875af11580156105dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261060591908101906109f6565b9050336001600160a01b03167f1dca324775dd566a45e7ba053eab54feec14504ebd11111cd26c652614fba099826040516106409190610ab4565b60405180910390a250506001805550565b61065961070e565b600455565b61066661070e565b6001600160a01b0381166106cb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610368565b6106d4816107ba565b50565b6106df61070e565b600355565b6106ec61070e565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031633146102f05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610368565b61077061088f565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610814610849565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861079d3390565b60005460ff16156102f05760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610368565b60005460ff166102f05760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610368565b6001600160a01b03811681146106d457600080fd5b6000806040838503121561090057600080fd5b823561090b816108d8565b946020939093013593505050565b60006020828403121561092b57600080fd5b5035919050565b60006020828403121561094457600080fd5b813561094f816108d8565b9392505050565b634e487b7160e01b600052601160045260246000fd5b60008261098957634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156109a1576109a1610956565b92915050565b6000602082840312156109b957600080fd5b8151801515811461094f57600080fd5b80820281158282048414176109a1576109a1610956565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610a0957600080fd5b825167ffffffffffffffff80821115610a2157600080fd5b818501915085601f830112610a3557600080fd5b815181811115610a4757610a476109e0565b8060051b604051601f19603f83011681018181108582111715610a6c57610a6c6109e0565b604052918252848201925083810185019188831115610a8a57600080fd5b938501935b82851015610aa857845184529385019392850192610a8f565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610aec57835183529284019291840191600101610ad0565b5090969550505050505056fea164736f6c6343000811000a0000000000000000000000006f81e9d51bf482ec3f3724b28eefe9f9fbe4fe04

Deployed Bytecode

0x6080604052600436106100f35760003560e01c80639727151a1161008a578063e6fd48bc11610059578063e6fd48bc1461026a578063f2fde38b14610280578063f4a0a528146102a0578063fce57fd9146102c057600080fd5b80639727151a146101f7578063a0712d6814610217578063a3342fba1461022a578063c44bef751461024a57600080fd5b8063715018a6116100c6578063715018a6146101a75780638456cb59146101bc578063853828b6146101d15780638da5cb5b146101d957600080fd5b80633f4ba83a146100f857806347ccca021461010f5780635c975abb146101605780636817c76c14610183575b600080fd5b34801561010457600080fd5b5061010d6102e0565b005b34801561011b57600080fd5b506101437f0000000000000000000000006f81e9d51bf482ec3f3724b28eefe9f9fbe4fe0481565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561016c57600080fd5b5060005460ff166040519015158152602001610157565b34801561018f57600080fd5b5061019960035481565b604051908152602001610157565b3480156101b357600080fd5b5061010d6102f2565b3480156101c857600080fd5b5061010d610304565b61010d610314565b3480156101e557600080fd5b506002546001600160a01b0316610143565b34801561020357600080fd5b5061010d6102123660046108ed565b6103ec565b61010d610225366004610919565b610465565b34801561023657600080fd5b50600554610143906001600160a01b031681565b34801561025657600080fd5b5061010d610265366004610919565b610651565b34801561027657600080fd5b5061019960045481565b34801561028c57600080fd5b5061010d61029b366004610932565b61065e565b3480156102ac57600080fd5b5061010d6102bb366004610919565b6106d7565b3480156102cc57600080fd5b5061010d6102db366004610932565b6106e4565b6102e861070e565b6102f0610768565b565b6102fa61070e565b6102f060006107ba565b61030c61070e565b6102f061080c565b61031c61070e565b6005546001600160a01b03166103715760405162461bcd60e51b8152602060048201526015602482015274105c9d1a5cdd081dd85b1b195d081b9bdd081cd95d605a1b60448201526064015b60405180910390fd5b47600061037f600a8361096c565b9050600061038d828461098e565b604051909150339082156108fc029083906000818181858888f193505050506103b557600080fd5b6005546040516001600160a01b039091169083156108fc029084906000818181858888f193505050506103e757600080fd5b505050565b6103f461070e565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610441573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e791906109a7565b61046d610849565b6002600154036104bf5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610368565b60026001556004544210156105165760405162461bcd60e51b815260206004820152601b60248201527f455448206d696e74696e67206e6f7420737461727465642079657400000000006044820152606401610368565b60006003548261052691906109c9565b905080341461056d5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b6044820152606401610368565b604051630922dc7f60e21b8152336004820152602481018390526000907f0000000000000000000000006f81e9d51bf482ec3f3724b28eefe9f9fbe4fe046001600160a01b03169063248b71fc906044016000604051808303816000875af11580156105dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261060591908101906109f6565b9050336001600160a01b03167f1dca324775dd566a45e7ba053eab54feec14504ebd11111cd26c652614fba099826040516106409190610ab4565b60405180910390a250506001805550565b61065961070e565b600455565b61066661070e565b6001600160a01b0381166106cb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610368565b6106d4816107ba565b50565b6106df61070e565b600355565b6106ec61070e565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031633146102f05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610368565b61077061088f565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610814610849565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861079d3390565b60005460ff16156102f05760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610368565b60005460ff166102f05760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610368565b6001600160a01b03811681146106d457600080fd5b6000806040838503121561090057600080fd5b823561090b816108d8565b946020939093013593505050565b60006020828403121561092b57600080fd5b5035919050565b60006020828403121561094457600080fd5b813561094f816108d8565b9392505050565b634e487b7160e01b600052601160045260246000fd5b60008261098957634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156109a1576109a1610956565b92915050565b6000602082840312156109b957600080fd5b8151801515811461094f57600080fd5b80820281158282048414176109a1576109a1610956565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610a0957600080fd5b825167ffffffffffffffff80821115610a2157600080fd5b818501915085601f830112610a3557600080fd5b815181811115610a4757610a476109e0565b8060051b604051601f19603f83011681018181108582111715610a6c57610a6c6109e0565b604052918252848201925083810185019188831115610a8a57600080fd5b938501935b82851015610aa857845184529385019392850192610a8f565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610aec57835183529284019291840191600101610ad0565b5090969550505050505056fea164736f6c6343000811000a

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

0000000000000000000000006f81e9d51bf482ec3f3724b28eefe9f9fbe4fe04

-----Decoded View---------------
Arg [0] : _nft (address): 0x6f81e9D51Bf482EC3f3724B28eEFE9f9fBe4Fe04

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000006f81e9d51bf482ec3f3724b28eefe9f9fbe4fe04


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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  ]
[ 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.