Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 165 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 14794318 | 1021 days ago | IN | 0 ETH | 0.00117537 | ||||
Purchase Token | 14794041 | 1021 days ago | IN | 0.2 ETH | 0.00253833 | ||||
Purchase Token | 14794038 | 1021 days ago | IN | 0.2 ETH | 0.00245804 | ||||
Purchase Token | 14794038 | 1021 days ago | IN | 0.2 ETH | 0.00248504 | ||||
Purchase Token | 14794038 | 1021 days ago | IN | 0.2 ETH | 0.00248602 | ||||
Purchase Token | 14794038 | 1021 days ago | IN | 0.2 ETH | 0.00248433 | ||||
Purchase Token | 14794038 | 1021 days ago | IN | 0.2 ETH | 0.00248658 | ||||
Purchase Token | 14794036 | 1021 days ago | IN | 0.2 ETH | 0.00378931 | ||||
Purchase Token | 14794036 | 1021 days ago | IN | 0.2 ETH | 0.00394832 | ||||
Purchase Token | 14794036 | 1021 days ago | IN | 0.2 ETH | 0.00398293 | ||||
Purchase Token | 14794036 | 1021 days ago | IN | 0.2 ETH | 0.00395042 | ||||
Purchase Token | 14794036 | 1021 days ago | IN | 0.2 ETH | 0.00398237 | ||||
Purchase Token | 14794036 | 1021 days ago | IN | 0.2 ETH | 0.00398439 | ||||
Purchase Token | 14794036 | 1021 days ago | IN | 0.2 ETH | 0.00394856 | ||||
Purchase Token | 14794036 | 1021 days ago | IN | 0.2 ETH | 0.00452468 | ||||
Purchase Token | 14794035 | 1021 days ago | IN | 0.2 ETH | 0.00373347 | ||||
Purchase Token | 14794035 | 1021 days ago | IN | 0.2 ETH | 0.00373234 | ||||
Purchase Token | 14794035 | 1021 days ago | IN | 0.2 ETH | 0.00370111 | ||||
Purchase Token | 14794035 | 1021 days ago | IN | 0.2 ETH | 0.0037902 | ||||
Purchase Token | 14794035 | 1021 days ago | IN | 0.2 ETH | 0.00456972 | ||||
Purchase Token | 14794035 | 1021 days ago | IN | 0.2 ETH | 0.02188409 | ||||
Purchase Token | 14794034 | 1021 days ago | IN | 0.2 ETH | 0.00413343 | ||||
Purchase Token | 14794032 | 1021 days ago | IN | 0.2 ETH | 0.00430888 | ||||
Purchase Token | 14794032 | 1021 days ago | IN | 0.2 ETH | 0.00430826 | ||||
Purchase Token | 14794032 | 1021 days ago | IN | 0.2 ETH | 0.00430967 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
14794318 | 1021 days ago | 28.6 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
DeeKaySpecialsMinter
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /* .-=*#%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+=: :+#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*- :+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#= .+%@@@@@@@@@@@@%#*++==================================++*#%@@@@@@@@@@@@@#- +@@@@@@@@@@@*=: :=*@@@@@@@@@@@%. :%@@@@@@@@@*: :*@@@@@@@@@@+ =@@@@@@@@@+ .*@@@@@@@@@%. *@@@@@@@@+. .+@@@@@@@@@- #@@@@@@@#. .#@@@@@@@@- +@@@@@@@* *@@@@@@@@ .@@@@@@@* *@@@@@@@= +@@@@@@% %@@@@@@# %@@@@@@= =@@@@@@@ @@@@@@@: :@@@@@@@ @@@@@@@. :#####. .#####. .@@@@@@@ @@@@@@@. :@@@@@. :@@@@@: .@@@@@@@ @@@@@@@. :%%%%@#***: :***#@%%%%: .@@@@@@@ @@@@@@@. #@@@@- -@@@@# .@@@@@@@ @@@@@@@. #@@@@*==== ====*@@@@# .@@@@@@@ @@@@@@@. +@@@@@ @@@@@+ .@@@@@@@ @@@@@@@. +@@@@@ @@@@@+ .@@@@@@@ @@@@@@@. .::::: :::::. .@@@@@@@ @@@@@@@. .@@@@@@@ @@@@@@@. .@@@@@@@ @@@@@@@. -################## .@@@@@@@ @@@@@@@. =@@@@@@@@@@@@@@@@@@ .@@@@@@@ @@@@@@@. ++++#@%%%%%%%%%%%%%%%%@++++- .@@@@@@@ @@@@@@@. .@@@@@+ @@@@@* .@@@@@@@ @@@@@@@. .---=@@@@@+ @@@@@#---: .@@@@@@@ @@@@@@@. =@@@@%.... ....-@@@@@ .@@@@@@@ @@@@@@@. =@@@@# :@@@@@ .@@@@@@@ @@@@@@@: ::::. ::::. :@@@@@@@ %@@@@@@= =@@@@@@@ *@@@@@@% %@@@@@@# :@@@@@@@* *@@@@@@@= *@@@@@@@* *@@@@@@@@. @@@@@@@@#. .#@@@@@@@@= .%@@@@@@@@+. .+@@@@@@@@@= #@@@@@@@@@+ .*@@@@@@@@@@- =@@@@@@@@@@*: :*@@@@@@@@@@#. .#@@@@@@@@@@@*=: :=*@@@@@@@@@@@@= -#@@@@@@@@@@@@@%#*++==================================++*#%@@@@@@@@@@@@@@+. .=%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*: .=%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+: .-=+*#%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+=:. */ import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Receiver.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract DeeKaySpecialsMinter is Ownable, ERC1155Receiver { uint256 public price = 0.2 ether; bool public saleActive = false; bytes32 public merkleRoot; mapping(address => bool) private _hasClaimed; IERC1155 public collection; constructor(address collectionAddress) { collection = IERC1155(collectionAddress); } // Accessors function setSaleActive(bool active) public onlyOwner { saleActive = active; } function setMerkleRoot(bytes32 merkleRoot_) public onlyOwner { merkleRoot = merkleRoot_; } function hasClaimed(address account) public view returns (bool) { return _hasClaimed[account]; } function balances() public view returns (uint256, uint256, uint256) { return ( collection.balanceOf(address(this), 1), collection.balanceOf(address(this), 2), collection.balanceOf(address(this), 3) ); } // Store function purchaseToken(uint256 tokenId, bytes32[] calldata merkleProof) public payable { require(saleActive, "Sale is closed"); require(tokenId == 1 || tokenId == 2 || tokenId == 3, "Unknown token"); require(msg.value == price, "Incorrect payable amount"); require(!_hasClaimed[_msgSender()], "Already claimed"); require(_verify(merkleProof, _msgSender()), "Invalid proof"); _hasClaimed[_msgSender()] = true; collection.safeTransferFrom(address(this), _msgSender(), tokenId, 1, ""); } function ownerTransferTo(address to, uint256 tokenId, uint256 amount) public onlyOwner { collection.safeTransferFrom(address(this), to, tokenId, amount, ""); } function withdraw(address receiver) public onlyOwner { payable(receiver).transfer(address(this).balance); } // Private function _verify( bytes32[] calldata merkleProof, address sender ) private view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(sender)); return MerkleProof.verify(merkleProof, merkleRoot, leaf); } // IERC1155Receiver function onERC1155Received( address, address, uint256, uint256, bytes calldata ) external pure returns (bytes4) { return this.onERC1155Received.selector; } function onERC1155BatchReceived( address, address, uint256[] calldata, uint256[] calldata, bytes calldata ) external pure returns (bytes4) { return this.onERC1155BatchReceived.selector; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Receiver.sol) pragma solidity ^0.8.0; import "../IERC1155Receiver.sol"; import "../../../utils/introspection/ERC165.sol"; /** * @dev _Available since v3.1._ */ abstract contract ERC1155Receiver is ERC165, IERC1155Receiver { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 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 { _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.6.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// 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 (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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; } }
{ "optimizer": { "enabled": true, "runs": 200, "details": { "yul": false } }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"collectionAddress","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":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collection","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ownerTransferTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"purchaseToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setSaleActive","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526702c68af0bb1400006001556002805460ff191690553480156200002757600080fd5b50604051620012b6380380620012b68339810160408190526200004a9162000105565b62000055336200007b565b600580546001600160a01b0319166001600160a01b039290921691909117905562000132565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0382165b92915050565b620000e981620000cb565b8114620000f557600080fd5b50565b8051620000d881620000de565b6000602082840312156200011c576200011c600080fd5b60006200012a8484620000f8565b949350505050565b61117480620001426000396000f3fe6080604052600436106100fe5760003560e01c80637de1e53611610095578063a035b1fe11610064578063a035b1fe146102bd578063a2a48e44146102d3578063bc197c81146102e6578063f23a6e6114610322578063f2fde38b1461034f57600080fd5b80637de1e5361461022a578063841718a61461025757806389293124146102775780638da5cb5b1461029757600080fd5b8063715018a6116100d1578063715018a61461019857806373b2e80e146101ad5780637bb98a68146101e65780637cb647591461020a57600080fd5b806301ffc9a7146101035780632eb4a7ab1461013957806351cff8d91461015c57806368428a1b1461017e575b600080fd5b34801561010f57600080fd5b5061012361011e3660046109d1565b61036f565b6040516101309190610a04565b60405180910390f35b34801561014557600080fd5b5061014f60035481565b6040516101309190610a18565b34801561016857600080fd5b5061017c610177366004610a4b565b6103a6565b005b34801561018a57600080fd5b506002546101239060ff1681565b3480156101a457600080fd5b5061017c610412565b3480156101b957600080fd5b506101236101c8366004610a4b565b6001600160a01b031660009081526004602052604090205460ff1690565b3480156101f257600080fd5b506101fb610448565b60405161013093929190610a6c565b34801561021657600080fd5b5061017c610225366004610aa5565b6105db565b34801561023657600080fd5b5060055461024a906001600160a01b031681565b6040516101309190610b08565b34801561026357600080fd5b5061017c610272366004610b29565b61060a565b34801561028357600080fd5b5061017c610292366004610b4a565b610647565b3480156102a357600080fd5b506000546001600160a01b03166040516101309190610ba3565b3480156102c957600080fd5b5061014f60015481565b61017c6102e1366004610c03565b6106de565b3480156102f257600080fd5b50610315610301366004610caa565b63bc197c8160e01b98975050505050505050565b6040516101309190610d90565b34801561032e57600080fd5b5061031561033d366004610d9e565b63f23a6e6160e01b9695505050505050565b34801561035b57600080fd5b5061017c61036a366004610a4b565b610801565b60006001600160e01b03198216630271189760e51b14806103a057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000546001600160a01b031633146103d95760405162461bcd60e51b81526004016103d090610e69565b60405180910390fd5b6040516001600160a01b038216904780156108fc02916000818181858888f1935050505015801561040e573d6000803e3d6000fd5b5050565b6000546001600160a01b0316331461043c5760405162461bcd60e51b81526004016103d090610e69565b610446600061085d565b565b600554604051627eeac760e11b8152600091829182916001600160a01b03169062fdd58e9061047e903090600190600401610e8e565b60206040518083038186803b15801561049657600080fd5b505afa1580156104aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ce9190610eb4565b600554604051627eeac760e11b81526001600160a01b039091169062fdd58e906104ff903090600290600401610e8e565b60206040518083038186803b15801561051757600080fd5b505afa15801561052b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054f9190610eb4565b600554604051627eeac760e11b81526001600160a01b039091169062fdd58e90610580903090600390600401610e8e565b60206040518083038186803b15801561059857600080fd5b505afa1580156105ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d09190610eb4565b925092509250909192565b6000546001600160a01b031633146106055760405162461bcd60e51b81526004016103d090610e69565b600355565b6000546001600160a01b031633146106345760405162461bcd60e51b81526004016103d090610e69565b6002805460ff1916911515919091179055565b6000546001600160a01b031633146106715760405162461bcd60e51b81526004016103d090610e69565b600554604051637921219560e11b81526001600160a01b039091169063f242432a906106a7903090879087908790600401610ed5565b600060405180830381600087803b1580156106c157600080fd5b505af11580156106d5573d6000803e3d6000fd5b50505050505050565b60025460ff166107005760405162461bcd60e51b81526004016103d090610f49565b826001148061070f5750826002145b8061071a5750826003145b6107365760405162461bcd60e51b81526004016103d090610f7d565b60015434146107575760405162461bcd60e51b81526004016103d090610fc1565b3360009081526004602052604090205460ff16156107875760405162461bcd60e51b81526004016103d090610ff7565b6107928282336108ad565b6107ae5760405162461bcd60e51b81526004016103d09061102b565b33600081815260046020819052604091829020805460ff191660019081179091556005549251637921219560e11b81526001600160a01b03939093169363f242432a936106a79330938a9290910161103b565b6000546001600160a01b0316331461082b5760405162461bcd60e51b81526004016103d090610e69565b6001600160a01b0381166108515760405162461bcd60e51b81526004016103d090611070565b61085a8161085d565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080826040516020016108c191906110e2565b60405160208183030381529060405280519060200120905061091a858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506003549150849050610925565b9150505b9392505050565b600082610932858461093b565b14949350505050565b600081815b84518110156109a757600085828151811061095d5761095d6110f7565b602002602001015190508083116109835760008381526020829052604090209250610994565b600081815260208490526040902092505b508061099f81611123565b915050610940565b509392505050565b6001600160e01b031981165b811461085a57600080fd5b80356103a0816109af565b6000602082840312156109e6576109e6600080fd5b60006109f284846109c6565b949350505050565b8015155b82525050565b602081016103a082846109fa565b806109fe565b602081016103a08284610a12565b60006001600160a01b0382166103a0565b6109bb81610a26565b80356103a081610a37565b600060208284031215610a6057610a60600080fd5b60006109f28484610a40565b60608101610a7a8286610a12565b610a876020830185610a12565b6109f26040830184610a12565b806109bb565b80356103a081610a94565b600060208284031215610aba57610aba600080fd5b60006109f28484610a9a565b60006103a06001600160a01b038316610add565b90565b6001600160a01b031690565b60006103a082610ac6565b60006103a082610ae9565b6109fe81610af4565b602081016103a08284610aff565b8015156109bb565b80356103a081610b16565b600060208284031215610b3e57610b3e600080fd5b60006109f28484610b1e565b600080600060608486031215610b6257610b62600080fd5b6000610b6e8686610a40565b9350506020610b7f86828701610a9a565b9250506040610b9086828701610a9a565b9150509250925092565b6109fe81610a26565b602081016103a08284610b9a565b60008083601f840112610bc657610bc6600080fd5b50813567ffffffffffffffff811115610be157610be1600080fd5b602083019150836020820283011115610bfc57610bfc600080fd5b9250929050565b600080600060408486031215610c1b57610c1b600080fd5b6000610c278686610a9a565b935050602084013567ffffffffffffffff811115610c4757610c47600080fd5b610c5386828701610bb1565b92509250509250925092565b60008083601f840112610c7457610c74600080fd5b50813567ffffffffffffffff811115610c8f57610c8f600080fd5b602083019150836001820283011115610bfc57610bfc600080fd5b60008060008060008060008060a0898b031215610cc957610cc9600080fd5b6000610cd58b8b610a40565b9850506020610ce68b828c01610a40565b975050604089013567ffffffffffffffff811115610d0657610d06600080fd5b610d128b828c01610bb1565b9650965050606089013567ffffffffffffffff811115610d3457610d34600080fd5b610d408b828c01610bb1565b9450945050608089013567ffffffffffffffff811115610d6257610d62600080fd5b610d6e8b828c01610c5f565b92509250509295985092959890939650565b6001600160e01b031981166109fe565b602081016103a08284610d80565b60008060008060008060a08789031215610dba57610dba600080fd5b6000610dc68989610a40565b9650506020610dd789828a01610a40565b9550506040610de889828a01610a9a565b9450506060610df989828a01610a9a565b935050608087013567ffffffffffffffff811115610e1957610e19600080fd5b610e2589828a01610c5f565b92509250509295509295509295565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260005b5060200190565b602080825281016103a081610e34565b60006103a0610ada8381565b6109fe81610e79565b60408101610e9c8285610b9a565b61091e6020830184610e85565b80516103a081610a94565b600060208284031215610ec957610ec9600080fd5b60006109f28484610ea9565b60a08101610ee38287610b9a565b610ef06020830186610b9a565b610efd6040830185610a12565b610f0a6060830184610a12565b818103608083015260008152602081019695505050505050565b600e81526000602082016d14d85b19481a5cc818db1bdcd95960921b81529150610e62565b602080825281016103a081610f24565b600d81526000602082016c2ab735b737bbb7103a37b5b2b760991b81529150610e62565b602080825281016103a081610f59565b601881526000602082017f496e636f72726563742070617961626c6520616d6f756e74000000000000000081529150610e62565b602080825281016103a081610f8d565b600f81526000602082016e105b1c9958591e4818db185a5b5959608a1b81529150610e62565b602080825281016103a081610fd1565b600d81526000602082016c24b73b30b634b210383937b7b360991b81529150610e62565b602080825281016103a081611007565b60a081016110498287610b9a565b6110566020830186610b9a565b6110636040830185610a12565b610f0a6060830184610e85565b602080825281016103a081602681527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160208201526564647265737360d01b604082015260600190565b60006103a08260601b90565b60006103a0826110ba565b6109fe6110dd82610a26565b6110c6565b60006110ee82846110d1565b50601401919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156111375761113761110d565b506001019056fea26469706673582212203c09711a725bf7a00a20e4dda9ae63a2a5a0d0867d2217687eef68890d91743664736f6c63430008090033000000000000000000000000c19d1464da613f79a8442733230a1e7a9a3fc84f
Deployed Bytecode
0x6080604052600436106100fe5760003560e01c80637de1e53611610095578063a035b1fe11610064578063a035b1fe146102bd578063a2a48e44146102d3578063bc197c81146102e6578063f23a6e6114610322578063f2fde38b1461034f57600080fd5b80637de1e5361461022a578063841718a61461025757806389293124146102775780638da5cb5b1461029757600080fd5b8063715018a6116100d1578063715018a61461019857806373b2e80e146101ad5780637bb98a68146101e65780637cb647591461020a57600080fd5b806301ffc9a7146101035780632eb4a7ab1461013957806351cff8d91461015c57806368428a1b1461017e575b600080fd5b34801561010f57600080fd5b5061012361011e3660046109d1565b61036f565b6040516101309190610a04565b60405180910390f35b34801561014557600080fd5b5061014f60035481565b6040516101309190610a18565b34801561016857600080fd5b5061017c610177366004610a4b565b6103a6565b005b34801561018a57600080fd5b506002546101239060ff1681565b3480156101a457600080fd5b5061017c610412565b3480156101b957600080fd5b506101236101c8366004610a4b565b6001600160a01b031660009081526004602052604090205460ff1690565b3480156101f257600080fd5b506101fb610448565b60405161013093929190610a6c565b34801561021657600080fd5b5061017c610225366004610aa5565b6105db565b34801561023657600080fd5b5060055461024a906001600160a01b031681565b6040516101309190610b08565b34801561026357600080fd5b5061017c610272366004610b29565b61060a565b34801561028357600080fd5b5061017c610292366004610b4a565b610647565b3480156102a357600080fd5b506000546001600160a01b03166040516101309190610ba3565b3480156102c957600080fd5b5061014f60015481565b61017c6102e1366004610c03565b6106de565b3480156102f257600080fd5b50610315610301366004610caa565b63bc197c8160e01b98975050505050505050565b6040516101309190610d90565b34801561032e57600080fd5b5061031561033d366004610d9e565b63f23a6e6160e01b9695505050505050565b34801561035b57600080fd5b5061017c61036a366004610a4b565b610801565b60006001600160e01b03198216630271189760e51b14806103a057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000546001600160a01b031633146103d95760405162461bcd60e51b81526004016103d090610e69565b60405180910390fd5b6040516001600160a01b038216904780156108fc02916000818181858888f1935050505015801561040e573d6000803e3d6000fd5b5050565b6000546001600160a01b0316331461043c5760405162461bcd60e51b81526004016103d090610e69565b610446600061085d565b565b600554604051627eeac760e11b8152600091829182916001600160a01b03169062fdd58e9061047e903090600190600401610e8e565b60206040518083038186803b15801561049657600080fd5b505afa1580156104aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ce9190610eb4565b600554604051627eeac760e11b81526001600160a01b039091169062fdd58e906104ff903090600290600401610e8e565b60206040518083038186803b15801561051757600080fd5b505afa15801561052b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054f9190610eb4565b600554604051627eeac760e11b81526001600160a01b039091169062fdd58e90610580903090600390600401610e8e565b60206040518083038186803b15801561059857600080fd5b505afa1580156105ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d09190610eb4565b925092509250909192565b6000546001600160a01b031633146106055760405162461bcd60e51b81526004016103d090610e69565b600355565b6000546001600160a01b031633146106345760405162461bcd60e51b81526004016103d090610e69565b6002805460ff1916911515919091179055565b6000546001600160a01b031633146106715760405162461bcd60e51b81526004016103d090610e69565b600554604051637921219560e11b81526001600160a01b039091169063f242432a906106a7903090879087908790600401610ed5565b600060405180830381600087803b1580156106c157600080fd5b505af11580156106d5573d6000803e3d6000fd5b50505050505050565b60025460ff166107005760405162461bcd60e51b81526004016103d090610f49565b826001148061070f5750826002145b8061071a5750826003145b6107365760405162461bcd60e51b81526004016103d090610f7d565b60015434146107575760405162461bcd60e51b81526004016103d090610fc1565b3360009081526004602052604090205460ff16156107875760405162461bcd60e51b81526004016103d090610ff7565b6107928282336108ad565b6107ae5760405162461bcd60e51b81526004016103d09061102b565b33600081815260046020819052604091829020805460ff191660019081179091556005549251637921219560e11b81526001600160a01b03939093169363f242432a936106a79330938a9290910161103b565b6000546001600160a01b0316331461082b5760405162461bcd60e51b81526004016103d090610e69565b6001600160a01b0381166108515760405162461bcd60e51b81526004016103d090611070565b61085a8161085d565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080826040516020016108c191906110e2565b60405160208183030381529060405280519060200120905061091a858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506003549150849050610925565b9150505b9392505050565b600082610932858461093b565b14949350505050565b600081815b84518110156109a757600085828151811061095d5761095d6110f7565b602002602001015190508083116109835760008381526020829052604090209250610994565b600081815260208490526040902092505b508061099f81611123565b915050610940565b509392505050565b6001600160e01b031981165b811461085a57600080fd5b80356103a0816109af565b6000602082840312156109e6576109e6600080fd5b60006109f284846109c6565b949350505050565b8015155b82525050565b602081016103a082846109fa565b806109fe565b602081016103a08284610a12565b60006001600160a01b0382166103a0565b6109bb81610a26565b80356103a081610a37565b600060208284031215610a6057610a60600080fd5b60006109f28484610a40565b60608101610a7a8286610a12565b610a876020830185610a12565b6109f26040830184610a12565b806109bb565b80356103a081610a94565b600060208284031215610aba57610aba600080fd5b60006109f28484610a9a565b60006103a06001600160a01b038316610add565b90565b6001600160a01b031690565b60006103a082610ac6565b60006103a082610ae9565b6109fe81610af4565b602081016103a08284610aff565b8015156109bb565b80356103a081610b16565b600060208284031215610b3e57610b3e600080fd5b60006109f28484610b1e565b600080600060608486031215610b6257610b62600080fd5b6000610b6e8686610a40565b9350506020610b7f86828701610a9a565b9250506040610b9086828701610a9a565b9150509250925092565b6109fe81610a26565b602081016103a08284610b9a565b60008083601f840112610bc657610bc6600080fd5b50813567ffffffffffffffff811115610be157610be1600080fd5b602083019150836020820283011115610bfc57610bfc600080fd5b9250929050565b600080600060408486031215610c1b57610c1b600080fd5b6000610c278686610a9a565b935050602084013567ffffffffffffffff811115610c4757610c47600080fd5b610c5386828701610bb1565b92509250509250925092565b60008083601f840112610c7457610c74600080fd5b50813567ffffffffffffffff811115610c8f57610c8f600080fd5b602083019150836001820283011115610bfc57610bfc600080fd5b60008060008060008060008060a0898b031215610cc957610cc9600080fd5b6000610cd58b8b610a40565b9850506020610ce68b828c01610a40565b975050604089013567ffffffffffffffff811115610d0657610d06600080fd5b610d128b828c01610bb1565b9650965050606089013567ffffffffffffffff811115610d3457610d34600080fd5b610d408b828c01610bb1565b9450945050608089013567ffffffffffffffff811115610d6257610d62600080fd5b610d6e8b828c01610c5f565b92509250509295985092959890939650565b6001600160e01b031981166109fe565b602081016103a08284610d80565b60008060008060008060a08789031215610dba57610dba600080fd5b6000610dc68989610a40565b9650506020610dd789828a01610a40565b9550506040610de889828a01610a9a565b9450506060610df989828a01610a9a565b935050608087013567ffffffffffffffff811115610e1957610e19600080fd5b610e2589828a01610c5f565b92509250509295509295509295565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260005b5060200190565b602080825281016103a081610e34565b60006103a0610ada8381565b6109fe81610e79565b60408101610e9c8285610b9a565b61091e6020830184610e85565b80516103a081610a94565b600060208284031215610ec957610ec9600080fd5b60006109f28484610ea9565b60a08101610ee38287610b9a565b610ef06020830186610b9a565b610efd6040830185610a12565b610f0a6060830184610a12565b818103608083015260008152602081019695505050505050565b600e81526000602082016d14d85b19481a5cc818db1bdcd95960921b81529150610e62565b602080825281016103a081610f24565b600d81526000602082016c2ab735b737bbb7103a37b5b2b760991b81529150610e62565b602080825281016103a081610f59565b601881526000602082017f496e636f72726563742070617961626c6520616d6f756e74000000000000000081529150610e62565b602080825281016103a081610f8d565b600f81526000602082016e105b1c9958591e4818db185a5b5959608a1b81529150610e62565b602080825281016103a081610fd1565b600d81526000602082016c24b73b30b634b210383937b7b360991b81529150610e62565b602080825281016103a081611007565b60a081016110498287610b9a565b6110566020830186610b9a565b6110636040830185610a12565b610f0a6060830184610e85565b602080825281016103a081602681527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160208201526564647265737360d01b604082015260600190565b60006103a08260601b90565b60006103a0826110ba565b6109fe6110dd82610a26565b6110c6565b60006110ee82846110d1565b50601401919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156111375761113761110d565b506001019056fea26469706673582212203c09711a725bf7a00a20e4dda9ae63a2a5a0d0867d2217687eef68890d91743664736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c19d1464da613f79a8442733230a1e7a9a3fc84f
-----Decoded View---------------
Arg [0] : collectionAddress (address): 0xc19D1464Da613f79A8442733230A1e7A9a3fC84f
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c19d1464da613f79a8442733230a1e7a9a3fc84f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.