Address Contract Verified
Address
0x5Ce22b0a592BBe71b774AeF076D0a7038d591532
Balance
0 ETH
Nonce
1
Code Size
90 bytes
Creator
0xb3f15a44...75FE at tx 0xbc205f0e...6ae030
Indexed Transactions
0
Contract Bytecode
90 bytes
0x608060405230546000808092368280378136915af43d82803e156020573d90f35b3d90fdfea2646970667358221220a03b18dce0be0b4c9afe58a9eb85c35205e2cf087da098bbf1d23945bf89496064736f6c63430008110033
Verified Source Code Full Match
Compiler: v0.8.17+commit.8df45f5f
EVM: london
Optimization: Yes (800 runs)
Proxy.sol 36 lines
// 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())
}
}
}
}
Recent Transactions
No transactions found for this address