Source Code
Overview
ETH Balance
0.150534766110363024 ETH
Token Holdings
More Info
ContractCreator
Multichain Info
N/A
Latest 7 internal transactions
Advanced mode:
Loading...
Loading
Contract Name:
Proxy
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; /** * @title Proxy // This is the user's Smart Account * @notice Basic proxy that delegates all calls to a fixed implementation contract. * @dev Implementation address is stored in the slot defined by the Proxy's address */ contract Proxy { constructor(address _implementation) { require( _implementation != address(0), "Invalid implementation address" ); assembly { sstore(address(), _implementation) } } fallback() external payable { address target; assembly { target := sload(address()) calldatacopy(0, 0, calldatasize()) let result := delegatecall(gas(), target, 0, calldatasize(), 0, 0) returndatacopy(0, 0, returndatasize()) switch result case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } }
{ "optimizer": { "enabled": true, "runs": 800 }, "viaIR": true, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
[{"inputs":[{"internalType":"address","name":"_implementation","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"}]
Contract Creation Code
6080346100aa57601f61012038819003918201601f19168301916001600160401b038311848410176100af578084926020946040528339810103126100aa57516001600160a01b0381168082036100aa5715610065573055604051605a90816100c68239f35b60405162461bcd60e51b815260206004820152601e60248201527f496e76616c696420696d706c656d656e746174696f6e206164647265737300006044820152606490fd5b600080fd5b634e487b7160e01b600052604160045260246000fdfe608060405230546000808092368280378136915af43d82803e156020573d90f35b3d90fdfea2646970667358221220848d096f9c481a5b694ab87e0a4c770de1a5316a9072906cfdc9799c6c7d50d064736f6c6343000811003300000000000000000000000010a1456c37c2e90be814d5ace74bf903a7a823c2
Deployed Bytecode
0x608060405230546000808092368280378136915af43d82803e156020573d90f35b3d90fdfea2646970667358221220848d096f9c481a5b694ab87e0a4c770de1a5316a9072906cfdc9799c6c7d50d064736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000010a1456c37c2e90be814d5ace74bf903a7a823c2
-----Decoded View---------------
Arg [0] : _implementation (address): 0x10A1456c37C2E90be814D5AcE74bF903A7a823C2
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000010a1456c37c2e90be814d5ace74bf903a7a823c2
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.