OP Sepolia Testnet

Contract

0xd57365EE4E850e881229e2F8Aa405822f289e78d

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Exec Transaction176416702024-09-23 10:04:4041 days ago1727085880IN
0xd57365EE...2f289e78d
0 ETH0.0000030703050.00101026
Exec Transaction173441562024-09-16 12:47:3248 days ago1726490852IN
0xd57365EE...2f289e78d
0 ETH0.0000530947980.00101025
Exec Transaction173429732024-09-16 12:08:0648 days ago1726488486IN
0xd57365EE...2f289e78d
0 ETH0.0001336649380.00000032
Exec Transaction173397632024-09-16 10:21:0648 days ago1726482066IN
0xd57365EE...2f289e78d
0 ETH0.0000927803510.00100025
Exec Transaction173379262024-09-16 9:19:5248 days ago1726478392IN
0xd57365EE...2f289e78d
0 ETH0.0001118200650.00101025
Exec Transaction172184922024-09-13 14:58:4451 days ago1726239524IN
0xd57365EE...2f289e78d
0 ETH0.0000006908790.00101027
Exec Transaction172173442024-09-13 14:20:2851 days ago1726237228IN
0xd57365EE...2f289e78d
0 ETH0.000176441560.09999999
Exec Transaction171702302024-09-12 12:10:0052 days ago1726143000IN
0xd57365EE...2f289e78d
0 ETH0.0018213023860.00101036
Exec Transaction167426722024-09-02 14:38:0462 days ago1725287884IN
0xd57365EE...2f289e78d
0 ETH0.0001092779040.1100003
Exec Transaction141479482024-07-04 13:07:16122 days ago1720098436IN
0xd57365EE...2f289e78d
0 ETH0.00002202530.14003333
Setup141402732024-07-04 8:51:26122 days ago1720083086IN
0xd57365EE...2f289e78d
0 ETH0.0000330597670.19181798
0x60806040141402292024-07-04 8:49:58122 days ago1720082998IN
 Create: SafeProxy
0 ETH0.0000242664740.18617858

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SafeProxy

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : SafeProxy.sol
// SPDX-License-Identifier: LGPL-3.0-only
/* solhint-disable one-contract-per-file */
pragma solidity >=0.7.0 <0.9.0;

/**
 * @title IProxy - Helper interface to access the singleton address of the Proxy on-chain.
 * @author Richard Meissner - @rmeissner
 */
interface IProxy {
    function masterCopy() external view returns (address);
}

/**
 * @title SafeProxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.
 * @author Stefan George - <[email protected]>
 * @author Richard Meissner - <[email protected]>
 */
contract SafeProxy {
    // Singleton always needs to be first declared variable, to ensure that it is at the same location in the contracts to which calls are delegated.
    // To reduce deployment costs this variable is internal and needs to be retrieved via `getStorageAt`
    address internal singleton;

    /**
     * @notice Constructor function sets address of singleton contract.
     * @param _singleton Singleton address.
     */
    constructor(address _singleton) {
        require(_singleton != address(0), "Invalid singleton address provided");
        singleton = _singleton;
}

    /// @dev Fallback function forwards all transactions and returns all received return data.
    fallback() external payable {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            let _singleton := sload(0)
            // 0xa619486e == keccak("masterCopy()"). The value is right padded to 32-bytes with 0s
            if eq(calldataload(0), 0xa619486e00000000000000000000000000000000000000000000000000000000) {
                mstore(0, shr(12, shl(12, _singleton)))
                return(0, 0x20)
            }
            calldatacopy(0, 0, calldatasize())
            let success := delegatecall(gas(), _singleton, 0, calldatasize(), 0, 0)
            returndatacopy(0, 0, returndatasize())
            if eq(success, 0) {
                revert(0, returndatasize())
            }
            return(0, returndatasize())
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_singleton","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"}]

608060405234801561001057600080fd5b506040516101d63803806101d68339818101604052602081101561003357600080fd5b8101908080519060200190929190505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156100ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806101b46022913960400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050609b806101196000396000f3fe60806040526000547fa619486e00000000000000000000000000000000000000000000000000000000600035141560405780600c1b600c1c60005260206000f35b3660008037600080366000845af43d6000803e60008114156060573d6000fd5b3d6000f3fea26469706673582212202e41211bdb667439982896550e729674fcd1cd7419e1f0c9242dadd3ce5adc4b64736f6c63430007060033496e76616c69642073696e676c65746f6e20616464726573732070726f7669646564000000000000000000000000e1ed13dd60b85a072401a3c4fc7d2eaa678092f8

Deployed Bytecode

0x60806040526000547fa619486e00000000000000000000000000000000000000000000000000000000600035141560405780600c1b600c1c60005260206000f35b3660008037600080366000845af43d6000803e60008114156060573d6000fd5b3d6000f3fea26469706673582212202e41211bdb667439982896550e729674fcd1cd7419e1f0c9242dadd3ce5adc4b64736f6c63430007060033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000e1ed13dd60b85a072401a3c4fc7d2eaa678092f8

-----Decoded View---------------
Arg [0] : _singleton (address): 0xe1Ed13Dd60b85a072401a3C4Fc7d2EaA678092F8

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e1ed13dd60b85a072401a3c4fc7d2eaa678092f8


Block Transaction Difficulty 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  ]

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.