ETH Price: $3,260.54 (+3.33%)

Contract

0x5D4A8C47ae56C02Bdb41D2E5D4957b7A0bE9c619

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Execute Batch4926762025-01-30 13:11:3813 hrs ago1738242698IN
0x5D4A8C47...A0bE9c619
0.000099 ETH0.000012290.04525
Execute Batch4629182025-01-30 4:48:3221 hrs ago1738212512IN
0x5D4A8C47...A0bE9c619
0.00035 ETH0.000013280.04525
Execute Batch3797762025-01-29 5:27:3244 hrs ago1738128452IN
0x5D4A8C47...A0bE9c619
0.08 ETH0.000011960.04525
Execute Batch3669452025-01-29 1:48:492 days ago1738115329IN
0x5D4A8C47...A0bE9c619
0.00069 ETH0.000011670.04525
Execute Batch3584152025-01-28 23:24:132 days ago1738106653IN
0x5D4A8C47...A0bE9c619
0.0002 ETH0.000014510.04525
Execute Batch3429882025-01-28 19:05:312 days ago1738091131IN
0x5D4A8C47...A0bE9c619
0.04 ETH0.000018960.04525
Execute Batch3427702025-01-28 19:01:522 days ago1738090912IN
0x5D4A8C47...A0bE9c619
0 ETH0.000018660.04525
Execute Batch3366132025-01-28 17:18:462 days ago1738084726IN
0x5D4A8C47...A0bE9c619
0 ETH0.000022990.04525
Execute Batch3363842025-01-28 17:14:572 days ago1738084497IN
0x5D4A8C47...A0bE9c619
0.2 ETH0.00002050.04525
Execute Batch3362422025-01-28 17:12:342 days ago1738084354IN
0x5D4A8C47...A0bE9c619
0.0018 ETH0.000029880.04525
Execute Batch3334832025-01-28 16:26:052 days ago1738081565IN
0x5D4A8C47...A0bE9c619
0 ETH0.000030270.04525
Execute Batch3331982025-01-28 16:21:202 days ago1738081280IN
0x5D4A8C47...A0bE9c619
0.04 ETH0.000033580.04525
Execute Batch3331482025-01-28 16:20:302 days ago1738081230IN
0x5D4A8C47...A0bE9c619
0 ETH0.000037390.0543
Execute Batch3317922025-01-28 15:57:492 days ago1738079869IN
0x5D4A8C47...A0bE9c619
0.00002 ETH0.000039560.04525
Execute Batch3316252025-01-28 15:55:012 days ago1738079701IN
0x5D4A8C47...A0bE9c619
0.04 ETH0.000048850.04525
Execute Batch3305282025-01-28 15:36:382 days ago1738078598IN
0x5D4A8C47...A0bE9c619
0.12 ETH0.000029070.04525
Execute Batch3298672025-01-28 15:25:292 days ago1738077929IN
0x5D4A8C47...A0bE9c619
0.04 ETH0.000045540.04525
Execute Batch3280722025-01-28 14:55:252 days ago1738076125IN
0x5D4A8C47...A0bE9c619
0.08 ETH0.0000220.04525
Execute Batch3276652025-01-28 14:48:352 days ago1738075715IN
0x5D4A8C47...A0bE9c619
0.04002 ETH0.000043410.04525
Execute Batch3270912025-01-28 14:38:592 days ago1738075139IN
0x5D4A8C47...A0bE9c619
0.2 ETH0.000033650.0543
Execute Batch3270672025-01-28 14:38:352 days ago1738075115IN
0x5D4A8C47...A0bE9c619
0.04 ETH0.000028760.04525
Execute Batch3262482025-01-28 14:24:542 days ago1738074294IN
0x5D4A8C47...A0bE9c619
0.04 ETH0.000031450.04525
Execute Batch3260322025-01-28 14:21:172 days ago1738074077IN
0x5D4A8C47...A0bE9c619
0.12 ETH0.000036630.04525
Execute Batch3259632025-01-28 14:20:082 days ago1738074008IN
0x5D4A8C47...A0bE9c619
0.2 ETH0.000046470.0543
Execute Batch3257202025-01-28 14:16:042 days ago1738073764IN
0x5D4A8C47...A0bE9c619
0.08 ETH0.000037260.04525
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
4926762025-01-30 13:11:3813 hrs ago1738242698
0x5D4A8C47...A0bE9c619
0.000099 ETH
4926762025-01-30 13:11:3813 hrs ago1738242698
0x5D4A8C47...A0bE9c619
0.000099 ETH
4629182025-01-30 4:48:3221 hrs ago1738212512
0x5D4A8C47...A0bE9c619
0.00035 ETH
4629182025-01-30 4:48:3221 hrs ago1738212512
0x5D4A8C47...A0bE9c619
0.00035 ETH
3797762025-01-29 5:27:3244 hrs ago1738128452
0x5D4A8C47...A0bE9c619
0.08 ETH
3797762025-01-29 5:27:3244 hrs ago1738128452
0x5D4A8C47...A0bE9c619
0.08 ETH
3669452025-01-29 1:48:492 days ago1738115329
0x5D4A8C47...A0bE9c619
0.00069 ETH
3669452025-01-29 1:48:492 days ago1738115329
0x5D4A8C47...A0bE9c619
0.00069 ETH
3584152025-01-28 23:24:132 days ago1738106653
0x5D4A8C47...A0bE9c619
0.0002 ETH
3584152025-01-28 23:24:132 days ago1738106653
0x5D4A8C47...A0bE9c619
0.0002 ETH
3429882025-01-28 19:05:312 days ago1738091131
0x5D4A8C47...A0bE9c619
0.04 ETH
3429882025-01-28 19:05:312 days ago1738091131
0x5D4A8C47...A0bE9c619
0.04 ETH
3363842025-01-28 17:14:572 days ago1738084497
0x5D4A8C47...A0bE9c619
0.2 ETH
3363842025-01-28 17:14:572 days ago1738084497
0x5D4A8C47...A0bE9c619
0.2 ETH
3362422025-01-28 17:12:342 days ago1738084354
0x5D4A8C47...A0bE9c619
0.0018 ETH
3362422025-01-28 17:12:342 days ago1738084354
0x5D4A8C47...A0bE9c619
0.0018 ETH
3331982025-01-28 16:21:202 days ago1738081280
0x5D4A8C47...A0bE9c619
0.04 ETH
3331982025-01-28 16:21:202 days ago1738081280
0x5D4A8C47...A0bE9c619
0.04 ETH
3317922025-01-28 15:57:492 days ago1738079869
0x5D4A8C47...A0bE9c619
0.00002 ETH
3317922025-01-28 15:57:492 days ago1738079869
0x5D4A8C47...A0bE9c619
0.00002 ETH
3316252025-01-28 15:55:012 days ago1738079701
0x5D4A8C47...A0bE9c619
0.04 ETH
3316252025-01-28 15:55:012 days ago1738079701
0x5D4A8C47...A0bE9c619
0.04 ETH
3305282025-01-28 15:36:382 days ago1738078598
0x5D4A8C47...A0bE9c619
0.12 ETH
3305282025-01-28 15:36:382 days ago1738078598
0x5D4A8C47...A0bE9c619
0.12 ETH
3298672025-01-28 15:25:292 days ago1738077929
0x5D4A8C47...A0bE9c619
0.04 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ArchetypeBatch

Compiler Version
v0.8.28+commit.7893614a

ZkSolc Version
v1.5.7

Optimization Enabled:
Yes with Mode 3

Other Settings:
paris EvmVersion
File 1 of 7 : ArchetypeBatch.sol
// SPDX-License-Identifier: MIT
// ArchetypeBatch v0.1.0
//
//        d8888                 888               888
//       d88888                 888               888
//      d88P888                 888               888
//     d88P 888 888d888 .d8888b 88888b.   .d88b.  888888 888  888 88888b.   .d88b.
//    d88P  888 888P"  d88P"    888 "88b d8P  Y8b 888    888  888 888 "88b d8P  Y8b
//   d88P   888 888    888      888  888 88888888 888    888  888 888  888 88888888
//  d8888888888 888    Y88b.    888  888 Y8b.     Y88b.  Y88b 888 888 d88P Y8b.
// d88P     888 888     "Y8888P 888  888  "Y8888   "Y888  "Y88888 88888P"   "Y8888
//                                                            888 888
//                                                       Y8b d88P 888
//    

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";

contract ArchetypeBatch is Ownable {

    // Execute multiple calls in a single transaction
    // targets: The addresses of the contracts
    // values: The value to send to the contracts
    // datas The data to send to the contracts
    function executeBatch(
        address[] calldata targets,
        uint256[] calldata values,
        bytes[] calldata datas
    ) external payable {
        require(
            targets.length == values.length && targets.length == datas.length,
            "ArchetypeBatch: The array lengths must be identical"
        );

        for (uint256 i = 0; i < targets.length; ++i) {
            (bool success, bytes memory returnData) = targets[i].call{value: values[i]}(datas[i]);

            if(!success) {
                // Decode the return data as a string and revert with it
                revert(string(returnData));
            }
        }
    }

    // Emergency function: In case any ETH get stuck in the contract unintentionally
    // Only owner can retrieve the asset balance to a recipient address
    function rescueETH(address recipient) onlyOwner external {
        payable(recipient).call{ value: address(this).balance }("");
    }

    // Emergency function: In case any ERC20 tokens get stuck in the contract unintentionally
    // Only owner can retrieve the asset balance to a recipient address
    function rescueERC20(address asset, address recipient) onlyOwner external { 
        asset.call(abi.encodeWithSelector(0xa9059cbb, recipient, IERC20(asset).balanceOf(address(this))));
    }

    // Emergency function: In case any ERC721 tokens get stuck in the contract unintentionally
    // Only owner can retrieve the asset balance to a recipient address
    function rescueERC721(address asset, uint256[] calldata ids, address recipient) onlyOwner external {
        for (uint256 i = 0; i < ids.length; i++) {
            IERC721(asset).transferFrom(address(this), recipient, ids[i]);
        }
    }

    // Emergency function: In case any ERC1155 tokens get stuck in the contract unintentionally
    // Only owner can retrieve the asset balance to a recipient address
    function rescueERC1155(address asset, uint256[] calldata ids, uint256[] calldata amounts, address recipient) onlyOwner external {
        for (uint256 i = 0; i < ids.length; i++) {
            IERC1155(asset).safeTransferFrom(address(this), recipient, ids[i], amounts[i], "");
        }
    }
}

File 2 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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 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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @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 {
        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 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

File 4 of 7 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 5 of 7 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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 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 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (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;
    }

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

File 7 of 7 : 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,
    "mode": "3"
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "abi",
        "metadata"
      ],
      "": [
        "ast"
      ]
    }
  },
  "detectMissingLibraries": false,
  "forceEVMLA": false,
  "enableEraVMExtensions": false,
  "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":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"datas","type":"bytes[]"}],"name":"executeBatch","outputs":[],"stateMutability":"payable","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":"asset","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"address","name":"recipient","type":"address"}],"name":"rescueERC1155","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"address","name":"recipient","type":"address"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"address","name":"recipient","type":"address"}],"name":"rescueERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

9c4d535b00000000000000000000000000000000000000000000000000000000000000000100011be716805404e4ab5c8017ac4f21276c1f5ffc20e5884e52e58e230c3400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x000400000000000200090000000000020000006003100270000000ee0030019d000000ee03300197000300000031035500020000000103550000008004000039000000400040043f0000000100200190000000820000c13d000000040030008c000002e10000413d000000000201043b000000e002200270000000f40020009c0000009b0000213d000000fa0020009c000000a90000213d000000fd0020009c000000eb0000613d000000fe0020009c000002e10000c13d000000640030008c000002e10000413d0000000002000416000000000002004b000002e10000c13d0000000402100370000000000202043b000900000002001d000000f00020009c000002e10000213d0000002402100370000000000202043b000001030020009c000002e10000213d0000002304200039000000000034004b000002e10000813d0000000404200039000000000441034f000000000404043b000600000004001d000001030040009c000002e10000213d000500240020003d000000060200002900000005022002100000000502200029000000000032004b000002e10000213d0000004401100370000000000101043b000000f00010009c000002e10000213d000000000200041a000000f0022001970000000003000411000000000032004b000002980000c13d000000060000006b000002b00000613d000400f00010019b0000000004000019000800000004001d000000050140021000000005011000290000000201100367000000000101043b000700000001001d00000106010000410000000000100443000000090100002900000004001004430000000001000414000000ee0010009c000000ee01008041000000c00110021000000107011001c7000080020200003903b303ae0000040f0000000100200190000002a10000613d000000000101043b000000000001004b0000000804000029000002e10000613d000000400500043d0000004401500039000000070200002900000000002104350000002401500039000000040200002900000000002104350000011201000041000000000015043500000004015000390000000002000410000000000021043500000000010004140000000902000029000000040020008c0000007b0000613d000000ee0050009c000000ee0200004100000000020540190000004002200210000000ee0010009c000000ee01008041000000c001100210000000000121019f00000113011001c70000000902000029000700000005001d03b303a90000040f000000070500002900000008040000290000006003100270000100ee0030019d00030000000103550000000100200190000003380000613d000001140050009c000003260000813d000000400050043f0000000104400039000000060040006c000000410000413d000002b00000013d0000000001000416000000000001004b000002e10000c13d000000000100041a000000ef021001970000000006000411000000000262019f000000000020041b0000000002000414000000f005100197000000ee0020009c000000ee02008041000000c001200210000000f1011001c70000800d020000390000000303000039000000f20400004103b303a90000040f0000000100200190000002e10000613d000000200100003900000100001004430000012000000443000000f301000041000003b40001042e000000f50020009c000000cb0000213d000000f80020009c000001130000613d000000f90020009c000002e10000c13d0000000001000416000000000001004b000002e10000c13d000000000100041a000000f001100197000000800010043f0000010b01000041000003b40001042e000000fb0020009c000001270000613d000000fc0020009c000002e10000c13d000000440030008c000002e10000413d0000000002000416000000000002004b000002e10000c13d0000000402100370000000000202043b000000f00020009c000002e10000213d0000002401100370000000000501043b000000f00050009c000002e10000213d000000000100041a000000f0011001970000000003000411000000000031004b000002980000c13d0000010c01000041000000800010043f0000000001000410000000840010043f0000000001000414000000040020008c000002b20000c13d0000000103000031000000200030008c00000020040000390000000004034019000002db0000013d000000f60020009c0000020b0000613d000000f70020009c000002e10000c13d000000240030008c000002e10000413d0000000002000416000000000002004b000002e10000c13d0000000401100370000000000601043b000000f00060009c000002e10000213d000000000100041a000000f0021001970000000005000411000000000052004b000002980000c13d000000000006004b000002a20000c13d000000ff01000041000000800010043f0000002001000039000000840010043f0000002601000039000000a40010043f0000010001000041000000c40010043f0000010101000041000000e40010043f0000010201000041000003b500010430000000240030008c000002e10000413d0000000002000416000000000002004b000002e10000c13d0000000401100370000000000301043b000000f00030009c000002e10000213d000000000100041a000000f0011001970000000002000411000000000021004b000002980000c13d000900000003001d00000117010000410000000000100443000000000100041000000004001004430000000001000414000000ee0010009c000000ee01008041000000c00110021000000107011001c70000800a0200003903b303ae0000040f0000000100200190000002a10000613d000000000301043b00000000010004140000000904000029000000040040008c000003050000613d000000ee0010009c000000ee01008041000000c001100210000000000003004b000002fd0000c13d0000000002040019000003000000013d0000000001000416000000000001004b000002e10000c13d000000000100041a000000f0021001970000000005000411000000000052004b000002980000c13d000000ef01100197000000000010041b0000000001000414000000ee0010009c000000ee01008041000000c001100210000000f1011001c70000800d020000390000000303000039000000f2040000410000000006000019000002ad0000013d000000640030008c000002e10000413d0000000402100370000000000402043b000001030040009c000002e10000213d0000002302400039000000000032004b000002e10000813d0000000402400039000000000221034f000000000202043b000001030020009c000002e10000213d000000240740003900000005042002100000000004740019000000000034004b000002e10000213d0000002404100370000000000404043b000001030040009c000002e10000213d0000002305400039000000000035004b000002e10000813d0000000405400039000000000551034f000000000805043b000001030080009c000002e10000213d000000240940003900000005048002100000000004940019000000000034004b000002e10000213d0000004404100370000000000404043b000001030040009c000002e10000213d0000002305400039000000000035004b000002e10000813d0000000405400039000000000551034f000000000505043b000001030050009c000002e10000213d000000240a40003900000005065002100000000006a60019000000000036004b000002e10000213d00080000000a001d000300000009001d000500000007001d000400000008001d000000000082004b0000032c0000c13d000000000052004b0000032c0000c13d000000040d00002900000000000d004b000000050c000029000000030e000029000000080b000029000002b00000613d000000000131034f0000000002430049000000430220008a000700000002001d000601110020019b000000200f00008a000900000000001d000000090200002900000005022002100000000003c200190000000205000367000000000335034f000000000403043b000000f00040009c000002e10000213d0000000003b20019000000000335034f000000000603043b0000011103600197000000060730014f000000060030006c00000000080000190000011108004041000000070060006c00000000030000190000011103008041000001110070009c000000000803c0190000000002e20019000000000225034f000000000302043b000000000008004b000002e10000c13d0000000006b60019000000000265034f000000000202043b000001030020009c000002e10000213d0000002006600039000000000720007900000111087001970000011109600197000000000a89013f000000000089004b00000000080000190000011108004041000000000076004b000000000700001900000111070020410000011100a0009c000000000807c019000000000008004b000002e10000c13d000000000765034f0000000008f20170000000400500043d0000000006850019000001aa0000613d000000000907034f000000000a050019000000009b09043c000000000aba043600000000006a004b000001a60000c13d0000001f09200190000001b70000613d000000000787034f0000000308900210000000000906043300000000098901cf000000000989022f000000000707043b0000010008800089000000000787022f00000000078701cf000000000797019f0000000000760435000000000625001900000000000604350000000006000414000000040040008c000001bf0000c13d00000001050000310000000102000039000001da0000013d000000ee0020009c000000ee020080410000006001200210000000ee0050009c000000ee050080410000004002500210000000000112019f000000ee0060009c000000ee06008041000000c002600210000000000112019f000000000003004b000001d00000613d000000f1011001c700008009020000390000000005000019000001d10000013d000000000204001903b303a90000040f00030000000103550000006003100270000100ee0030019d000000ee05300197000000050c000029000000040d000029000000030e000029000000200f00008a000000000005004b00000080030000390000006004000039000000080b000029000002040000613d0000001f035000390000000003f3016f0000003f033000390000000003f3016f000000400400043d0000000003340019000000000043004b00000000060000390000000106004039000001030030009c000003260000213d0000000100600190000003260000c13d000000400030043f00000000035404360000000007f501700000000006730019000001f70000613d000000000801034f0000000009030019000000008a08043c0000000009a90436000000000069004b000001f30000c13d0000001f05500190000002040000613d000000000771034f0000000305500210000000000806043300000000085801cf000000000858022f000000000707043b0000010005500089000000000757022f00000000055701cf000000000585019f00000000005604350000000100200190000003580000613d0000000902000029000900010020003d0000000900d0006b000001710000413d000002b00000013d000000840030008c000002e10000413d0000000002000416000000000002004b000002e10000c13d0000000402100370000000000202043b000900000002001d000000f00020009c000002e10000213d0000002402100370000000000202043b000001030020009c000002e10000213d0000002304200039000000000034004b000002e10000813d0000000404200039000000000441034f000000000404043b000500000004001d000001030040009c000002e10000213d000400240020003d000000050200002900000005022002100000000402200029000000000032004b000002e10000213d0000004402100370000000000202043b000001030020009c000002e10000213d0000002304200039000000000034004b000002e10000813d0000000404200039000000000441034f000000000404043b000300000004001d000001030040009c000002e10000213d000200240020003d000000030200002900000005022002100000000202200029000000000032004b000002e10000213d0000006401100370000000000101043b000000f00010009c000002e10000213d000000000200041a000000f0022001970000000003000411000000000032004b000002980000c13d000000050000006b000002b00000613d000100f00010019b0000000004000019000000050140021000000004031000290000000202000367000000000332034f000000000303043b000700000003001d000800000004001d000000030040006c000003450000813d0000000201100029000000000112034f000000000101043b000600000001001d00000106010000410000000000100443000000090100002900000004001004430000000001000414000000ee0010009c000000ee01008041000000c00110021000000107011001c7000080020200003903b303ae0000040f0000000100200190000002a10000613d000000000101043b000000000001004b0000000804000029000002e10000613d000000400500043d0000008401500039000000a002000039000000000021043500000064015000390000000602000029000000000021043500000044015000390000000702000029000000000021043500000024015000390000000102000029000000000021043500000108010000410000000000150435000000040150003900000000020004100000000000210435000000a401500039000000000001043500000000010004140000000902000029000000040020008c000002910000613d000000ee0050009c000000ee0200004100000000020540190000004002200210000000ee0010009c000000ee01008041000000c001100210000000000121019f00000109011001c70000000902000029000700000005001d03b303a90000040f000000070500002900000008040000290000006003100270000100ee0030019d000300000001035500000001002001900000034b0000613d000001030050009c000003260000213d000000400050043f0000000104400039000000050040006c000002480000413d000002b00000013d000000ff01000041000000800010043f0000002001000039000000840010043f000000a40010043f0000011501000041000000c40010043f0000011601000041000003b500010430000000000001042f000000ef01100197000000000161019f000000000010041b0000000001000414000000ee0010009c000000ee01008041000000c001100210000000f1011001c70000800d020000390000000303000039000000f20400004103b303a90000040f0000000100200190000002e10000613d0000000001000019000003b40001042e000800000005001d000000ee0010009c000000ee01008041000000c0011002100000010d011001c7000900000002001d03b303ae0000040f000000800a0000390000006003100270000000ee03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000080057001bf000002c80000613d000000000801034f000000008908043c000000000a9a043600000000005a004b000002c40000c13d000000000006004b000002d50000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000003080000613d000000090200002900000008050000290000001f01400039000000600610018f00000080016001bf000000400010043f000000200030008c000002e30000813d0000000001000019000003b500010430000000f004500197000000c403600039000000800500043d0000000000530435000000a0036000390000010e050000410000000000530435000000a40560003900000000004504350000004404000039000000000041043500000100046001bf000000400040043f00000000010104330000000004000414000000040020008c000003050000613d0000004003300210000000ee0010009c000000ee010080410000006001100210000000000131019f000000ee0040009c000000ee04008041000000c005400210000002ff0000013d0000800902000039000000f105000041000000000151019f000000000500001903b303a90000040f0000006002100270000100ee0020019d000300000001035503b303790000040f0000000001000019000003b40001042e0000001f0530018f0000010a06300198000000400200043d0000000004620019000003130000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000030f0000c13d000000000005004b000003200000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f00000000001404350000006001300210000000ee0020009c000000ee020080410000004002200210000000000112019f000003b5000104300000010401000041000000000010043f0000004101000039000000040010043f0000010501000041000003b500010430000000ff01000041000000800010043f0000002001000039000000840010043f0000003301000039000000a40010043f0000010f01000041000000c40010043f0000011001000041000000e40010043f0000010201000041000003b500010430000000ee033001970000001f0530018f0000010a06300198000000400200043d0000000004620019000003130000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000003400000c13d000003130000013d0000010401000041000000000010043f0000003201000039000000040010043f0000010501000041000003b500010430000000ee033001970000001f0530018f0000010a06300198000000400200043d0000000004620019000003130000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000003530000c13d000003130000013d000000400100043d000000ff0200004100000000002104350000000402100039000000200500003900000000005204350000000002040433000000240410003900000000002404350000004404100039000000000002004b0000036c0000613d000000000500001900000000064500190000000007530019000000000707043300000000007604350000002005500039000000000025004b000003650000413d0000001f032000390000011803300197000000000224001900000000000204350000004402300039000000ee0020009c000000ee020080410000006002200210000000ee0010009c000000ee010080410000004001100210000000000112019f000003b5000104300000000101000032000003a10000613d0000001f0310003900000118033001970000003f033000390000011804300197000000400300043d0000000004430019000000000034004b00000000050000390000000105004039000001030040009c000003a20000213d0000000100500190000003a20000c13d000000400040043f000000000513043600000118021001980000001f0310018f00000000012500190000000304000367000003940000613d000000000604034f000000006706043c0000000005750436000000000015004b000003900000c13d000000000003004b000003a10000613d000000000224034f0000000303300210000000000401043300000000043401cf000000000434022f000000000202043b0000010003300089000000000232022f00000000023201cf000000000242019f0000000000210435000000000001042d0000010401000041000000000010043f0000004101000039000000040010043f0000010501000041000003b500010430000000000001042f000003ac002104210000000102000039000000000001042d0000000002000019000000000001042d000003b1002104230000000102000039000000000001042d0000000002000019000000000001042d000003b300000432000003b40001042e000003b5000104300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffff02000000000000000000000000000000000000000000000000000000000000008be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0000000020000000000000000000000000000004000000100000000000000000000000000000000000000000000000000000000000000000000000000715018a500000000000000000000000000000000000000000000000000000000b7ce33a100000000000000000000000000000000000000000000000000000000b7ce33a200000000000000000000000000000000000000000000000000000000f2fde38b00000000000000000000000000000000000000000000000000000000715018a6000000000000000000000000000000000000000000000000000000008da5cb5b0000000000000000000000000000000000000000000000000000000047e1da290000000000000000000000000000000000000000000000000000000047e1da2a000000000000000000000000000000000000000000000000000000005d799f870000000000000000000000000000000000000000000000000000000004824e700000000000000000000000000000000000000000000000000000000026e2dca208c379a0000000000000000000000000000000000000000000000000000000004f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084000000800000000000000000000000000000000000000000000000000000000000000000ffffffffffffffff4e487b710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000240000000000000000000000001806aa1896bbf26568e884a7374b41e002500962caba6a15023a8d90e8508b830200000200000000000000000000000000000024000000000000000000000000f242432a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffe0000000000000000000000000000000000000002000000080000000000000000070a08231000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000800000000000000000a9059cbb0000000000000000000000000000000000000000000000000000000041726368657479706542617463683a20546865206172726179206c656e67746873206d757374206265206964656e746963616c00000000000000000000000000800000000000000000000000000000000000000000000000000000000000000023b872dd00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000000000000100000000000000004f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657200000000000000000000000000000000000000640000008000000000000000009cc7f708afc65944829bd487b90b72536b1951864fbfc14e125fc972a6507f39ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe000000000000000000000000000000000000000000000000000000000000000005fabfce1740e06fd5c3002799506b177e1670b444ea69e23c2adb2de53df1d37

Block Transaction 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
[ Download: CSV Export  ]
[ 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.