ETH Price: $2,340.77 (-0.33%)

Contract

0xb2Ce34cE454178ca3E8Bd8840baEDfb4c7e2a0Fe
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint152362922022-07-29 8:29:43782 days ago1659083383IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.001019669.02925971
Mint152362892022-07-29 8:29:35782 days ago1659083375IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.00105969.38292685
Mint152354252022-07-29 5:05:54782 days ago1659071154IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.000797318.3201888
Mint152353602022-07-29 4:49:26782 days ago1659070166IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.000958078.16372801
Mint152347982022-07-29 2:46:59782 days ago1659062819IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.001117399.52132622
Mint152347622022-07-29 2:40:06782 days ago1659062406IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0016027113.65676685
Mint152347622022-07-29 2:40:06782 days ago1659062406IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0016027113.65676685
Mint152347622022-07-29 2:40:06782 days ago1659062406IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0016027113.65676685
Mint152347622022-07-29 2:40:06782 days ago1659062406IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0016027113.65676685
Mint152347602022-07-29 2:38:15782 days ago1659062295IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0013738411.70657761
Mint152347602022-07-29 2:38:15782 days ago1659062295IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0013738411.70657761
Mint152347602022-07-29 2:38:15782 days ago1659062295IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0013738411.70657761
Mint152347602022-07-29 2:38:15782 days ago1659062295IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0014207912.10657761
Mint152347602022-07-29 2:38:15782 days ago1659062295IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0021249318.10657761
Mint152347592022-07-29 2:37:14782 days ago1659062234IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0016006813.63949106
Mint152347592022-07-29 2:37:14782 days ago1659062234IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0016124213.73949106
Mint152347592022-07-29 2:37:14782 days ago1659062234IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0016124213.73949106
Mint152347592022-07-29 2:37:14782 days ago1659062234IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0018236615.53949106
Mint152347572022-07-29 2:36:54782 days ago1659062214IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0012267710.45336708
Mint152347562022-07-29 2:36:50782 days ago1659062210IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0013747511.71430134
Mint152347562022-07-29 2:36:50782 days ago1659062210IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0013747511.71430134
Mint152347552022-07-29 2:36:21782 days ago1659062181IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0011918210.15555149
Mint152347552022-07-29 2:36:21782 days ago1659062181IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0012035610.25555149
Mint152347552022-07-29 2:36:21782 days ago1659062181IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0012035610.25555149
Mint152347552022-07-29 2:36:21782 days ago1659062181IN
0xb2Ce34cE...4c7e2a0Fe
0 ETH0.0012035610.25555149
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:
LimitedSupplyMintingExtension

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-07-29
*/

// SPDX-License-Identifier: MIXED

// Sources flattened with hardhat v2.9.3 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]

// License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}


// File @openzeppelin/contracts/access/[email protected]

// License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File @openzeppelin/contracts/utils/introspection/[email protected]

// License-Identifier: MIT

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/utils/introspection/[email protected]

// License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}


// File contracts/interfaces/INFTExtension.sol

// License-Identifier: MIT
pragma solidity ^0.8.9;

interface INFTExtension is IERC165 {
}

interface INFTURIExtension is INFTExtension {
    function tokenURI(uint256 tokenId) external view returns (string memory);
}


// File @openzeppelin/contracts/token/ERC721/[email protected]

// License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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


// File contracts/interfaces/IMetaverseNFT.sol

// License-Identifier: MIT
pragma solidity ^0.8.9;

interface IAvatarNFT {
    function DEVELOPER() external pure returns (string memory _url);

    function DEVELOPER_ADDRESS() external pure returns (address payable _dev);

    // ------ View functions ------
    function saleStarted() external view returns (bool);

    function isExtensionAdded(address extension) external view returns (bool);

    /**
        Extra information stored for each tokenId. Optional, provided on mint
     */
    function data(uint256 tokenId) external view returns (bytes32);

    // ------ Mint functions ------
    /**
        Mint from NFTExtension contract. Optionally provide data parameter.
     */
    function mintExternal(
        uint256 tokenId,
        address to,
        bytes32 data
    ) external payable;

    // ------ Admin functions ------
    function addExtension(address extension) external;

    function revokeExtension(address extension) external;

    function withdraw() external;
}

interface IMetaverseNFT is IAvatarNFT {
    // ------ View functions ------
    /**
        Recommended royalty for tokenId sale.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);

    // ------ Admin functions ------
    function setRoyaltyReceiver(address receiver) external;

    function setRoyaltyFee(uint256 fee) external;
}


// File contracts/extensions/base/NFTExtension.sol

// License-Identifier: MIT
pragma solidity ^0.8.9;


contract NFTExtension is INFTExtension, ERC165 {
    IMetaverseNFT public immutable nft;

    constructor(address _nft) {
        nft = IMetaverseNFT(_nft);
    }

    function beforeMint() internal view {
        require(nft.isExtensionAdded(address(this)), "NFTExtension: this contract is not allowed to be used as an extension");
    }

    function supportsInterface(bytes4 interfaceId) public virtual override(IERC165, ERC165) view returns (bool) {
        return interfaceId == type(INFTExtension).interfaceId || super.supportsInterface(interfaceId);
    }

}


// File contracts/extensions/base/SaleControl.sol

// License-Identifier: MIT
pragma solidity ^0.8.9;

abstract contract SaleControl is Ownable {

    uint256 public constant __SALE_NEVER_STARTS = 2**256 - 1;

    uint256 public startTimestamp = __SALE_NEVER_STARTS;

    modifier whenSaleStarted {
        require(saleStarted(), "Sale not started yet");
        _;
    }

    function updateStartTimestamp(uint256 _startTimestamp) public onlyOwner {
        startTimestamp = _startTimestamp;
    }

    function startSale() public onlyOwner {
        startTimestamp = block.timestamp;
    }

    function stopSale() public onlyOwner {
        startTimestamp = __SALE_NEVER_STARTS;
    }

    function saleStarted() public view returns (bool) {
        return block.timestamp >= startTimestamp;
    }
}


// File contracts/extensions/LimitedSupplyMintingExtension.sol

// License-Identifier: MIT
pragma solidity ^0.8.9;


interface NFT is IMetaverseNFT {
    function maxSupply() external view returns (uint256);
    function totalSupply() external view returns (uint256);
}

contract LimitedSupplyMintingExtension is NFTExtension, Ownable, SaleControl {

    uint256 public price;
    uint256 public maxPerMint;
    uint256 public maxPerWallet;
    uint256 public totalMinted;
    uint256 public extensionSupply;

    constructor(address _nft, uint256 _price, uint256 _maxPerMint, uint256 _maxPerWallet, uint256 _extensionSupply) NFTExtension(_nft) {
        stopSale();
        // sale stopped by default

        price = _price;
        maxPerMint = _maxPerMint;
        maxPerWallet = _maxPerWallet;
        extensionSupply = _extensionSupply;
    }

    function mint(uint256 nTokens) external whenSaleStarted payable {
        require(IERC721(address(nft)).balanceOf(msg.sender) + nTokens <= maxPerWallet, "LimitedSupplyMintingExtension: max per wallet reached");

        require(nTokens + totalMinted <= extensionSupply, "max extensionSupply reached");
        require(nTokens <= maxPerMint, "Too many tokens to mint");
        require(msg.value >= nTokens * price, "Not enough ETH to mint");

        totalMinted += nTokens;

        nft.mintExternal{ value: msg.value }(nTokens, msg.sender, bytes32(0x0));
    }

    function maxSupply() public view returns (uint256) {
        return NFT(address(nft)).maxSupply();
    }

    function totalSupply() public view returns (uint256) {
        return NFT(address(nft)).totalSupply();
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_nft","type":"address"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_maxPerMint","type":"uint256"},{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"_extensionSupply","type":"uint256"}],"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":"__SALE_NEVER_STARTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"extensionSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"nft","outputs":[{"internalType":"contract IMetaverseNFT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stopSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTimestamp","type":"uint256"}],"name":"updateStartTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405260001960015534801561001657600080fd5b5060405161101338038061101383398101604081905261003591610121565b6001600160a01b03851660805261004b3361006b565b6100536100bb565b60029390935560039190915560045560065550610176565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146101195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b600019600155565b600080600080600060a0868803121561013957600080fd5b85516001600160a01b038116811461015057600080fd5b602087015160408801516060890151608090990151929a91995097965090945092505050565b608051610e666101ad600039600081816101c90152818161041a01528181610605015281816108c401526109c50152610e666000f3fe6080604052600436106101445760003560e01c8063a035b1fe116100c0578063d5abeb0111610074578063e67151ae11610059578063e67151ae14610348578063e6fd48bc14610368578063f2fde38b1461037e57600080fd5b8063d5abeb011461031e578063e36b0b371461033357600080fd5b8063a2309ff8116100a5578063a2309ff8146102bf578063adf8750c146102d5578063b66a0e5d1461030957600080fd5b8063a035b1fe14610296578063a0712d68146102ac57600080fd5b8063507e094f116101175780636f5f0660116100fc5780636f5f06601461023e578063715018a6146102545780638da5cb5b1461026b57600080fd5b8063507e094f146102105780635c474f9e1461022657600080fd5b806301ffc9a71461014957806318160ddd1461017e578063453c2310146101a157806347ccca02146101b7575b600080fd5b34801561015557600080fd5b50610169610164366004610cfb565b61039e565b60405190151581526020015b60405180910390f35b34801561018a57600080fd5b50610193610416565b604051908152602001610175565b3480156101ad57600080fd5b5061019360045481565b3480156101c357600080fd5b506101eb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610175565b34801561021c57600080fd5b5061019360035481565b34801561023257600080fd5b50600154421015610169565b34801561024a57600080fd5b5061019360065481565b34801561026057600080fd5b506102696104bb565b005b34801561027757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff166101eb565b3480156102a257600080fd5b5061019360025481565b6102696102ba366004610d44565b61054d565b3480156102cb57600080fd5b5061019360055481565b3480156102e157600080fd5b506101937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b34801561031557600080fd5b5061026961093a565b34801561032a57600080fd5b506101936109c1565b34801561033f57600080fd5b50610269610a29565b34801561035457600080fd5b50610269610363366004610d44565b610ad0565b34801561037457600080fd5b5061019360015481565b34801561038a57600080fd5b50610269610399366004610d5d565b610b56565b60007fffffffff000000000000000000000000000000000000000000000000000000008216158061041057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561047e57600080fd5b505afa158015610492573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b69190610d93565b905090565b60005473ffffffffffffffffffffffffffffffffffffffff163314610541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b61054b6000610c86565b565b6001544210156105b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f53616c65206e6f742073746172746564207965740000000000000000000000006044820152606401610538565b600480546040517f70a08231000000000000000000000000000000000000000000000000000000008152339281019290925290829073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906370a082319060240160206040518083038186803b15801561064757600080fd5b505afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190610d93565b6106899190610ddb565b1115610717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c696d69746564537570706c794d696e74696e67457874656e73696f6e3a206d60448201527f6178207065722077616c6c6574207265616368656400000000000000000000006064820152608401610538565b6006546005546107279083610ddb565b111561078f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f6d617820657874656e73696f6e537570706c79207265616368656400000000006044820152606401610538565b6003548111156107fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f546f6f206d616e7920746f6b656e7320746f206d696e740000000000000000006044820152606401610538565b6002546108089082610df3565b341015610871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4e6f7420656e6f7567682045544820746f206d696e74000000000000000000006044820152606401610538565b80600560008282546108839190610ddb565b90915550506040517f4690521b00000000000000000000000000000000000000000000000000000000815260048101829052336024820152600060448201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690634690521b9034906064016000604051808303818588803b15801561091e57600080fd5b505af1158015610932573d6000803e3d6000fd5b505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610538565b42600155565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d5abeb016040518163ffffffff1660e01b815260040160206040518083038186803b15801561047e57600080fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610aaa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610538565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600155565b60005473ffffffffffffffffffffffffffffffffffffffff163314610b51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610538565b600155565b60005473ffffffffffffffffffffffffffffffffffffffff163314610bd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610538565b73ffffffffffffffffffffffffffffffffffffffff8116610c7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610538565b610c8381610c86565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610d0d57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610d3d57600080fd5b9392505050565b600060208284031215610d5657600080fd5b5035919050565b600060208284031215610d6f57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610d3d57600080fd5b600060208284031215610da557600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610dee57610dee610dac565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610e2b57610e2b610dac565b50029056fea2646970667358221220f80b1e809313492af0d05a9ba4bb6e4a60975649c73393ad8989ff0558e5b1bf64736f6c63430008090033000000000000000000000000571a2c2b0b92ad12600cc46bc997e0574b3615bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000001770

Deployed Bytecode

0x6080604052600436106101445760003560e01c8063a035b1fe116100c0578063d5abeb0111610074578063e67151ae11610059578063e67151ae14610348578063e6fd48bc14610368578063f2fde38b1461037e57600080fd5b8063d5abeb011461031e578063e36b0b371461033357600080fd5b8063a2309ff8116100a5578063a2309ff8146102bf578063adf8750c146102d5578063b66a0e5d1461030957600080fd5b8063a035b1fe14610296578063a0712d68146102ac57600080fd5b8063507e094f116101175780636f5f0660116100fc5780636f5f06601461023e578063715018a6146102545780638da5cb5b1461026b57600080fd5b8063507e094f146102105780635c474f9e1461022657600080fd5b806301ffc9a71461014957806318160ddd1461017e578063453c2310146101a157806347ccca02146101b7575b600080fd5b34801561015557600080fd5b50610169610164366004610cfb565b61039e565b60405190151581526020015b60405180910390f35b34801561018a57600080fd5b50610193610416565b604051908152602001610175565b3480156101ad57600080fd5b5061019360045481565b3480156101c357600080fd5b506101eb7f000000000000000000000000571a2c2b0b92ad12600cc46bc997e0574b3615bb81565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610175565b34801561021c57600080fd5b5061019360035481565b34801561023257600080fd5b50600154421015610169565b34801561024a57600080fd5b5061019360065481565b34801561026057600080fd5b506102696104bb565b005b34801561027757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff166101eb565b3480156102a257600080fd5b5061019360025481565b6102696102ba366004610d44565b61054d565b3480156102cb57600080fd5b5061019360055481565b3480156102e157600080fd5b506101937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b34801561031557600080fd5b5061026961093a565b34801561032a57600080fd5b506101936109c1565b34801561033f57600080fd5b50610269610a29565b34801561035457600080fd5b50610269610363366004610d44565b610ad0565b34801561037457600080fd5b5061019360015481565b34801561038a57600080fd5b50610269610399366004610d5d565b610b56565b60007fffffffff000000000000000000000000000000000000000000000000000000008216158061041057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60007f000000000000000000000000571a2c2b0b92ad12600cc46bc997e0574b3615bb73ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561047e57600080fd5b505afa158015610492573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b69190610d93565b905090565b60005473ffffffffffffffffffffffffffffffffffffffff163314610541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b61054b6000610c86565b565b6001544210156105b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f53616c65206e6f742073746172746564207965740000000000000000000000006044820152606401610538565b600480546040517f70a08231000000000000000000000000000000000000000000000000000000008152339281019290925290829073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000571a2c2b0b92ad12600cc46bc997e0574b3615bb16906370a082319060240160206040518083038186803b15801561064757600080fd5b505afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190610d93565b6106899190610ddb565b1115610717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c696d69746564537570706c794d696e74696e67457874656e73696f6e3a206d60448201527f6178207065722077616c6c6574207265616368656400000000000000000000006064820152608401610538565b6006546005546107279083610ddb565b111561078f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f6d617820657874656e73696f6e537570706c79207265616368656400000000006044820152606401610538565b6003548111156107fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f546f6f206d616e7920746f6b656e7320746f206d696e740000000000000000006044820152606401610538565b6002546108089082610df3565b341015610871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4e6f7420656e6f7567682045544820746f206d696e74000000000000000000006044820152606401610538565b80600560008282546108839190610ddb565b90915550506040517f4690521b00000000000000000000000000000000000000000000000000000000815260048101829052336024820152600060448201527f000000000000000000000000571a2c2b0b92ad12600cc46bc997e0574b3615bb73ffffffffffffffffffffffffffffffffffffffff1690634690521b9034906064016000604051808303818588803b15801561091e57600080fd5b505af1158015610932573d6000803e3d6000fd5b505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610538565b42600155565b60007f000000000000000000000000571a2c2b0b92ad12600cc46bc997e0574b3615bb73ffffffffffffffffffffffffffffffffffffffff1663d5abeb016040518163ffffffff1660e01b815260040160206040518083038186803b15801561047e57600080fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610aaa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610538565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600155565b60005473ffffffffffffffffffffffffffffffffffffffff163314610b51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610538565b600155565b60005473ffffffffffffffffffffffffffffffffffffffff163314610bd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610538565b73ffffffffffffffffffffffffffffffffffffffff8116610c7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610538565b610c8381610c86565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610d0d57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610d3d57600080fd5b9392505050565b600060208284031215610d5657600080fd5b5035919050565b600060208284031215610d6f57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610d3d57600080fd5b600060208284031215610da557600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610dee57610dee610dac565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610e2b57610e2b610dac565b50029056fea2646970667358221220f80b1e809313492af0d05a9ba4bb6e4a60975649c73393ad8989ff0558e5b1bf64736f6c63430008090033

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

000000000000000000000000571a2c2b0b92ad12600cc46bc997e0574b3615bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000001770

-----Decoded View---------------
Arg [0] : _nft (address): 0x571a2C2B0B92AD12600cc46BC997e0574b3615bB
Arg [1] : _price (uint256): 0
Arg [2] : _maxPerMint (uint256): 2
Arg [3] : _maxPerWallet (uint256): 2
Arg [4] : _extensionSupply (uint256): 6000

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000571a2c2b0b92ad12600cc46bc997e0574b3615bb
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [4] : 0000000000000000000000000000000000000000000000000000000000001770


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.