Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 6 from a total of 6 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Interchain S... | 7079588 | 32 hrs ago | IN | 0 ETH | 0.00000418 | ||||
Set Interchain S... | 5544960 | 20 days ago | IN | 0 ETH | 0.00000419 | ||||
Set Interchain S... | 4116145 | 37 days ago | IN | 0 ETH | 0.00000433 | ||||
Set Interchain S... | 2122761 | 60 days ago | IN | 0 ETH | 0.00000433 | ||||
Set Interchain S... | 1035053 | 73 days ago | IN | 0 ETH | 0.00000434 | ||||
Set Interchain S... | 201752 | 87 days ago | IN | 0 ETH | 0.00000479 |
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
201751 | 87 days ago | Contract Creation | 0 ETH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x4D0F83e4...8617B0898 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
TestRecipient
Compiler Version
v0.8.19+commit.7dd6d404
ZkSolc Version
v1.5.3
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity >=0.8.0; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IMessageRecipient} from "../interfaces/IMessageRecipient.sol"; import {IInterchainSecurityModule, ISpecifiesInterchainSecurityModule} from "../interfaces/IInterchainSecurityModule.sol"; contract TestRecipient is Ownable, IMessageRecipient, ISpecifiesInterchainSecurityModule { IInterchainSecurityModule public interchainSecurityModule; bytes32 public lastSender; bytes public lastData; address public lastCaller; string public lastCallMessage; event ReceivedMessage( uint32 indexed origin, bytes32 indexed sender, uint256 indexed value, string message ); event ReceivedCall(address indexed caller, uint256 amount, string message); function handle( uint32 _origin, bytes32 _sender, bytes calldata _data ) external payable virtual override { emit ReceivedMessage(_origin, _sender, msg.value, string(_data)); lastSender = _sender; lastData = _data; } function fooBar(uint256 amount, string calldata message) external { emit ReceivedCall(msg.sender, amount, message); lastCaller = msg.sender; lastCallMessage = message; } function setInterchainSecurityModule(address _ism) external onlyOwner { interchainSecurityModule = IInterchainSecurityModule(_ism); } receive() external payable {} }
// 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); } }
// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity >=0.6.11; interface IMessageRecipient { function handle( uint32 _origin, bytes32 _sender, bytes calldata _message ) external payable; }
// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity >=0.6.11; interface IInterchainSecurityModule { enum Types { UNUSED, ROUTING, AGGREGATION, LEGACY_MULTISIG, MERKLE_ROOT_MULTISIG, MESSAGE_ID_MULTISIG, NULL, // used with relayer carrying no metadata CCIP_READ, ARB_L2_TO_L1, WEIGHTED_MERKLE_ROOT_MULTISIG, WEIGHTED_MESSAGE_ID_MULTISIG, OP_L2_TO_L1 } /** * @notice Returns an enum that represents the type of security model * encoded by this ISM. * @dev Relayers infer how to fetch and format metadata. */ function moduleType() external view returns (uint8); /** * @notice Defines a security model responsible for verifying interchain * messages based on the provided metadata. * @param _metadata Off-chain metadata provided by a relayer, specific to * the security model encoded by the module (e.g. validator signatures) * @param _message Hyperlane encoded interchain message * @return True if the message was verified */ function verify( bytes calldata _metadata, bytes calldata _message ) external returns (bool); } interface ISpecifiesInterchainSecurityModule { function interchainSecurityModule() external view returns (IInterchainSecurityModule); }
// 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; } }
{ "optimizer": { "enabled": true, "runs": 999999 }, "outputSelection": { "*": { "*": [ "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"ReceivedCall","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint32","name":"origin","type":"uint32"},{"indexed":true,"internalType":"bytes32","name":"sender","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"ReceivedMessage","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"string","name":"message","type":"string"}],"name":"fooBar","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_origin","type":"uint32"},{"internalType":"bytes32","name":"_sender","type":"bytes32"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"handle","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"interchainSecurityModule","outputs":[{"internalType":"contract IInterchainSecurityModule","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastCallMessage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastCaller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastData","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastSender","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"_ism","type":"address"}],"name":"setInterchainSecurityModule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x0001000000000002000600000000000200000000000103550000008003000039000000400030043f0000000100200190000000370000c13d00000000020100190000006002200270000000a302200197000000040020008c000000500000413d000000000301043b000000e003300270000000a90030009c000000540000a13d000000aa0030009c000000d20000213d000000ae0030009c000001a60000613d000000af0030009c0000010a0000613d000000b00030009c000002090000c13d0000000001000416000000000001004b000002090000c13d0000000503000039000000000203041a000000010420019000000001012002700000007f0110618f0000001f0010008c00000000050000390000000105002039000000000552013f0000000100500190000001a00000c13d000000800010043f000000000004004b000001d70000613d000000000030043f000000000001004b000001d50000613d000000c00200004100000000040000190000000003040019000000000402041a000000a005300039000000000045043500000001022000390000002004300039000000000014004b0000002e0000413d000001e70000013d0000000001000416000000000001004b000002090000c13d000000000100041a000000a4021001970000000006000411000000000262019f000000000020041b0000000002000414000000a505100197000000a30020009c000000a302008041000000c001200210000000a6011001c70000800d020000390000000303000039000000a704000041028902840000040f0000000100200190000002090000613d000000200100003900000100001004430000012000000443000000a8010000410000028a0001042e000000000002004b000002090000c13d00000000010000190000028a0001042e000000b10030009c000000f40000a13d000000b20030009c0000010f0000613d000000b30030009c000001140000613d000000b40030009c000002090000c13d000000640020008c000002090000413d0000000403100370000000000303043b000000a30030009c000002090000213d0000002404100370000000000604043b0000004404100370000000000404043b000000bb0040009c000002090000213d0000002305400039000000000025004b000002090000813d0000000405400039000000000751034f000000000907043b000000bb0090009c000002090000213d00000024074000390000000004790019000000000024004b000002090000213d000500000007001d0000002002000039000000800020043f000000a00090043f000000200200008a000000000a2901700000001f0490018f000100200050003d000000010b100360000000c001a00039000000850000613d000000c00500003900000000070b034f000000007807043c0000000005850436000000000015004b000000810000c13d000000a3053001970000000007000416000000000004004b000000940000613d0000000003ab034f0000000304400210000000000801043300000000084801cf000000000848022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000383019f000000000031043500030000000a001d000000c00190003900000000000104350002001f0090003d000000020120017f000000c40010009c000000c40100804100000060011002100000000002000414000000a30020009c000000a302008041000000c002200210000000000121019f000000c50110009a0000800d020000390000000403000039000000c604000041000600000009001d000400000006001d028902840000040f0000000403000029000000060500002900000001002001900000000507000029000002090000613d0000000201000039000000000031041b0000000301000039000000000201041a000000010020019000000001032002700000007f0330618f0000001f0030008c00000000040000390000000104002039000000000242013f0000000100200190000001a00000c13d000000200030008c000000ca0000413d00000002020000290000000502200270000000c70220009a000000200050008c000000c8020040410000001f033000390000000503300270000000c70330009a000000000032004b000000ca0000813d000000000002041b0000000102200039000000000032004b000000c60000413d0000001f0050008c000002170000a13d0000000308000029000000c802000041000000000008004b0000022e0000c13d0000000003000019000002380000013d000000ab0030009c000001bd0000613d000000ac0030009c0000011c0000613d000000ad0030009c000002090000c13d000000240020008c000002090000413d0000000002000416000000000002004b000002090000c13d0000000401100370000000000101043b000000a50010009c000002090000213d000000000200041a000000a5032001970000000005000411000000000053004b000001c60000c13d000000a506100198000001fb0000c13d000000b701000041000000800010043f0000002001000039000000840010043f0000002601000039000000a40010043f000000b801000041000000c40010043f000000b901000041000000e40010043f000000ba010000410000028b00010430000000b50030009c000001930000613d000000b60030009c000002090000c13d000000240020008c000002090000413d0000000002000416000000000002004b000002090000c13d0000000401100370000000000101043b000000a50010009c000002090000213d000600000001001d0289026e0000040f0000000101000039000000000201041a000000a40220019700000006022001af000000000021041b00000000010000190000028a0001042e0000000001000416000000000001004b000002090000c13d000000000100041a000001c20000013d0000000001000416000000000001004b000002090000c13d0000000401000039000001c10000013d0000000001000416000000000001004b000002090000c13d0000000201000039000000000101041a000000800010043f000000c1010000410000028a0001042e000000440020008c000002090000413d0000000003000416000000000003004b000002090000c13d0000002403100370000000000303043b000000bb0030009c000002090000213d0000002304300039000000000024004b000002090000813d0000000404300039000000000541034f000000000805043b000000bb0080009c000002090000213d00000024053000390000000003580019000000000023004b000002090000213d000500000005001d0000000402100370000000000202043b000000800020043f0000004002000039000000a00020043f000000c00080043f000000200200008a00000000092801700000001f0380018f000200200040003d0000000204100360000000e001900039000001450000613d000000e005000039000000000604034f000000006706043c0000000005750436000000000015004b000001410000c13d0000000005000411000000000003004b000001530000613d000000000494034f0000000303300210000000000601043300000000063601cf000000000636022f000000000404043b0000010003300089000000000434022f00000000033401cf000000000363019f0000000000310435000400000009001d000000e00180003900000000000104350003001f0080003d000000030120017f000000bc0010009c000000bc0100804100000060011002100000000002000414000000a30020009c000000a302008041000000c002200210000000000121019f000000bd0110009a0000800d020000390000000203000039000000be04000041000600000008001d028902840000040f000000060600002900000001002001900000000507000029000002090000613d0000000401000039000000000201041a000000a4022001970000000003000411000000000232019f000000000021041b0000000501000039000000000201041a000000010020019000000001032002700000007f0330618f0000001f0030008c00000000040000390000000104002039000000000242013f0000000100200190000001a00000c13d000000200030008c0000018b0000413d00000003020000290000000502200270000000bf0220009a000000200060008c000000c0020040410000001f033000390000000503300270000000bf0330009a000000000032004b0000018b0000813d000000000002041b0000000102200039000000000032004b000001870000413d0000001f0060008c00000004080000290000020b0000a13d000000c002000041000000000008004b000002230000c13d0000000003000019000002390000013d0000000001000416000000000001004b000002090000c13d0000000303000039000000000203041a000000010420019000000001012002700000007f0110618f0000001f0010008c00000000050000390000000105002039000000000054004b000001cf0000613d000000c901000041000000000010043f0000002201000039000000040010043f000000ca010000410000028b000104300000000001000416000000000001004b000002090000c13d000000000100041a000000a5021001970000000005000411000000000052004b000001c60000c13d000000a401100197000000000010041b0000000001000414000000a30010009c000000a301008041000000c001100210000000a6011001c70000800d020000390000000303000039000000a7040000410000000006000019028902840000040f0000000100200190000000520000c13d000002090000013d0000000001000416000000000001004b000002090000c13d0000000101000039000000000101041a000000a501100197000000800010043f000000c1010000410000028a0001042e000000b701000041000000800010043f0000002001000039000000840010043f000000a40010043f000000c201000041000000c40010043f000000c3010000410000028b00010430000000800010043f000000000004004b000001d70000613d000000000030043f000000000001004b000001dd0000c13d000000a001000039000001e80000013d000000cb02200197000000a00020043f000000000001004b000000c001000039000000a001006039000001e80000013d000000c80200004100000000040000190000000003040019000000000402041a000000a005300039000000000045043500000001022000390000002004300039000000000014004b000001df0000413d000000c001300039000000800210008a00000080010000390289024a0000040f0000002001000039000000400200043d000600000002001d000000000212043600000080010000390289025c0000040f00000006020000290000000001210049000000a30010009c000000a3010080410000006001100210000000a30020009c000000a3020080410000004002200210000000000121019f0000028a0001042e000000a401200197000000000161019f000000000010041b0000000001000414000000a30010009c000000a301008041000000c001100210000000a6011001c70000800d020000390000000303000039000000a704000041028902840000040f0000000100200190000000520000c13d00000000010000190000028b00010430000000000006004b0000000002000019000002110000613d00000002020000290000000002200367000000000202043b0000000303600210000000cc0330027f000000cc03300167000000000332016f0000000102600210000002460000013d000000000005004b00000000020000190000021d0000613d00000001020000290000000002200367000000000202043b0000000303500210000000cc0330027f000000cc03300167000000000332016f0000000102500210000002460000013d000000000400036700000000030000190000000005730019000000000554034f000000000505043b000000000052041b00000001022000390000002003300039000000000083004b000002250000413d000002390000013d000000000400036700000000030000190000000005730019000000000554034f000000000505043b000000000052041b00000001022000390000002003300039000000000083004b000002300000413d0000000606000029000000000068004b000002440000813d0000000304600210000000f80440018f000000cc0440027f000000cc0440016700000000037300190000000003300367000000000303043b000000000343016f000000000032041b00000001020000390000000103600210000000000223019f000000000021041b00000000010000190000028a0001042e0000001f02200039000000cd022001970000000001120019000000000021004b00000000020000390000000102004039000000bb0010009c000002560000213d0000000100200190000002560000c13d000000400010043f000000000001042d000000c901000041000000000010043f0000004101000039000000040010043f000000ca010000410000028b0001043000000000430104340000000001320436000000000003004b000002680000613d000000000200001900000000052100190000000006240019000000000606043300000000006504350000002002200039000000000032004b000002610000413d000000000231001900000000000204350000001f02300039000000cd022001970000000001210019000000000001042d000000000100041a000000a5011001970000000002000411000000000021004b000002740000c13d000000000001042d000000400100043d0000004402100039000000c2030000410000000000320435000000b702000041000000000021043500000024021000390000002003000039000000000032043500000004021000390000000000320435000000a30010009c000000a3010080410000004001100210000000ce011001c70000028b0001043000000287002104210000000102000039000000000001042d0000000002000019000000000001042d00000289000004320000028a0001042e0000028b0001043000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffff02000000000000000000000000000000000000000000000000000000000000008be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0000000020000000000000000000000000000004000000100000000000000000000000000000000000000000000000000000000000000000000000000715018a500000000000000000000000000000000000000000000000000000000de523cf200000000000000000000000000000000000000000000000000000000de523cf300000000000000000000000000000000000000000000000000000000f07c1f4700000000000000000000000000000000000000000000000000000000f2fde38b00000000000000000000000000000000000000000000000000000000715018a6000000000000000000000000000000000000000000000000000000008da5cb5b00000000000000000000000000000000000000000000000000000000a4982fde0000000000000000000000000000000000000000000000000000000021135229000000000000000000000000000000000000000000000000000000002113522a00000000000000000000000000000000000000000000000000000000256fec880000000000000000000000000000000000000000000000000000000056d5d47500000000000000000000000000000000000000000000000000000000006e75ec000000000000000000000000000000000000000000000000000000000e72cc0608c379a0000000000000000000000000000000000000000000000000000000004f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084000000800000000000000000000000000000000000000000000000000000000000000000ffffffffffffffff00000000000000000000000000000000000000000000000000000000ffffff9ffdffffffffffffffffffffffffffffffffffff9fffffff80000000000000000097d8367a1f39eb9e97f262fafbb05925c0bcfe120aaad7b9737cae34f749c206fc949c7b4a13586e39d89eead2f38644f9fb3efb5a0490b14f8fc0ceab44c250036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db000000000000000000000000000000000000000200000008000000000000000004f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000000000000000006400000080000000000000000000000000000000000000000000000000000000000000000000000000ffffffbffdffffffffffffffffffffffffffffffffffffbfffffff800000000000000000ecdc36fa3681f5d9c559dcbc399417db6f0ac0d81a78529685a1150265971d553da8a5f161a6c3ff06a60736d0ed24d7963cc6a5c4fafd2fa1dae9bb908e07a5c2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b4e487b71000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000000000000000000000000000008c35e0f41586bdb681687c212ffaef6d9cf36c4100b7f5d0221ef6da5c984623
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
[ 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.