Address Contract Verified
Address
0x512CFA8B5bE15fc27844AC3b8b0e41e83F02b8cd
Balance
0.000000000 ETH
Nonce
1
Code Size
90 bytes
Creator
0xb3f15a44...75FE at tx 0x09fd8d77...beef4e
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