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
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x2481c7e75139a290f95fd1bf7f160336cbe5923e893ffc07a384fd7e809f9cda | Mint | (pending) | 3 days ago | IN | 0 ETH | (Pending) | |||
Mint | 21120120 | 22 days ago | IN | 0 ETH | 0.0003262 | ||||
Mint | 21119736 | 22 days ago | IN | 0 ETH | 0.00017509 | ||||
Mint | 21119735 | 22 days ago | IN | 0 ETH | 0.00017601 | ||||
Mint | 21119711 | 22 days ago | IN | 0 ETH | 0.00027964 | ||||
Mint | 21119674 | 22 days ago | IN | 0 ETH | 0.00019529 | ||||
Mint | 21119497 | 22 days ago | IN | 0 ETH | 0.00025809 | ||||
Mint | 21118747 | 22 days ago | IN | 0 ETH | 0.00016999 | ||||
Mint | 21118652 | 22 days ago | IN | 0 ETH | 0.00019506 | ||||
Mint | 21118651 | 22 days ago | IN | 0 ETH | 0.00027206 | ||||
Mint | 21118636 | 22 days ago | IN | 0 ETH | 0.00024605 | ||||
Mint | 21118633 | 22 days ago | IN | 0 ETH | 0.00019083 | ||||
Mint | 21118624 | 22 days ago | IN | 0 ETH | 0.00026611 | ||||
Mint | 21118607 | 22 days ago | IN | 0 ETH | 0.00018047 | ||||
Mint | 21118604 | 22 days ago | IN | 0 ETH | 0.00025154 | ||||
Mint | 21118593 | 22 days ago | IN | 0 ETH | 0.00020927 | ||||
Mint | 21118587 | 22 days ago | IN | 0 ETH | 0.0002656 | ||||
Mint | 21118579 | 22 days ago | IN | 0 ETH | 0.00028858 | ||||
Mint | 21118547 | 22 days ago | IN | 0 ETH | 0.00020056 | ||||
Mint | 21118539 | 22 days ago | IN | 0 ETH | 0.0002516 | ||||
Mint | 21118529 | 22 days ago | IN | 0 ETH | 0.00018881 | ||||
Mint | 21118524 | 22 days ago | IN | 0 ETH | 0.00020348 | ||||
Mint | 21118519 | 22 days ago | IN | 0 ETH | 0.00025412 | ||||
Mint | 21118506 | 22 days ago | IN | 0 ETH | 0.00019588 | ||||
Mint | 21118499 | 22 days ago | IN | 0 ETH | 0.00019527 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ForgottenRunesComicCoinbaseMinter
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/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; } }
// 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 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; }
// 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; } }
// 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 (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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "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":"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"}]
Contract Creation Code
608060405260001960015534801561001657600080fd5b5061002033610025565b610075565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6104e7806100846000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063a0712d6811610066578063a0712d68146100f9578063c44bef751461010c578063e624c5911461011f578063e6fd48bc14610132578063f2fde38b1461014957600080fd5b80631981646f146100985780631f2698ab146100c8578063715018a6146100de5780638da5cb5b146100e8575b600080fd5b6002546100ab906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b60015442101560405190151581526020016100bf565b6100e661015c565b005b6000546001600160a01b03166100ab565b6100e661010736600461042a565b61019b565b6100e661011a36600461042a565b6102c4565b6100e661012d366004610458565b6102f3565b61013b60015481565b6040519081526020016100bf565b6100e6610157366004610458565b61033f565b6000546001600160a01b0316331461018f5760405162461bcd60e51b81526004016101869061047c565b60405180910390fd5b61019960006103da565b565b600181101580156101ad575060058111155b6102045760405162461bcd60e51b815260206004820152602260248201527f43616e206f6e6c79206d696e7420746f6b656e4964732031207468726f756768604482015261203560f01b6064820152608401610186565b6001544210156102485760405162461bcd60e51b815260206004820152600f60248201526e139bdd081cdd185c9d1959081e595d608a1b6044820152606401610186565b60025460405163731133e960e01b8152336004820152602481018390526001604482015260806064820152600060848201526001600160a01b039091169063731133e99060a401600060405180830381600087803b1580156102a957600080fd5b505af11580156102bd573d6000803e3d6000fd5b5050505050565b6000546001600160a01b031633146102ee5760405162461bcd60e51b81526004016101869061047c565b600155565b6000546001600160a01b0316331461031d5760405162461bcd60e51b81526004016101869061047c565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146103695760405162461bcd60e51b81526004016101869061047c565b6001600160a01b0381166103ce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610186565b6103d7816103da565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561043c57600080fd5b5035919050565b6001600160a01b03811681146103d757600080fd5b60006020828403121561046a57600080fd5b813561047581610443565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212203f03090e4a1e048e4a24d21d9317109edf5fca55a158864ce2724ba77a62c29d64736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063a0712d6811610066578063a0712d68146100f9578063c44bef751461010c578063e624c5911461011f578063e6fd48bc14610132578063f2fde38b1461014957600080fd5b80631981646f146100985780631f2698ab146100c8578063715018a6146100de5780638da5cb5b146100e8575b600080fd5b6002546100ab906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b60015442101560405190151581526020016100bf565b6100e661015c565b005b6000546001600160a01b03166100ab565b6100e661010736600461042a565b61019b565b6100e661011a36600461042a565b6102c4565b6100e661012d366004610458565b6102f3565b61013b60015481565b6040519081526020016100bf565b6100e6610157366004610458565b61033f565b6000546001600160a01b0316331461018f5760405162461bcd60e51b81526004016101869061047c565b60405180910390fd5b61019960006103da565b565b600181101580156101ad575060058111155b6102045760405162461bcd60e51b815260206004820152602260248201527f43616e206f6e6c79206d696e7420746f6b656e4964732031207468726f756768604482015261203560f01b6064820152608401610186565b6001544210156102485760405162461bcd60e51b815260206004820152600f60248201526e139bdd081cdd185c9d1959081e595d608a1b6044820152606401610186565b60025460405163731133e960e01b8152336004820152602481018390526001604482015260806064820152600060848201526001600160a01b039091169063731133e99060a401600060405180830381600087803b1580156102a957600080fd5b505af11580156102bd573d6000803e3d6000fd5b5050505050565b6000546001600160a01b031633146102ee5760405162461bcd60e51b81526004016101869061047c565b600155565b6000546001600160a01b0316331461031d5760405162461bcd60e51b81526004016101869061047c565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146103695760405162461bcd60e51b81526004016101869061047c565b6001600160a01b0381166103ce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610186565b6103d7816103da565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561043c57600080fd5b5035919050565b6001600160a01b03811681146103d757600080fd5b60006020828403121561046a57600080fd5b813561047581610443565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212203f03090e4a1e048e4a24d21d9317109edf5fca55a158864ce2724ba77a62c29d64736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.