Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 875 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Mint | 16068093 | 747 days ago | IN | 0 ETH | 0.00044194 | ||||
Mint | 16068092 | 747 days ago | IN | 0 ETH | 0.00108423 | ||||
Mint | 16068086 | 747 days ago | IN | 0 ETH | 0.00082531 | ||||
Mint | 16068079 | 747 days ago | IN | 0 ETH | 0.00315229 | ||||
Mint | 16068069 | 747 days ago | IN | 0 ETH | 0.00099982 | ||||
Mint | 16068058 | 747 days ago | IN | 0 ETH | 0.00085011 | ||||
Mint | 16068050 | 747 days ago | IN | 0 ETH | 0.00093541 | ||||
Mint | 16068046 | 747 days ago | IN | 0 ETH | 0.00115881 | ||||
Mint | 16068012 | 747 days ago | IN | 0 ETH | 0.00087816 | ||||
Mint | 16068005 | 747 days ago | IN | 0 ETH | 0.00097533 | ||||
Mint | 16068001 | 747 days ago | IN | 0 ETH | 0.0009126 | ||||
Mint | 16067981 | 747 days ago | IN | 0 ETH | 0.00105076 | ||||
Mint | 16067959 | 747 days ago | IN | 0 ETH | 0.00115697 | ||||
Mint | 16067957 | 747 days ago | IN | 0 ETH | 0.00095137 | ||||
Mint | 16067953 | 747 days ago | IN | 0 ETH | 0.00097696 | ||||
Mint | 16067918 | 747 days ago | IN | 0 ETH | 0.00115389 | ||||
Mint | 16067868 | 747 days ago | IN | 0 ETH | 0.00101343 | ||||
Mint | 16067860 | 747 days ago | IN | 0 ETH | 0.00112517 | ||||
Mint | 16067838 | 747 days ago | IN | 0 ETH | 0.00144334 | ||||
Mint | 16067836 | 747 days ago | IN | 0 ETH | 0.00145232 | ||||
Mint | 16067835 | 747 days ago | IN | 0 ETH | 0.00128596 | ||||
Mint | 16067830 | 747 days ago | IN | 0 ETH | 0.00115979 | ||||
Mint | 16067824 | 747 days ago | IN | 0 ETH | 0.00110858 | ||||
Mint | 16067820 | 747 days ago | IN | 0 ETH | 0.00122202 | ||||
Mint | 16067797 | 747 days ago | IN | 0 ETH | 0.00110286 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
MinterWhitelist2
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; interface IERC721 { function mint(address to, uint256 quantity) external; function max() external view returns (uint256); function totalSupply() external view returns (uint256); } contract MinterWhitelist2 is Ownable { IERC721 public erc721; uint256 public mintQuantity; mapping(address => bool) public whitelist; bool public publicMint; bool public wlMint; constructor(IERC721 _erc721) public { erc721 = _erc721; mintQuantity = 1; } function mint() public { require(wlMint, "mint not started"); require(whitelist[msg.sender], "Address not whitelisted"); erc721.mint(msg.sender, mintQuantity); whitelist[msg.sender] = false; } function mintPublic() public { require(publicMint, "public mint not started"); erc721.mint(msg.sender, mintQuantity); } function setERC721(IERC721 _erc721) public onlyOwner { erc721 = _erc721; } function setMintQuantity(uint256 _quantity) public onlyOwner { mintQuantity = _quantity; } function setWLMint(bool _isTrue) public onlyOwner { wlMint = _isTrue; } function setWhitelist(address[] memory _whitelist) public onlyOwner { for (uint256 i = 0; i < _whitelist.length; i++) { whitelist[_whitelist[i]] = true; } } function revokeWhitelist(address[] memory _whitelist) public onlyOwner { for (uint256 i = 0; i < _whitelist.length; i++) { whitelist[_whitelist[i]] = false; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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; } }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 30000 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC721","name":"_erc721","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":"erc721","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintQuantity","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":"publicMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_whitelist","type":"address[]"}],"name":"revokeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"_erc721","type":"address"}],"name":"setERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"setMintQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isTrue","type":"bool"}],"name":"setWLMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_whitelist","type":"address[]"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051610bef380380610bef83398101604081905261002f916100b0565b61003833610060565b600180546001600160a01b0319166001600160a01b03929092169190911781556002556100e0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100c257600080fd5b81516001600160a01b03811681146100d957600080fd5b9392505050565b610b00806100ef6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638c874ebd11610097578063bca6ce6411610066578063bca6ce64146101fa578063f2fde38b1461021a578063f42176481461022d578063f60abe001461024057600080fd5b80638c874ebd1461017d5780638da5cb5b146101855780639b19251a146101c4578063a1ac3907146101e757600080fd5b80632c236490116100d35780632c236490146101395780634338cd5f1461014c578063715018a6146101635780637f9fa4111461016b57600080fd5b8063094144a5146100fa5780631249c58b1461010f57806326092b8314610117575b600080fd5b61010d6101083660046108bb565b610253565b005b61010d6102a2565b6004546101249060ff1681565b60405190151581526020015b60405180910390f35b61010d6101473660046108df565b610456565b61015560025481565b604051908152602001610130565b61010d610463565b60045461012490610100900460ff1681565b61010d610477565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610130565b6101246101d23660046108bb565b60036020526000908152604090205460ff1681565b61010d6101f5366004610937565b610573565b60015461019f9073ffffffffffffffffffffffffffffffffffffffff1681565b61010d6102283660046108bb565b610612565b61010d61023b366004610937565b6106c9565b61010d61024e366004610a1a565b610764565b61025b6107a3565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600454610100900460ff16610318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6d696e74206e6f7420737461727465640000000000000000000000000000000060448201526064015b60405180910390fd5b3360009081526003602052604090205460ff16610391576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f41646472657373206e6f742077686974656c6973746564000000000000000000604482015260640161030f565b6001546002546040517f40c10f19000000000000000000000000000000000000000000000000000000008152336004820152602481019190915273ffffffffffffffffffffffffffffffffffffffff909116906340c10f1990604401600060405180830381600087803b15801561040757600080fd5b505af115801561041b573d6000803e3d6000fd5b505033600090815260036020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555050565b61045e6107a3565b600255565b61046b6107a3565b6104756000610824565b565b60045460ff166104e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f7075626c6963206d696e74206e6f742073746172746564000000000000000000604482015260640161030f565b6001546002546040517f40c10f19000000000000000000000000000000000000000000000000000000008152336004820152602481019190915273ffffffffffffffffffffffffffffffffffffffff909116906340c10f1990604401600060405180830381600087803b15801561055957600080fd5b505af115801561056d573d6000803e3d6000fd5b50505050565b61057b6107a3565b60005b815181101561060e5760006003600084848151811061059f5761059f610a3c565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff16825281019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790558061060681610a6b565b91505061057e565b5050565b61061a6107a3565b73ffffffffffffffffffffffffffffffffffffffff81166106bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161030f565b6106c681610824565b50565b6106d16107a3565b60005b815181101561060e576001600360008484815181106106f5576106f5610a3c565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff16825281019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790558061075c81610a6b565b9150506106d4565b61076c6107a3565b60048054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161030f565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff811681146106c657600080fd5b6000602082840312156108cd57600080fd5b81356108d881610899565b9392505050565b6000602082840312156108f157600080fd5b5035919050565b803561090381610899565b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602080838503121561094a57600080fd5b823567ffffffffffffffff8082111561096257600080fd5b818501915085601f83011261097657600080fd5b81358181111561098857610988610908565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156109cb576109cb610908565b6040529182528482019250838101850191888311156109e957600080fd5b938501935b82851015610a0e576109ff856108f8565b845293850193928501926109ee565b98975050505050505050565b600060208284031215610a2c57600080fd5b813580151581146108d857600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610ac3577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea2646970667358221220e36ea0f8c1b7b0b72cdca4e756ba01222dbcbabc8791779e8d71c4f3692e4dcb64736f6c634300080d0033000000000000000000000000808f83264742a1ff9778b1b0e45052799e244475
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80638c874ebd11610097578063bca6ce6411610066578063bca6ce64146101fa578063f2fde38b1461021a578063f42176481461022d578063f60abe001461024057600080fd5b80638c874ebd1461017d5780638da5cb5b146101855780639b19251a146101c4578063a1ac3907146101e757600080fd5b80632c236490116100d35780632c236490146101395780634338cd5f1461014c578063715018a6146101635780637f9fa4111461016b57600080fd5b8063094144a5146100fa5780631249c58b1461010f57806326092b8314610117575b600080fd5b61010d6101083660046108bb565b610253565b005b61010d6102a2565b6004546101249060ff1681565b60405190151581526020015b60405180910390f35b61010d6101473660046108df565b610456565b61015560025481565b604051908152602001610130565b61010d610463565b60045461012490610100900460ff1681565b61010d610477565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610130565b6101246101d23660046108bb565b60036020526000908152604090205460ff1681565b61010d6101f5366004610937565b610573565b60015461019f9073ffffffffffffffffffffffffffffffffffffffff1681565b61010d6102283660046108bb565b610612565b61010d61023b366004610937565b6106c9565b61010d61024e366004610a1a565b610764565b61025b6107a3565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600454610100900460ff16610318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6d696e74206e6f7420737461727465640000000000000000000000000000000060448201526064015b60405180910390fd5b3360009081526003602052604090205460ff16610391576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f41646472657373206e6f742077686974656c6973746564000000000000000000604482015260640161030f565b6001546002546040517f40c10f19000000000000000000000000000000000000000000000000000000008152336004820152602481019190915273ffffffffffffffffffffffffffffffffffffffff909116906340c10f1990604401600060405180830381600087803b15801561040757600080fd5b505af115801561041b573d6000803e3d6000fd5b505033600090815260036020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555050565b61045e6107a3565b600255565b61046b6107a3565b6104756000610824565b565b60045460ff166104e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f7075626c6963206d696e74206e6f742073746172746564000000000000000000604482015260640161030f565b6001546002546040517f40c10f19000000000000000000000000000000000000000000000000000000008152336004820152602481019190915273ffffffffffffffffffffffffffffffffffffffff909116906340c10f1990604401600060405180830381600087803b15801561055957600080fd5b505af115801561056d573d6000803e3d6000fd5b50505050565b61057b6107a3565b60005b815181101561060e5760006003600084848151811061059f5761059f610a3c565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff16825281019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790558061060681610a6b565b91505061057e565b5050565b61061a6107a3565b73ffffffffffffffffffffffffffffffffffffffff81166106bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161030f565b6106c681610824565b50565b6106d16107a3565b60005b815181101561060e576001600360008484815181106106f5576106f5610a3c565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff16825281019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790558061075c81610a6b565b9150506106d4565b61076c6107a3565b60048054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161030f565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff811681146106c657600080fd5b6000602082840312156108cd57600080fd5b81356108d881610899565b9392505050565b6000602082840312156108f157600080fd5b5035919050565b803561090381610899565b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602080838503121561094a57600080fd5b823567ffffffffffffffff8082111561096257600080fd5b818501915085601f83011261097657600080fd5b81358181111561098857610988610908565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156109cb576109cb610908565b6040529182528482019250838101850191888311156109e957600080fd5b938501935b82851015610a0e576109ff856108f8565b845293850193928501926109ee565b98975050505050505050565b600060208284031215610a2c57600080fd5b813580151581146108d857600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610ac3577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea2646970667358221220e36ea0f8c1b7b0b72cdca4e756ba01222dbcbabc8791779e8d71c4f3692e4dcb64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000808f83264742a1ff9778b1b0e45052799e244475
-----Decoded View---------------
Arg [0] : _erc721 (address): 0x808F83264742A1FF9778b1B0E45052799e244475
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000808f83264742a1ff9778b1b0e45052799e244475
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.