Source Code
Overview
ETH Balance
0.092988072949022816 ETH
More Info
ContractCreator
Multichain Info
N/A
Latest 25 from a total of 429 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Multicall | 7160835 | 7 days ago | IN | 0 ETH | 0.00307871 | ||||
Multicall | 7160758 | 7 days ago | IN | 0.00004781 ETH | 0.00313671 | ||||
Multicall | 7160738 | 7 days ago | IN | 0.00004779 ETH | 0.00252199 | ||||
Multicall | 7156718 | 8 days ago | IN | 0.00004619 ETH | 0.01708762 | ||||
Multicall | 7123824 | 13 days ago | IN | 0.00045119 ETH | 0.10304305 | ||||
Multicall | 7113758 | 14 days ago | IN | 0 ETH | 0.05139804 | ||||
Multicall | 7109242 | 15 days ago | IN | 0.00005525 ETH | 0.00568634 | ||||
Multicall | 7102675 | 16 days ago | IN | 0 ETH | 0.00294359 | ||||
Multicall | 7102639 | 16 days ago | IN | 0 ETH | 0.00322575 | ||||
Multicall | 7082730 | 19 days ago | IN | 0.00010246 ETH | 0.0056768 | ||||
Multicall | 7064338 | 22 days ago | IN | 0.00009371 ETH | 0.00009186 | ||||
Multicall | 7064335 | 22 days ago | IN | 0 ETH | 0.00142222 | ||||
Multicall | 7028135 | 27 days ago | IN | 0.00322367 ETH | 0.00758363 | ||||
Multicall | 7027973 | 27 days ago | IN | 0 ETH | 0.00552824 | ||||
Multicall | 6978548 | 35 days ago | IN | 0.00011513 ETH | 0.00390691 | ||||
Multicall | 6943802 | 40 days ago | IN | 0 ETH | 0.00138652 | ||||
Multicall | 6943766 | 40 days ago | IN | 0.0000625 ETH | 0.0011365 | ||||
Multicall | 6943761 | 40 days ago | IN | 0 ETH | 0.00175576 | ||||
Multicall | 6936885 | 41 days ago | IN | 0.00006677 ETH | 0.00066275 | ||||
Multicall | 6936677 | 41 days ago | IN | 0 ETH | 0.00345721 | ||||
Multicall | 6936669 | 41 days ago | IN | 0 ETH | 0.00480773 | ||||
Multicall | 6930371 | 42 days ago | IN | 0.00046849 ETH | 0.00040233 | ||||
Multicall | 6930346 | 42 days ago | IN | 0.00007509 ETH | 0.00043507 | ||||
Multicall | 6930103 | 42 days ago | IN | 0.00016095 ETH | 0.00036334 | ||||
Multicall | 6927302 | 42 days ago | IN | 0 ETH | 0.00105398 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
7160758 | 7 days ago | 0.00004781 ETH | ||||
7160738 | 7 days ago | 0.00004779 ETH | ||||
7156718 | 8 days ago | 0.00004619 ETH | ||||
7123824 | 13 days ago | 0.00045119 ETH | ||||
7109242 | 15 days ago | 0.00005525 ETH | ||||
7082730 | 19 days ago | 0.00005794 ETH | ||||
7082730 | 19 days ago | 0.00004451 ETH | ||||
7064338 | 22 days ago | 0.00004685 ETH | ||||
7064338 | 22 days ago | 0.00004685 ETH | ||||
7028135 | 27 days ago | 0.0028029 ETH | ||||
7028135 | 27 days ago | 0.00042076 ETH | ||||
6978548 | 35 days ago | 0.00005754 ETH | ||||
6978548 | 35 days ago | 0.00005759 ETH | ||||
6943766 | 40 days ago | 0.0000625 ETH | ||||
6936885 | 41 days ago | 0.00006677 ETH | ||||
6930371 | 42 days ago | 0.00046849 ETH | ||||
6930346 | 42 days ago | 0.00007509 ETH | ||||
6930103 | 42 days ago | 0.00016095 ETH | ||||
6925328 | 43 days ago | 0.00006774 ETH | ||||
6925328 | 43 days ago | 0.00006775 ETH | ||||
6925290 | 43 days ago | 0.00006731 ETH | ||||
6925290 | 43 days ago | 0.00006759 ETH | ||||
6923923 | 43 days ago | 0.0000655 ETH | ||||
6923923 | 43 days ago | 0.00006623 ETH | ||||
6918772 | 44 days ago | 0.00007 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xB5FB4BE0...980dE9e3C The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
InterchainProxy
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 1000 runs
Other Settings:
london EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import { Proxy } from '@axelar-network/axelar-gmp-sdk-solidity/contracts/upgradable/Proxy.sol'; /** * @title InterchainProxy * @notice This contract is a proxy for interchainTokenService and interchainTokenFactory. * @dev This contract implements Proxy. */ contract InterchainProxy is Proxy { constructor(address implementationAddress, address owner, bytes memory setupParams) Proxy(implementationAddress, owner, setupParams) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // General interface for upgradable contracts interface IContractIdentifier { /** * @notice Returns the contract ID. It can be used as a check during upgrades. * @dev Meant to be overridden in derived contracts. * @return bytes32 The contract ID */ function contractId() external pure returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // General interface for upgradable contracts interface IProxy { error InvalidOwner(); error InvalidImplementation(); error SetupFailed(); error NotOwner(); error AlreadyInitialized(); function implementation() external view returns (address); function setup(bytes calldata setupParams) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import { IProxy } from '../interfaces/IProxy.sol'; /** * @title BaseProxy Contract * @dev This abstract contract implements a basic proxy that stores an implementation address. Fallback function * calls are delegated to the implementation. This contract is meant to be inherited by other proxy contracts. */ abstract contract BaseProxy is IProxy { // bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1) bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; // keccak256('owner') bytes32 internal constant _OWNER_SLOT = 0x02016836a56b71f0d02689e69e326f4f4c1b9057164ef592671cf0d37c8040c0; /** * @dev Returns the current implementation address. * @return implementation_ The address of the current implementation contract */ function implementation() public view virtual returns (address implementation_) { assembly { implementation_ := sload(_IMPLEMENTATION_SLOT) } } /** * @dev Shadows the setup function of the implementation contract so it can't be called directly via the proxy. * @param params The setup parameters for the implementation contract. */ function setup(bytes calldata params) external {} /** * @dev Returns the contract ID. It can be used as a check during upgrades. Meant to be implemented in derived contracts. * @return bytes32 The contract ID */ function contractId() internal pure virtual returns (bytes32); /** * @dev Fallback function. Delegates the call to the current implementation contract. */ fallback() external payable virtual { address implementation_ = implementation(); assembly { calldatacopy(0, 0, calldatasize()) let result := delegatecall(gas(), implementation_, 0, calldatasize(), 0, 0) returndatacopy(0, 0, returndatasize()) switch result case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } /** * @dev Payable fallback function. Can be overridden in derived contracts. */ receive() external payable virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import { IProxy } from '../interfaces/IProxy.sol'; import { IContractIdentifier } from '../interfaces/IContractIdentifier.sol'; import { BaseProxy } from './BaseProxy.sol'; /** * @title Proxy Contract * @notice A proxy contract that delegates calls to a designated implementation contract. Inherits from BaseProxy. * @dev The constructor takes in the address of the implementation contract, the owner address, and any optional setup * parameters for the implementation contract. */ contract Proxy is BaseProxy { /** * @notice Constructs the proxy contract with the implementation address, owner address, and optional setup parameters. * @param implementationAddress The address of the implementation contract * @param owner The owner address * @param setupParams Optional parameters to setup the implementation contract * @dev The constructor verifies that the owner address is not the zero address and that the contract ID of the implementation is valid. * It then stores the implementation address and owner address in their designated storage slots and calls the setup function on the * implementation (if setup params exist). */ constructor( address implementationAddress, address owner, bytes memory setupParams ) { if (owner == address(0)) revert InvalidOwner(); bytes32 id = contractId(); // Skipping the check if contractId() is not set by an inheriting proxy contract if (id != bytes32(0) && IContractIdentifier(implementationAddress).contractId() != id) revert InvalidImplementation(); assembly { sstore(_IMPLEMENTATION_SLOT, implementationAddress) sstore(_OWNER_SLOT, owner) } if (setupParams.length != 0) { (bool success, ) = implementationAddress.delegatecall( abi.encodeWithSelector(BaseProxy.setup.selector, setupParams) ); if (!success) revert SetupFailed(); } } function contractId() internal pure virtual override returns (bytes32) { return bytes32(0); } }
{ "evmVersion": "london", "optimizer": { "enabled": true, "runs": 1000, "details": { "peephole": true, "inliner": true, "jumpdestRemover": true, "orderLiterals": true, "deduplicate": true, "cse": true, "constantOptimizer": true, "yul": true, "yulDetails": { "stackAllocation": true } } }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"inputs":[{"internalType":"address","name":"implementationAddress","type":"address"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes","name":"setupParams","type":"bytes"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyInitialized","type":"error"},{"inputs":[],"name":"InvalidImplementation","type":"error"},{"inputs":[],"name":"InvalidOwner","type":"error"},{"inputs":[],"name":"NotOwner","type":"error"},{"inputs":[],"name":"SetupFailed","type":"error"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"implementation_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"params","type":"bytes"}],"name":"setup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x60806040526004361061002d5760003560e01c80635c60da1b146100865780639ded06df146100de57610034565b3661003457005b600061005e7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b90503660008037600080366000845af43d6000803e80801561007f573d6000f35b3d6000fd5b005b34801561009257600080fd5b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5460405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100ea57600080fd5b506100846100f93660046100fd565b5050565b6000806020838503121561011057600080fd5b823567ffffffffffffffff8082111561012857600080fd5b818501915085601f83011261013c57600080fd5b81358181111561014b57600080fd5b86602082850101111561015d57600080fd5b6020929092019691955090935050505056fea264697066735822122083cc979c34f7a71d3cd53a66104a3b2712b956b8820d9a7b6ff618995b3afcba64736f6c63430008150033
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.