Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 885 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Mint | 15423532 | 738 days ago | IN | 0 ETH | 0.00055077 | ||||
Mint | 14988955 | 808 days ago | IN | 0 ETH | 0.00061289 | ||||
Mint | 14988955 | 808 days ago | IN | 0 ETH | 0.00059598 | ||||
Mint | 14986000 | 808 days ago | IN | 0 ETH | 0.0008301 | ||||
Mint | 14984534 | 809 days ago | IN | 0 ETH | 0.0008722 | ||||
Mint | 14982630 | 809 days ago | IN | 0 ETH | 0.00129882 | ||||
Mint | 14982425 | 809 days ago | IN | 0 ETH | 0.00135633 | ||||
Mint | 14982410 | 809 days ago | IN | 0 ETH | 0.00124554 | ||||
Mint | 14982398 | 809 days ago | IN | 0 ETH | 0.00101077 | ||||
Mint | 14981844 | 809 days ago | IN | 0 ETH | 0.00222166 | ||||
Mint | 14981813 | 809 days ago | IN | 0 ETH | 0.00048887 | ||||
Mint | 14981781 | 809 days ago | IN | 0 ETH | 0.0012669 | ||||
Mint | 14981779 | 809 days ago | IN | 0 ETH | 0.00152938 | ||||
Mint | 14981764 | 809 days ago | IN | 0 ETH | 0.00121197 | ||||
Mint | 14981761 | 809 days ago | IN | 0 ETH | 0.00113934 | ||||
Mint | 14981739 | 809 days ago | IN | 0 ETH | 0.0011976 | ||||
Mint | 14981730 | 809 days ago | IN | 0 ETH | 0.00118959 | ||||
Mint | 14981726 | 809 days ago | IN | 0 ETH | 0.00109326 | ||||
Return Ownership | 14979702 | 809 days ago | IN | 0 ETH | 0.00117137 | ||||
Mint | 14975407 | 810 days ago | IN | 0 ETH | 0.00731931 | ||||
Mint | 14974937 | 810 days ago | IN | 0 ETH | 0.00667001 | ||||
Mint | 14973346 | 810 days ago | IN | 0 ETH | 0.00055335 | ||||
Mint | 14973321 | 810 days ago | IN | 0 ETH | 0.00847395 | ||||
Mint | 14970959 | 811 days ago | IN | 0 ETH | 0.00489819 | ||||
Mint | 14966173 | 812 days ago | IN | 0 ETH | 0.00499456 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
CryptidsFreeMint
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 5000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* */ //SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; interface ICryptid { function ownerMint(uint256 numberOfTokens) external; function transferFrom( address from, address to, uint256 tokenId ) external; function getLastTokenId() external view returns (uint256); function transferOwnership(address newOwner) external; } contract CryptidsFreeMint is Ownable, IERC721Receiver { ICryptid public constant CRYPTID = ICryptid(0x0B68BE2e1072204E68c6C0b8b46ac108E3E3dDd0); bool public isPublicSaleActive; mapping(address => bool) public claimed; // ============ ACCESS CONTROL/SANITY MODIFIERS ============ modifier publicSaleActive() { require(isPublicSaleActive, "Public sale is not open"); _; } // --- PUBLIC MINTING FUNCTIONS --- // mint allows for regular minting while the supply does not exceed maxCryptids. function mint() external { require(claimed[msg.sender] == false, "already claimed"); claimed[msg.sender] = true; CRYPTID.ownerMint(2); CRYPTID.transferFrom(address(this), msg.sender, (CRYPTID.getLastTokenId() - 1)); CRYPTID.transferFrom(address(this), msg.sender, CRYPTID.getLastTokenId()); } function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) public override returns (bytes4) { return this.onERC721Received.selector; } function returnOwnership() public onlyOwner { CRYPTID.transferOwnership(owner()); } }
// 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) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// 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": 5000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"CRYPTID","outputs":[{"internalType":"contract ICryptid","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"returnOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610a8b8061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c8063715018a611610076578063c884ef831161005b578063c884ef83146101a4578063dbfb2383146101c7578063f2fde38b146101e257600080fd5b8063715018a61461015d5780638da5cb5b1461016557600080fd5b80631249c58b146100a8578063150b7a02146100b25780631e84c41314610120578063297d1a3414610155575b600080fd5b6100b06101f5565b005b6100ea6100c0366004610941565b7f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b6000546101459074010000000000000000000000000000000000000000900460ff1681565b6040519015158152602001610117565b6100b06105db565b6100b06106e6565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610117565b6101456101b23660046109dc565b60016020526000908152604090205460ff1681565b61017f730b68be2e1072204e68c6c0b8b46ac108e3e3ddd081565b6100b06101f03660046109dc565b610773565b3360009081526001602052604090205460ff1615610274576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f616c726561647920636c61696d6564000000000000000000000000000000000060448201526064015b60405180910390fd5b3360009081526001602081905260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055517ff19e75d400000000000000000000000000000000000000000000000000000000815260026004820152730b68be2e1072204e68c6c0b8b46ac108e3e3ddd09063f19e75d490602401600060405180830381600087803b15801561031457600080fd5b505af1158015610328573d6000803e3d6000fd5b50505050730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166323b872dd30336001730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166383c4c00d6040518163ffffffff1660e01b815260040160206040518083038186803b1580156103ba57600080fd5b505afa1580156103ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f291906109fe565b6103fc9190610a17565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff93841660048201529290911660248301526044820152606401600060405180830381600087803b15801561047057600080fd5b505af1158015610484573d6000803e3d6000fd5b50505050730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166323b872dd3033730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166383c4c00d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561051457600080fd5b505afa158015610528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054c91906109fe565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff938416600482015292909116602483015260448201526064015b600060405180830381600087803b1580156105c157600080fd5b505af11580156105d5573d6000803e3d6000fd5b50505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461065c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b730b68be2e1072204e68c6c0b8b46ac108e3e3ddd063f2fde38b61069560005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff90911660048201526024016105a7565b60005473ffffffffffffffffffffffffffffffffffffffff163314610767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b61077160006108a3565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b73ffffffffffffffffffffffffffffffffffffffff8116610897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161026b565b6108a0816108a3565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461093c57600080fd5b919050565b60008060008060006080868803121561095957600080fd5b61096286610918565b945061097060208701610918565b935060408601359250606086013567ffffffffffffffff8082111561099457600080fd5b818801915088601f8301126109a857600080fd5b8135818111156109b757600080fd5b8960208285010111156109c957600080fd5b9699959850939650602001949392505050565b6000602082840312156109ee57600080fd5b6109f782610918565b9392505050565b600060208284031215610a1057600080fd5b5051919050565b600082821015610a50577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b50039056fea26469706673582212203e0b01faed6af9064f4eba96e3b2e5a1a3a62f06fd961db194120ab29e400e5d64736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100a35760003560e01c8063715018a611610076578063c884ef831161005b578063c884ef83146101a4578063dbfb2383146101c7578063f2fde38b146101e257600080fd5b8063715018a61461015d5780638da5cb5b1461016557600080fd5b80631249c58b146100a8578063150b7a02146100b25780631e84c41314610120578063297d1a3414610155575b600080fd5b6100b06101f5565b005b6100ea6100c0366004610941565b7f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b6000546101459074010000000000000000000000000000000000000000900460ff1681565b6040519015158152602001610117565b6100b06105db565b6100b06106e6565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610117565b6101456101b23660046109dc565b60016020526000908152604090205460ff1681565b61017f730b68be2e1072204e68c6c0b8b46ac108e3e3ddd081565b6100b06101f03660046109dc565b610773565b3360009081526001602052604090205460ff1615610274576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f616c726561647920636c61696d6564000000000000000000000000000000000060448201526064015b60405180910390fd5b3360009081526001602081905260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055517ff19e75d400000000000000000000000000000000000000000000000000000000815260026004820152730b68be2e1072204e68c6c0b8b46ac108e3e3ddd09063f19e75d490602401600060405180830381600087803b15801561031457600080fd5b505af1158015610328573d6000803e3d6000fd5b50505050730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166323b872dd30336001730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166383c4c00d6040518163ffffffff1660e01b815260040160206040518083038186803b1580156103ba57600080fd5b505afa1580156103ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f291906109fe565b6103fc9190610a17565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff93841660048201529290911660248301526044820152606401600060405180830381600087803b15801561047057600080fd5b505af1158015610484573d6000803e3d6000fd5b50505050730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166323b872dd3033730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166383c4c00d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561051457600080fd5b505afa158015610528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054c91906109fe565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff938416600482015292909116602483015260448201526064015b600060405180830381600087803b1580156105c157600080fd5b505af11580156105d5573d6000803e3d6000fd5b50505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461065c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b730b68be2e1072204e68c6c0b8b46ac108e3e3ddd063f2fde38b61069560005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff90911660048201526024016105a7565b60005473ffffffffffffffffffffffffffffffffffffffff163314610767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b61077160006108a3565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b73ffffffffffffffffffffffffffffffffffffffff8116610897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161026b565b6108a0816108a3565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461093c57600080fd5b919050565b60008060008060006080868803121561095957600080fd5b61096286610918565b945061097060208701610918565b935060408601359250606086013567ffffffffffffffff8082111561099457600080fd5b818801915088601f8301126109a857600080fd5b8135818111156109b757600080fd5b8960208285010111156109c957600080fd5b9699959850939650602001949392505050565b6000602082840312156109ee57600080fd5b6109f782610918565b9392505050565b600060208284031215610a1057600080fd5b5051919050565b600082821015610a50577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b50039056fea26469706673582212203e0b01faed6af9064f4eba96e3b2e5a1a3a62f06fd961db194120ab29e400e5d64736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.