ETH Price: $3,419.42 (+3.16%)

Contract

0xFfE691bFB098af660E17172CFBCc75dc5fF6EA3C
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x2481c7e75139a290f95fd1bf7f160336cbe5923e893ffc07a384fd7e809f9cda Mint(pending)2024-11-24 1:58:403 days ago1732413520IN
0xFfE691bF...c5fF6EA3C
0 ETH(Pending)(Pending)
Mint211201202024-11-05 8:01:3522 days ago1730793695IN
0xFfE691bF...c5fF6EA3C
0 ETH0.00032624.86181713
Mint211197362024-11-05 6:44:2322 days ago1730789063IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000175093.50230529
Mint211197352024-11-05 6:44:1122 days ago1730789051IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000176013.52065748
Mint211197112024-11-05 6:39:2322 days ago1730788763IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000279644.16782929
Mint211196742024-11-05 6:31:5922 days ago1730788319IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000195292.91072825
Mint211194972024-11-05 5:56:2322 days ago1730786183IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000258093.84232379
Mint211187472024-11-05 3:25:1122 days ago1730777111IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000169993.4002006
Mint211186522024-11-05 3:05:4722 days ago1730775947IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000195063.90173986
Mint211186512024-11-05 3:05:3522 days ago1730775935IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000272064.0549272
Mint211186362024-11-05 3:02:3522 days ago1730775755IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000246053.66718991
Mint211186332024-11-05 3:01:5922 days ago1730775719IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000190833.8169864
Mint211186242024-11-05 3:00:1122 days ago1730775611IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000266113.96628769
Mint211186072024-11-05 2:56:4722 days ago1730775407IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000180473.60991694
Mint211186042024-11-05 2:56:1122 days ago1730775371IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000251543.74909985
Mint211185932024-11-05 2:53:5922 days ago1730775239IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000209274.18588856
Mint211185872024-11-05 2:52:4722 days ago1730775167IN
0xFfE691bF...c5fF6EA3C
0 ETH0.00026563.95862267
Mint211185792024-11-05 2:51:1122 days ago1730775071IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000288584.30109946
Mint211185472024-11-05 2:44:4722 days ago1730774687IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000200564.01175634
Mint211185392024-11-05 2:43:1122 days ago1730774591IN
0xFfE691bF...c5fF6EA3C
0 ETH0.00025163.74994667
Mint211185292024-11-05 2:41:1122 days ago1730774471IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000188813.77676408
Mint211185242024-11-05 2:39:5922 days ago1730774399IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000203484.07012979
Mint211185192024-11-05 2:38:5922 days ago1730774339IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000254123.78747641
Mint211185062024-11-05 2:36:1122 days ago1730774171IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000195883.91806997
Mint211184992024-11-05 2:34:4722 days ago1730774087IN
0xFfE691bF...c5fF6EA3C
0 ETH0.000195273.90581255
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:
ForgottenRunesComicCoinbaseMinter

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : ForgottenRunesComicCoinbaseMinter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/access/Ownable.sol";
import "../interfaces/IForgottenRunesComic.sol";

contract ForgottenRunesComicCoinbaseMinter is Ownable {
    uint256 public startTimestamp = type(uint256).max;
    IForgottenRunesComic public comicToken;

    function setStartTimestamp(uint256 newStartTimestamp) public onlyOwner {
        startTimestamp = newStartTimestamp;
    }

    function setComicToken(IForgottenRunesComic newComicToken)
        public
        onlyOwner
    {
        comicToken = newComicToken;
    }

    function mint(uint256 tokenId) public {
        require(
            tokenId >= 1 && tokenId <= 5,
            "Can only mint tokenIds 1 through 5"
        );
        require(started(), "Not started yet");
        comicToken.mint(msg.sender, tokenId, 1, "");
    }

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

File 2 of 6 : 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 6 : IForgottenRunesComic.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import {IERC1155} from '@openzeppelin/contracts/token/ERC1155/IERC1155.sol';

interface IForgottenRunesComic is IERC1155 {
    function mint(
        address tokenOwner,
        uint256 tokenId,
        uint256 amount,
        bytes calldata data
    ) external;

    function mintBatch(
        address to,
        uint256[] calldata tokenIds,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;

    function mintToMultipleRecipients(
        address[] calldata recipients,
        uint256 tokenId,
        uint256 amount,
        bytes calldata data
    ) external;
}

File 4 of 6 : 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;
    }
}

File 5 of 6 : IERC1155.sol
// 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;
}

File 6 of 6 : IERC165.sol
// 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);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "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":"comicToken","outputs":[{"internalType":"contract IForgottenRunesComic","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"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":[{"internalType":"contract IForgottenRunesComic","name":"newComicToken","type":"address"}],"name":"setComicToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartTimestamp","type":"uint256"}],"name":"setStartTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260001960015534801561001657600080fd5b5061002033610025565b610075565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6104e7806100846000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063a0712d6811610066578063a0712d68146100f9578063c44bef751461010c578063e624c5911461011f578063e6fd48bc14610132578063f2fde38b1461014957600080fd5b80631981646f146100985780631f2698ab146100c8578063715018a6146100de5780638da5cb5b146100e8575b600080fd5b6002546100ab906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b60015442101560405190151581526020016100bf565b6100e661015c565b005b6000546001600160a01b03166100ab565b6100e661010736600461042a565b61019b565b6100e661011a36600461042a565b6102c4565b6100e661012d366004610458565b6102f3565b61013b60015481565b6040519081526020016100bf565b6100e6610157366004610458565b61033f565b6000546001600160a01b0316331461018f5760405162461bcd60e51b81526004016101869061047c565b60405180910390fd5b61019960006103da565b565b600181101580156101ad575060058111155b6102045760405162461bcd60e51b815260206004820152602260248201527f43616e206f6e6c79206d696e7420746f6b656e4964732031207468726f756768604482015261203560f01b6064820152608401610186565b6001544210156102485760405162461bcd60e51b815260206004820152600f60248201526e139bdd081cdd185c9d1959081e595d608a1b6044820152606401610186565b60025460405163731133e960e01b8152336004820152602481018390526001604482015260806064820152600060848201526001600160a01b039091169063731133e99060a401600060405180830381600087803b1580156102a957600080fd5b505af11580156102bd573d6000803e3d6000fd5b5050505050565b6000546001600160a01b031633146102ee5760405162461bcd60e51b81526004016101869061047c565b600155565b6000546001600160a01b0316331461031d5760405162461bcd60e51b81526004016101869061047c565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146103695760405162461bcd60e51b81526004016101869061047c565b6001600160a01b0381166103ce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610186565b6103d7816103da565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561043c57600080fd5b5035919050565b6001600160a01b03811681146103d757600080fd5b60006020828403121561046a57600080fd5b813561047581610443565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212203f03090e4a1e048e4a24d21d9317109edf5fca55a158864ce2724ba77a62c29d64736f6c63430008090033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063a0712d6811610066578063a0712d68146100f9578063c44bef751461010c578063e624c5911461011f578063e6fd48bc14610132578063f2fde38b1461014957600080fd5b80631981646f146100985780631f2698ab146100c8578063715018a6146100de5780638da5cb5b146100e8575b600080fd5b6002546100ab906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b60015442101560405190151581526020016100bf565b6100e661015c565b005b6000546001600160a01b03166100ab565b6100e661010736600461042a565b61019b565b6100e661011a36600461042a565b6102c4565b6100e661012d366004610458565b6102f3565b61013b60015481565b6040519081526020016100bf565b6100e6610157366004610458565b61033f565b6000546001600160a01b0316331461018f5760405162461bcd60e51b81526004016101869061047c565b60405180910390fd5b61019960006103da565b565b600181101580156101ad575060058111155b6102045760405162461bcd60e51b815260206004820152602260248201527f43616e206f6e6c79206d696e7420746f6b656e4964732031207468726f756768604482015261203560f01b6064820152608401610186565b6001544210156102485760405162461bcd60e51b815260206004820152600f60248201526e139bdd081cdd185c9d1959081e595d608a1b6044820152606401610186565b60025460405163731133e960e01b8152336004820152602481018390526001604482015260806064820152600060848201526001600160a01b039091169063731133e99060a401600060405180830381600087803b1580156102a957600080fd5b505af11580156102bd573d6000803e3d6000fd5b5050505050565b6000546001600160a01b031633146102ee5760405162461bcd60e51b81526004016101869061047c565b600155565b6000546001600160a01b0316331461031d5760405162461bcd60e51b81526004016101869061047c565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146103695760405162461bcd60e51b81526004016101869061047c565b6001600160a01b0381166103ce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610186565b6103d7816103da565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561043c57600080fd5b5035919050565b6001600160a01b03811681146103d757600080fd5b60006020828403121561046a57600080fd5b813561047581610443565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212203f03090e4a1e048e4a24d21d9317109edf5fca55a158864ce2724ba77a62c29d64736f6c63430008090033

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.