Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 10 from a total of 10 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Multicall | 10203052 | 4 days ago | IN | 0.00007088 ETH | 0.00000733 | ||||
Multicall | 10118788 | 6 days ago | IN | 0.01159075 ETH | 0.00008967 | ||||
Multicall | 5349112 | 117 days ago | IN | 0.00006014 ETH | 0.00003618 | ||||
Upgrade | 3122081 | 195 days ago | IN | 0 ETH | 0.00004334 | ||||
Multicall | 2522993 | 223 days ago | IN | 0.00275098 ETH | 0.00098527 | ||||
Multicall | 2511538 | 223 days ago | IN | 0 ETH | 0.00094165 | ||||
Multicall | 2481930 | 224 days ago | IN | 0.00652456 ETH | 0.00102386 | ||||
Multicall | 2467754 | 225 days ago | IN | 0 ETH | 0.00093356 | ||||
Multicall | 2140922 | 240 days ago | IN | 0.01223063 ETH | 0.0047448 | ||||
Multicall | 2123670 | 241 days ago | IN | 0.0082274 ETH | 0.0044646 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
10203052 | 4 days ago | 0.00007088 ETH | ||||
10203052 | 4 days ago | 0 ETH | ||||
10203052 | 4 days ago | 0 ETH | ||||
10203052 | 4 days ago | 0 ETH | ||||
10203052 | 4 days ago | 0 ETH | ||||
10203052 | 4 days ago | 0 ETH | ||||
10203052 | 4 days ago | 0.00007088 ETH | ||||
10203052 | 4 days ago | 0.00007088 ETH | ||||
10203052 | 4 days ago | 0.00007088 ETH | ||||
10118788 | 6 days ago | 0.00006628 ETH | ||||
10118788 | 6 days ago | 0 ETH | ||||
10118788 | 6 days ago | 0 ETH | ||||
10118788 | 6 days ago | 0 ETH | ||||
10118788 | 6 days ago | 0 ETH | ||||
10118788 | 6 days ago | 0 ETH | ||||
10118788 | 6 days ago | 0.01159075 ETH | ||||
10118788 | 6 days ago | 0.01159075 ETH | ||||
10118788 | 6 days ago | 0.00008082 ETH | ||||
10118788 | 6 days ago | 0 ETH | ||||
10118788 | 6 days ago | 0 ETH | ||||
10118788 | 6 days ago | 0 ETH | ||||
10118788 | 6 days ago | 0 ETH | ||||
10118788 | 6 days ago | 0 ETH | ||||
10118788 | 6 days ago | 0.01159075 ETH | ||||
10118788 | 6 days ago | 0.01159075 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": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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
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.