Base Sepolia Testnet

Contract

0xdf3b635d2b535f906BB02abb22AED71346E36a00

Overview

ETH Balance

1.4 ETH

More Info

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Amount
Exec Transaction194673022024-12-20 13:54:52354 days ago1734702892IN
0xdf3b635d...346E36a00
0 ETH0.000003820.00100036
Exec Transaction188160672024-12-05 12:07:02369 days ago1733400422IN
0xdf3b635d...346E36a00
0 ETH0.000000070.00010028
Exec Transaction187313532024-12-03 13:03:14371 days ago1733230994IN
0xdf3b635d...346E36a00
0 ETH0.000001010.00100043
Exec Transaction187312152024-12-03 12:58:38371 days ago1733230718IN
0xdf3b635d...346E36a00
0 ETH0.000001370.00033202
Exec Transaction187311492024-12-03 12:56:26371 days ago1733230586IN
0xdf3b635d...346E36a00
0 ETH0.000000370.00100041
Exec Transaction187170032024-12-03 5:04:54371 days ago1733202294IN
0xdf3b635d...346E36a00
0 ETH0.000000530.0010007
Exec Transaction186892482024-12-02 13:39:44372 days ago1733146784IN
0xdf3b635d...346E36a00
0 ETH0.000000380.00010028
Exec Transaction182525082024-11-22 11:01:44382 days ago1732273304IN
0xdf3b635d...346E36a00
0 ETH0.000012470.00000079
Setup166581612024-10-16 13:16:50419 days ago1729084610IN
0xdf3b635d...346E36a00
0 ETH0.000336652.0220417

Latest 4 internal transactions

Parent Transaction Hash Block From To Amount
187312152024-12-03 12:58:38371 days ago1733230718
0xdf3b635d...346E36a00
0.6 ETH
187288032024-12-03 11:38:14371 days ago1733225894
0xdf3b635d...346E36a00
1 ETH
182496192024-11-22 9:25:26382 days ago1732267526
0xdf3b635d...346E36a00
1 ETH
166581562024-10-16 13:16:40419 days ago1729084600  Contract Creation0 ETH

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:
istanbul EvmVersion, None license

Contract Source Code (Solidity Standard Json-Input format)

// 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
{
  "evmVersion": "istanbul",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract ABI

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

608060405234801561001057600080fd5b506040516101d63803806101d68339818101604052602081101561003357600080fd5b8101908080519060200190929190505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156100ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806101b46022913960400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050609b806101196000396000f3fe60806040526000547fa619486e00000000000000000000000000000000000000000000000000000000600035141560405780600c1b600c1c60005260206000f35b3660008037600080366000845af43d6000803e60008114156060573d6000fd5b3d6000f3fea2646970667358221220bfbe5e66dfccd59d80684323ec36a561ddc5ef3b39a33a941f25cabefff21eb964736f6c63430007060033496e76616c69642073696e676c65746f6e20616464726573732070726f7669646564000000000000000000000000d063b02a3d48819b6c8d3389d3c8e023d265141f

Deployed Bytecode

0x60806040526000547fa619486e00000000000000000000000000000000000000000000000000000000600035141560405780600c1b600c1c60005260206000f35b3660008037600080366000845af43d6000803e60008114156060573d6000fd5b3d6000f3fea2646970667358221220bfbe5e66dfccd59d80684323ec36a561ddc5ef3b39a33a941f25cabefff21eb964736f6c63430007060033

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

000000000000000000000000d063b02a3d48819b6c8d3389d3c8e023d265141f

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

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


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
0xdf3b635d2b535f906BB02abb22AED71346E36a00
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ 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.