Overview
ETH Balance
ETH Value
$0.00Latest 1 from a total of 1 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Call Check In | 404682524 | 59 days ago | IN | 0 ETH | 0.00000079 |
Cross-Chain Transactions
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
interface IBatchRegistry {
function checkIn() external;
}
contract CheckIn is Ownable {
address public batchRegistry;
constructor(address _batchRegistry, address _owner) Ownable(_owner) {
batchRegistry = _batchRegistry;
}
function callCheckIn() external onlyOwner {
IBatchRegistry(batchRegistry).checkIn();
}
}// 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;
}
}{
"evmVersion": "paris",
"metadata": {
"bytecodeHash": "ipfs",
"useLiteralContent": true
},
"optimizer": {
"enabled": true,
"runs": 200
},
"remappings": [],
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_batchRegistry","type":"address"},{"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":[],"name":"batchRegistry","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"callCheckIn","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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b506040516103a53803806103a583398101604081905261002f916100fa565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161008e565b5050600180546001600160a01b0319166001600160a01b039290921691909117905561012d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100f557600080fd5b919050565b6000806040838503121561010d57600080fd5b610116836100de565b9150610124602084016100de565b90509250929050565b6102698061013c6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063715018a61461005c5780638da5cb5b146100665780638dcfe3621461008f578063aa40b77b14610097578063f2fde38b146100aa575b600080fd5b6100646100bd565b005b6000546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b6100646100d1565b600154610073906001600160a01b031681565b6100646100b8366004610203565b610143565b6100c5610186565b6100cf60006101b3565b565b6100d9610186565b600160009054906101000a90046001600160a01b03166001600160a01b031663183ff0856040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561012957600080fd5b505af115801561013d573d6000803e3d6000fd5b50505050565b61014b610186565b6001600160a01b03811661017a57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b610183816101b3565b50565b6000546001600160a01b031633146100cf5760405163118cdaa760e01b8152336004820152602401610171565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561021557600080fd5b81356001600160a01b038116811461022c57600080fd5b939250505056fea26469706673582212204fbb446fe8fcaadc19cc9b42186edd8ca5ac2879a37df1e5660506f924b2939c64736f6c63430008140033000000000000000000000000ba7a0079ce923ed5d5f502d4e938bac1df148f240000000000000000000000000ed3f043ad4fe71d00de45f6077b022576c4b86b
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100575760003560e01c8063715018a61461005c5780638da5cb5b146100665780638dcfe3621461008f578063aa40b77b14610097578063f2fde38b146100aa575b600080fd5b6100646100bd565b005b6000546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b6100646100d1565b600154610073906001600160a01b031681565b6100646100b8366004610203565b610143565b6100c5610186565b6100cf60006101b3565b565b6100d9610186565b600160009054906101000a90046001600160a01b03166001600160a01b031663183ff0856040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561012957600080fd5b505af115801561013d573d6000803e3d6000fd5b50505050565b61014b610186565b6001600160a01b03811661017a57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b610183816101b3565b50565b6000546001600160a01b031633146100cf5760405163118cdaa760e01b8152336004820152602401610171565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561021557600080fd5b81356001600160a01b038116811461022c57600080fd5b939250505056fea26469706673582212204fbb446fe8fcaadc19cc9b42186edd8ca5ac2879a37df1e5660506f924b2939c64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ba7a0079ce923ed5d5f502d4e938bac1df148f240000000000000000000000000ed3f043ad4fe71d00de45f6077b022576c4b86b
-----Decoded View---------------
Arg [0] : _batchRegistry (address): 0xBa7A0079ce923ed5D5F502D4E938bac1df148f24
Arg [1] : _owner (address): 0x0eD3f043ad4Fe71D00dE45F6077b022576C4B86B
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000ba7a0079ce923ed5d5f502d4e938bac1df148f24
Arg [1] : 0000000000000000000000000ed3f043ad4fe71d00de45f6077b022576c4b86b
Net Worth in USD
Net Worth in ETH
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.