ETH Price: $1,974.90 (+1.72%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Inject230447782025-08-01 7:35:47199 days ago1754033747IN
0x652f5702...F01a1139E
0 ETH0.000124562.43308764
Inject230447772025-08-01 7:35:35199 days ago1754033735IN
0x652f5702...F01a1139E
0 ETH0.000124682.43541447
Inject230447752025-08-01 7:35:11199 days ago1754033711IN
0x652f5702...F01a1139E
0 ETH0.000124982.44188623
Inject230447742025-08-01 7:34:59199 days ago1754033699IN
0x652f5702...F01a1139E
0 ETH0.000125922.45955285
Inject230447732025-08-01 7:34:47199 days ago1754033687IN
0x652f5702...F01a1139E
0 ETH0.00016792.4584964

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BUGCATS

Compiler Version
v0.8.30+commit.73712a01

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: WTFPL
pragma solidity ^0.8.30;

import "./interface/BugCat.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract BUGCATS is Ownable {
    address[] public bugs;

    constructor(address _owner) Ownable(_owner) {}

    function remember(uint256 index) external view returns (bool) {
        return BugCat(bugs[index]).remember();
    }

    function inject(address bug) external onlyOwner {
        bugs.push(bug);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// SPDX-License-Identifier: WTFPL
pragma solidity ^0.8.30;

interface BugCat {
    event Meow(address indexed caretaker, string wound);
    function caress() external;
    function remember() external view returns (bool);
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bugs","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"bug","type":"address"}],"name":"inject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"remember","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60803460bc57601f61047a38819003918201601f19168301916001600160401b0383118484101760c15780849260209460405283398101031260bc57516001600160a01b0381169081900360bc57801560a657600080546001600160a01b031981168317825560405192916001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a36103a290816100d88239f35b631e4fbdf760e01b600052600060045260246000fd5b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604052600436101561001257600080fd5b60003560e01c8063404d2c271461028a578063715018a61461023157806373e1aabf146101ef5780638da5cb5b146101c65780639c139603146100f05763f2fde38b1461005e57600080fd5b346100eb5760203660031901126100eb576004356001600160a01b038116908190036100eb5761008c610343565b80156100d557600080546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3005b631e4fbdf760e01b600052600060045260246000fd5b600080fd5b346100eb5760203660031901126100eb576004602061010f8235610312565b9054604051630b58d0f560e31b81529384929091839160031b1c6001600160a01b03165afa9081156101ba57600091610150575b6020826040519015158152f35b60203d6020116101b3575b601f8101601f1916820167ffffffffffffffff81118382101761019f5760209183916040528101031261019b5751801515810361019b5790506020610143565b5080fd5b634e487b7160e01b84526041600452602484fd5b503d61015b565b6040513d6000823e3d90fd5b346100eb5760003660031901126100eb576000546040516001600160a01b039091168152602090f35b346100eb5760203660031901126100eb576004356001548110156100eb57610218602091610312565b905460405160039290921b1c6001600160a01b03168152f35b346100eb5760003660031901126100eb5761024a610343565b600080546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346100eb5760203660031901126100eb576004356001600160a01b038116908190036100eb576102b8610343565b600154680100000000000000008110156102fc578060016102dc9201600155610312565b81546001600160a01b0360039290921b91821b191692901b919091179055005b634e487b7160e01b600052604160045260246000fd5b60015481101561032d57600160005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b6000546001600160a01b0316330361035757565b63118cdaa760e01b6000523360045260246000fdfea264697066735822122057bbaf70910e0367d5079341f055941633cbdee59cc42f40ed28ceca931d40e164736f6c634300081e00330000000000000000000000001ab4264485188933db0d9bcb34face34d54459be

Deployed Bytecode

0x6080604052600436101561001257600080fd5b60003560e01c8063404d2c271461028a578063715018a61461023157806373e1aabf146101ef5780638da5cb5b146101c65780639c139603146100f05763f2fde38b1461005e57600080fd5b346100eb5760203660031901126100eb576004356001600160a01b038116908190036100eb5761008c610343565b80156100d557600080546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3005b631e4fbdf760e01b600052600060045260246000fd5b600080fd5b346100eb5760203660031901126100eb576004602061010f8235610312565b9054604051630b58d0f560e31b81529384929091839160031b1c6001600160a01b03165afa9081156101ba57600091610150575b6020826040519015158152f35b60203d6020116101b3575b601f8101601f1916820167ffffffffffffffff81118382101761019f5760209183916040528101031261019b5751801515810361019b5790506020610143565b5080fd5b634e487b7160e01b84526041600452602484fd5b503d61015b565b6040513d6000823e3d90fd5b346100eb5760003660031901126100eb576000546040516001600160a01b039091168152602090f35b346100eb5760203660031901126100eb576004356001548110156100eb57610218602091610312565b905460405160039290921b1c6001600160a01b03168152f35b346100eb5760003660031901126100eb5761024a610343565b600080546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346100eb5760203660031901126100eb576004356001600160a01b038116908190036100eb576102b8610343565b600154680100000000000000008110156102fc578060016102dc9201600155610312565b81546001600160a01b0360039290921b91821b191692901b919091179055005b634e487b7160e01b600052604160045260246000fd5b60015481101561032d57600160005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b6000546001600160a01b0316330361035757565b63118cdaa760e01b6000523360045260246000fdfea264697066735822122057bbaf70910e0367d5079341f055941633cbdee59cc42f40ed28ceca931d40e164736f6c634300081e0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000001ab4264485188933db0d9bcb34face34d54459be

-----Decoded View---------------
Arg [0] : _owner (address): 0x1Ab4264485188933DB0D9BCb34fAce34d54459bE

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000001ab4264485188933db0d9bcb34face34d54459be


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.