ETH Price: $2,391.30 (-4.70%)

Contract

0xABe50E510A7eB37565eCe41188fF611B365583fA
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint154235322022-08-27 19:55:59738 days ago1661630159IN
0xABe50E51...B365583fA
0 ETH0.0005507710.10352401
Mint149889552022-06-19 4:51:11808 days ago1655614271IN
0xABe50E51...B365583fA
0 ETH0.0006128911.24314964
Mint149889552022-06-19 4:51:11808 days ago1655614271IN
0xABe50E51...B365583fA
0 ETH0.0005959810.93287939
Mint149860002022-06-18 16:42:13808 days ago1655570533IN
0xABe50E51...B365583fA
0 ETH0.000830135.33433809
Mint149845342022-06-18 10:42:45809 days ago1655548965IN
0xABe50E51...B365583fA
0 ETH0.000872216
Mint149826302022-06-18 2:40:11809 days ago1655520011IN
0xABe50E51...B365583fA
0 ETH0.0012988223.82601164
Mint149824252022-06-18 1:47:07809 days ago1655516827IN
0xABe50E51...B365583fA
0 ETH0.0013563324.88094705
Mint149824102022-06-18 1:43:25809 days ago1655516605IN
0xABe50E51...B365583fA
0 ETH0.0012455422.8485652
Mint149823982022-06-18 1:40:01809 days ago1655516401IN
0xABe50E51...B365583fA
0 ETH0.0010107718.54186712
Mint149818442022-06-17 23:25:23809 days ago1655508323IN
0xABe50E51...B365583fA
0 ETH0.0022216640.75484561
Mint149818132022-06-17 23:19:11809 days ago1655507951IN
0xABe50E51...B365583fA
0 ETH0.0004888720.80931513
Mint149817812022-06-17 23:12:05809 days ago1655507525IN
0xABe50E51...B365583fA
0 ETH0.001266923.24034159
Mint149817792022-06-17 23:11:56809 days ago1655507516IN
0xABe50E51...B365583fA
0 ETH0.0015293828.05533878
Mint149817642022-06-17 23:07:58809 days ago1655507278IN
0xABe50E51...B365583fA
0 ETH0.0012119722.2328041
Mint149817612022-06-17 23:07:16809 days ago1655507236IN
0xABe50E51...B365583fA
0 ETH0.0011393420.90047138
Mint149817392022-06-17 23:02:38809 days ago1655506958IN
0xABe50E51...B365583fA
0 ETH0.001197621.96914168
Mint149817302022-06-17 23:00:44809 days ago1655506844IN
0xABe50E51...B365583fA
0 ETH0.0011895921.8222973
Mint149817262022-06-17 23:00:10809 days ago1655506810IN
0xABe50E51...B365583fA
0 ETH0.0010932620.05519446
Return Ownership149797022022-06-17 14:35:56809 days ago1655476556IN
0xABe50E51...B365583fA
0 ETH0.0011713734.39458492
Mint149754072022-06-16 20:58:34810 days ago1655413114IN
0xABe50E51...B365583fA
0 ETH0.0073193132.34227316
Mint149749372022-06-16 18:59:47810 days ago1655405987IN
0xABe50E51...B365583fA
0 ETH0.0066700129.47318837
Mint149733462022-06-16 12:34:48810 days ago1655382888IN
0xABe50E51...B365583fA
0 ETH0.0005533523.55417438
Mint149733212022-06-16 12:30:59810 days ago1655382659IN
0xABe50E51...B365583fA
0 ETH0.0084739537.44436517
Mint149709592022-06-16 2:39:47811 days ago1655347187IN
0xABe50E51...B365583fA
0 ETH0.0048981921.64391425
Mint149661732022-06-15 6:52:53812 days ago1655275973IN
0xABe50E51...B365583fA
0 ETH0.0049945622.06977189
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:
CryptidsFreeMint

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 5000 runs

Other Settings:
default evmVersion
File 1 of 4 : CryptidMigrate.sol
/*
*/

//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());
    }
}

File 2 of 4 : Ownable.sol
// 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);
    }
}

File 3 of 4 : IERC721Receiver.sol
// 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);
}

File 4 of 4 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"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"}]

608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610a8b8061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c8063715018a611610076578063c884ef831161005b578063c884ef83146101a4578063dbfb2383146101c7578063f2fde38b146101e257600080fd5b8063715018a61461015d5780638da5cb5b1461016557600080fd5b80631249c58b146100a8578063150b7a02146100b25780631e84c41314610120578063297d1a3414610155575b600080fd5b6100b06101f5565b005b6100ea6100c0366004610941565b7f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b6000546101459074010000000000000000000000000000000000000000900460ff1681565b6040519015158152602001610117565b6100b06105db565b6100b06106e6565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610117565b6101456101b23660046109dc565b60016020526000908152604090205460ff1681565b61017f730b68be2e1072204e68c6c0b8b46ac108e3e3ddd081565b6100b06101f03660046109dc565b610773565b3360009081526001602052604090205460ff1615610274576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f616c726561647920636c61696d6564000000000000000000000000000000000060448201526064015b60405180910390fd5b3360009081526001602081905260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055517ff19e75d400000000000000000000000000000000000000000000000000000000815260026004820152730b68be2e1072204e68c6c0b8b46ac108e3e3ddd09063f19e75d490602401600060405180830381600087803b15801561031457600080fd5b505af1158015610328573d6000803e3d6000fd5b50505050730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166323b872dd30336001730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166383c4c00d6040518163ffffffff1660e01b815260040160206040518083038186803b1580156103ba57600080fd5b505afa1580156103ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f291906109fe565b6103fc9190610a17565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff93841660048201529290911660248301526044820152606401600060405180830381600087803b15801561047057600080fd5b505af1158015610484573d6000803e3d6000fd5b50505050730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166323b872dd3033730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166383c4c00d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561051457600080fd5b505afa158015610528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054c91906109fe565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff938416600482015292909116602483015260448201526064015b600060405180830381600087803b1580156105c157600080fd5b505af11580156105d5573d6000803e3d6000fd5b50505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461065c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b730b68be2e1072204e68c6c0b8b46ac108e3e3ddd063f2fde38b61069560005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff90911660048201526024016105a7565b60005473ffffffffffffffffffffffffffffffffffffffff163314610767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b61077160006108a3565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b73ffffffffffffffffffffffffffffffffffffffff8116610897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161026b565b6108a0816108a3565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461093c57600080fd5b919050565b60008060008060006080868803121561095957600080fd5b61096286610918565b945061097060208701610918565b935060408601359250606086013567ffffffffffffffff8082111561099457600080fd5b818801915088601f8301126109a857600080fd5b8135818111156109b757600080fd5b8960208285010111156109c957600080fd5b9699959850939650602001949392505050565b6000602082840312156109ee57600080fd5b6109f782610918565b9392505050565b600060208284031215610a1057600080fd5b5051919050565b600082821015610a50577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b50039056fea26469706673582212203e0b01faed6af9064f4eba96e3b2e5a1a3a62f06fd961db194120ab29e400e5d64736f6c63430008090033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a35760003560e01c8063715018a611610076578063c884ef831161005b578063c884ef83146101a4578063dbfb2383146101c7578063f2fde38b146101e257600080fd5b8063715018a61461015d5780638da5cb5b1461016557600080fd5b80631249c58b146100a8578063150b7a02146100b25780631e84c41314610120578063297d1a3414610155575b600080fd5b6100b06101f5565b005b6100ea6100c0366004610941565b7f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b6000546101459074010000000000000000000000000000000000000000900460ff1681565b6040519015158152602001610117565b6100b06105db565b6100b06106e6565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610117565b6101456101b23660046109dc565b60016020526000908152604090205460ff1681565b61017f730b68be2e1072204e68c6c0b8b46ac108e3e3ddd081565b6100b06101f03660046109dc565b610773565b3360009081526001602052604090205460ff1615610274576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f616c726561647920636c61696d6564000000000000000000000000000000000060448201526064015b60405180910390fd5b3360009081526001602081905260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055517ff19e75d400000000000000000000000000000000000000000000000000000000815260026004820152730b68be2e1072204e68c6c0b8b46ac108e3e3ddd09063f19e75d490602401600060405180830381600087803b15801561031457600080fd5b505af1158015610328573d6000803e3d6000fd5b50505050730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166323b872dd30336001730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166383c4c00d6040518163ffffffff1660e01b815260040160206040518083038186803b1580156103ba57600080fd5b505afa1580156103ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f291906109fe565b6103fc9190610a17565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff93841660048201529290911660248301526044820152606401600060405180830381600087803b15801561047057600080fd5b505af1158015610484573d6000803e3d6000fd5b50505050730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166323b872dd3033730b68be2e1072204e68c6c0b8b46ac108e3e3ddd073ffffffffffffffffffffffffffffffffffffffff166383c4c00d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561051457600080fd5b505afa158015610528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054c91906109fe565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff938416600482015292909116602483015260448201526064015b600060405180830381600087803b1580156105c157600080fd5b505af11580156105d5573d6000803e3d6000fd5b50505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461065c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b730b68be2e1072204e68c6c0b8b46ac108e3e3ddd063f2fde38b61069560005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff90911660048201526024016105a7565b60005473ffffffffffffffffffffffffffffffffffffffff163314610767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b61077160006108a3565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b73ffffffffffffffffffffffffffffffffffffffff8116610897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161026b565b6108a0816108a3565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461093c57600080fd5b919050565b60008060008060006080868803121561095957600080fd5b61096286610918565b945061097060208701610918565b935060408601359250606086013567ffffffffffffffff8082111561099457600080fd5b818801915088601f8301126109a857600080fd5b8135818111156109b757600080fd5b8960208285010111156109c957600080fd5b9699959850939650602001949392505050565b6000602082840312156109ee57600080fd5b6109f782610918565b9392505050565b600060208284031215610a1057600080fd5b5051919050565b600082821015610a50577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b50039056fea26469706673582212203e0b01faed6af9064f4eba96e3b2e5a1a3a62f06fd961db194120ab29e400e5d64736f6c63430008090033

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.