Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 81 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Process Fees | 21455808 | 30 hrs ago | IN | 0 ETH | 0.00044958 | ||||
Process Fees | 21427190 | 5 days ago | IN | 0 ETH | 0.00076319 | ||||
Process Fees | 21054733 | 57 days ago | IN | 0 ETH | 0.00026074 | ||||
Process Fees | 21004558 | 64 days ago | IN | 0 ETH | 0.00043462 | ||||
Process Fees | 20954440 | 71 days ago | IN | 0 ETH | 0.00055821 | ||||
Process Fees | 20904281 | 78 days ago | IN | 0 ETH | 0.00020102 | ||||
Process Fees | 20854067 | 85 days ago | IN | 0 ETH | 0.00038549 | ||||
Process Fees | 20818219 | 90 days ago | IN | 0 ETH | 0.00081506 | ||||
Process Fees | 20803884 | 92 days ago | IN | 0 ETH | 0.00039814 | ||||
Process Fees | 20753783 | 99 days ago | IN | 0 ETH | 0.00012016 | ||||
Process Fees | 20732305 | 102 days ago | IN | 0 ETH | 0.0001287 | ||||
Process Fees | 20703667 | 106 days ago | IN | 0 ETH | 0.00007114 | ||||
Process Fees | 20674985 | 110 days ago | IN | 0 ETH | 0.0000498 | ||||
Process Fees | 20653490 | 113 days ago | IN | 0 ETH | 0.00004376 | ||||
Process Fees | 20646323 | 114 days ago | IN | 0 ETH | 0.00004687 | ||||
Process Fees | 20603382 | 120 days ago | IN | 0 ETH | 0.00005874 | ||||
Process Fees | 20596234 | 121 days ago | IN | 0 ETH | 0.00006354 | ||||
Process Fees | 20574764 | 124 days ago | IN | 0 ETH | 0.00005696 | ||||
Process Fees | 20553283 | 127 days ago | IN | 0 ETH | 0.00006577 | ||||
Process Fees | 20503145 | 134 days ago | IN | 0 ETH | 0.00007575 | ||||
Process Fees | 20452956 | 141 days ago | IN | 0 ETH | 0.00008168 | ||||
Process Fees | 20402812 | 148 days ago | IN | 0 ETH | 0.000082 | ||||
Process Fees | 20395653 | 149 days ago | IN | 0 ETH | 0.00008526 | ||||
Process Fees | 20367001 | 153 days ago | IN | 0 ETH | 0.00019114 | ||||
Process Fees | 20352682 | 155 days ago | IN | 0 ETH | 0.00015942 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
21455808 | 30 hrs ago | 649.50302485 ETH | ||||
21455808 | 30 hrs ago | 74.69051772 ETH | ||||
21455808 | 30 hrs ago | 0.69414976 ETH | ||||
21455281 | 32 hrs ago | 724.88769234 ETH | ||||
21427190 | 5 days ago | 3,861.37720763 ETH | ||||
21427190 | 5 days ago | 378.9817616 ETH | ||||
21427190 | 5 days ago | 28.1534155 ETH | ||||
21426669 | 5 days ago | 1,063.27436752 ETH | ||||
21426668 | 5 days ago | 1,067.74006345 ETH | ||||
21426667 | 5 days ago | 129.23035543 ETH | ||||
21426666 | 5 days ago | 586.74702669 ETH | ||||
21426665 | 5 days ago | 229.42550171 ETH | ||||
21426664 | 5 days ago | 431.05750077 ETH | ||||
21426663 | 5 days ago | 151.99742805 ETH | ||||
21426662 | 5 days ago | 243.77413757 ETH | ||||
21426659 | 5 days ago | 365.26600351 ETH | ||||
21054733 | 57 days ago | 400.15499691 ETH | ||||
21054733 | 57 days ago | 3.71225292 ETH | ||||
21054733 | 57 days ago | 0.1464403 ETH | ||||
21054244 | 57 days ago | 404.01369014 ETH | ||||
21004558 | 64 days ago | 263.94402977 ETH | ||||
21004558 | 64 days ago | 3.33253927 ETH | ||||
21004558 | 64 days ago | 0.27090897 ETH | ||||
21004069 | 64 days ago | 267.54747801 ETH | ||||
20954440 | 71 days ago | 203.17363797 ETH |
Loading...
Loading
Contract Name:
Proxy
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 999999 runs
Other Settings:
london EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.15; /** * @title Proxy * @notice Proxy is a transparent proxy that passes through the call if the caller is the owner or * if the caller is address(0), meaning that the call originated from an off-chain * simulation. */ contract Proxy { /** * @notice The storage slot that holds the address of the implementation. * bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1) */ bytes32 internal constant IMPLEMENTATION_KEY = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * @notice The storage slot that holds the address of the owner. * bytes32(uint256(keccak256('eip1967.proxy.admin')) - 1) */ bytes32 internal constant OWNER_KEY = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; /** * @notice An event that is emitted each time the implementation is changed. This event is part * of the EIP-1967 specification. * * @param implementation The address of the implementation contract */ event Upgraded(address indexed implementation); /** * @notice An event that is emitted each time the owner is upgraded. This event is part of the * EIP-1967 specification. * * @param previousAdmin The previous owner of the contract * @param newAdmin The new owner of the contract */ event AdminChanged(address previousAdmin, address newAdmin); /** * @notice A modifier that reverts if not called by the owner or by address(0) to allow * eth_call to interact with this proxy without needing to use low-level storage * inspection. We assume that nobody is able to trigger calls from address(0) during * normal EVM execution. */ modifier proxyCallIfNotAdmin() { if (msg.sender == _getAdmin() || msg.sender == address(0)) { _; } else { // This WILL halt the call frame on completion. _doProxyCall(); } } /** * @notice Sets the initial admin during contract deployment. Admin address is stored at the * EIP-1967 admin storage slot so that accidental storage collision with the * implementation is not possible. * * @param _admin Address of the initial contract admin. Admin as the ability to access the * transparent proxy interface. */ constructor(address _admin) { _changeAdmin(_admin); } // slither-disable-next-line locked-ether receive() external payable { // Proxy call by default. _doProxyCall(); } // slither-disable-next-line locked-ether fallback() external payable { // Proxy call by default. _doProxyCall(); } /** * @notice Set the implementation contract address. The code at the given address will execute * when this contract is called. * * @param _implementation Address of the implementation contract. */ function upgradeTo(address _implementation) public virtual proxyCallIfNotAdmin { _setImplementation(_implementation); } /** * @notice Set the implementation and call a function in a single transaction. Useful to ensure * atomic execution of initialization-based upgrades. * * @param _implementation Address of the implementation contract. * @param _data Calldata to delegatecall the new implementation with. */ function upgradeToAndCall(address _implementation, bytes calldata _data) public payable virtual proxyCallIfNotAdmin returns (bytes memory) { _setImplementation(_implementation); (bool success, bytes memory returndata) = _implementation.delegatecall(_data); require(success, "Proxy: delegatecall to new implementation contract failed"); return returndata; } /** * @notice Changes the owner of the proxy contract. Only callable by the owner. * * @param _admin New owner of the proxy contract. */ function changeAdmin(address _admin) public virtual proxyCallIfNotAdmin { _changeAdmin(_admin); } /** * @notice Gets the owner of the proxy contract. * * @return Owner address. */ function admin() public virtual proxyCallIfNotAdmin returns (address) { return _getAdmin(); } /** * @notice Queries the implementation address. * * @return Implementation address. */ function implementation() public virtual proxyCallIfNotAdmin returns (address) { return _getImplementation(); } /** * @notice Sets the implementation address. * * @param _implementation New implementation address. */ function _setImplementation(address _implementation) internal { assembly { sstore(IMPLEMENTATION_KEY, _implementation) } emit Upgraded(_implementation); } /** * @notice Changes the owner of the proxy contract. * * @param _admin New owner of the proxy contract. */ function _changeAdmin(address _admin) internal { address previous = _getAdmin(); assembly { sstore(OWNER_KEY, _admin) } emit AdminChanged(previous, _admin); } /** * @notice Performs the proxy call via a delegatecall. */ function _doProxyCall() internal { address impl = _getImplementation(); require(impl != address(0), "Proxy: implementation not initialized"); assembly { // Copy calldata into memory at 0x0....calldatasize. calldatacopy(0x0, 0x0, calldatasize()) // Perform the delegatecall, make sure to pass all available gas. let success := delegatecall(gas(), impl, 0x0, calldatasize(), 0x0, 0x0) // Copy returndata into memory at 0x0....returndatasize. Note that this *will* // overwrite the calldata that we just copied into memory but that doesn't really // matter because we'll be returning in a second anyway. returndatacopy(0x0, 0x0, returndatasize()) // Success == 0 means a revert. We'll revert too and pass the data up. if iszero(success) { revert(0x0, returndatasize()) } // Otherwise we'll just return and pass the data up. return(0x0, returndatasize()) } } /** * @notice Queries the implementation address. * * @return Implementation address. */ function _getImplementation() internal view returns (address) { address impl; assembly { impl := sload(IMPLEMENTATION_KEY) } return impl; } /** * @notice Queries the owner of the proxy contract. * * @return Owner address. */ function _getAdmin() internal view returns (address) { address owner; assembly { owner := sload(OWNER_KEY) } return owner; } }
{ "remappings": [ "@eth-optimism-bedrock/=lib/optimism/packages/contracts-bedrock/", "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/", "@rari-capital/solmate/=lib/solmate/", "@base-contracts/=lib/base-contracts/", "base-contracts/=lib/base-contracts/src/", "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "optimism/=lib/optimism/", "solmate/=lib/solmate/src/" ], "optimizer": { "enabled": true, "runs": 999999 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "viaIR": true, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_implementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_implementation","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080346100b857601f61089638819003918201601f19168301916001600160401b038311848410176100bd578084926020946040528339810103126100b857516001600160a01b03808216918281036100b8577f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f926040927fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610392835493558351921682526020820152a16040516107c290816100d48239f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604052600436101561002c575b361561001f575b61001d6106aa565b005b6100276106aa565b610015565b6000803560e01c9081633659cfe614610093575080634f1ef2861461008a5780635c60da1b146100815780638f283970146100785763f851a4400361000e576100736104f0565b61000e565b50610073610422565b50610073610362565b506100736101d0565b3461012f5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261012f576100ca610132565b73ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103541633148015610127575b1561011e5761011990610647565b604051f35b506101196106aa565b50331561010b565b80fd5b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361015557565b600080fd5b919091602080825283519081818401526000945b8286106101ba575050601f817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09260409596116101ad575b0116010190565b60008582860101526101a6565b858101820151848701604001529481019461016e565b5060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015557610203610132565b6024359067ffffffffffffffff908183116101555736602384011215610155578260040135908282116101555736602483860101116101555761031f9360609273ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610354163314801561035a575b156103485791602460009392849361029b84610647565b80604051938493018337810184815203915af4903d1561033d5750610313903d838111610330575b604051937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f81601f850116011685019085821090821117610323575b60405283523d6000602085013e6105bc565b6040519182918261015a565b0390f35b61032b61058c565b610301565b61033861058c565b6102c3565b9150610313906105bc565b50505090506103556106aa565b610313565b503315610284565b50346101555760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610155576020600073ffffffffffffffffffffffffffffffffffffffff90817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610354163314801561041a575b1561040c57507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54905b60405191168152f35b906104156106aa565b610403565b5033156103d9565b50346101555760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101555761045a610132565b73ffffffffffffffffffffffffffffffffffffffff907fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610382815416331480156104e8575b156104dd577f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f92826040938354935581845193168352166020820152a1005b50505061001d6106aa565b50331561049e565b50346101555760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610155576020600073ffffffffffffffffffffffffffffffffffffffff907fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103908282541633148015610584575b1561057957505460405191168152f35b9190506104156106aa565b503315610569565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b156105c357565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f50726f78793a2064656c656761746563616c6c20746f206e657720696d706c6560448201527f6d656e746174696f6e20636f6e7472616374206661696c6564000000000000006064820152fd5b73ffffffffffffffffffffffffffffffffffffffff90807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b6000604051a2565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff811615610708576000808092368280378136915af43d82803e15610704573d90f35b3d90fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f50726f78793a20696d706c656d656e746174696f6e206e6f7420696e6974696160448201527f6c697a65640000000000000000000000000000000000000000000000000000006064820152fdfea2646970667358221220169de5e14e84582f28acc78463b54e7f698b66aaf78a5a74b42529a220e5154064736f6c634300080f003300000000000000000000000006bdb6fc44e3d0ae053d5f2ff6c60135141181c9
Deployed Bytecode
0x6080604052600436101561002c575b361561001f575b61001d6106aa565b005b6100276106aa565b610015565b6000803560e01c9081633659cfe614610093575080634f1ef2861461008a5780635c60da1b146100815780638f283970146100785763f851a4400361000e576100736104f0565b61000e565b50610073610422565b50610073610362565b506100736101d0565b3461012f5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261012f576100ca610132565b73ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103541633148015610127575b1561011e5761011990610647565b604051f35b506101196106aa565b50331561010b565b80fd5b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361015557565b600080fd5b919091602080825283519081818401526000945b8286106101ba575050601f817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09260409596116101ad575b0116010190565b60008582860101526101a6565b858101820151848701604001529481019461016e565b5060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015557610203610132565b6024359067ffffffffffffffff908183116101555736602384011215610155578260040135908282116101555736602483860101116101555761031f9360609273ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610354163314801561035a575b156103485791602460009392849361029b84610647565b80604051938493018337810184815203915af4903d1561033d5750610313903d838111610330575b604051937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f81601f850116011685019085821090821117610323575b60405283523d6000602085013e6105bc565b6040519182918261015a565b0390f35b61032b61058c565b610301565b61033861058c565b6102c3565b9150610313906105bc565b50505090506103556106aa565b610313565b503315610284565b50346101555760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610155576020600073ffffffffffffffffffffffffffffffffffffffff90817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610354163314801561041a575b1561040c57507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54905b60405191168152f35b906104156106aa565b610403565b5033156103d9565b50346101555760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101555761045a610132565b73ffffffffffffffffffffffffffffffffffffffff907fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610382815416331480156104e8575b156104dd577f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f92826040938354935581845193168352166020820152a1005b50505061001d6106aa565b50331561049e565b50346101555760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610155576020600073ffffffffffffffffffffffffffffffffffffffff907fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103908282541633148015610584575b1561057957505460405191168152f35b9190506104156106aa565b503315610569565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b156105c357565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f50726f78793a2064656c656761746563616c6c20746f206e657720696d706c6560448201527f6d656e746174696f6e20636f6e7472616374206661696c6564000000000000006064820152fd5b73ffffffffffffffffffffffffffffffffffffffff90807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b6000604051a2565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff811615610708576000808092368280378136915af43d82803e15610704573d90f35b3d90fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f50726f78793a20696d706c656d656e746174696f6e206e6f7420696e6974696160448201527f6c697a65640000000000000000000000000000000000000000000000000000006064820152fdfea2646970667358221220169de5e14e84582f28acc78463b54e7f698b66aaf78a5a74b42529a220e5154064736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000006bdb6fc44e3d0ae053d5f2ff6c60135141181c9
-----Decoded View---------------
Arg [0] : _admin (address): 0x06BDB6FC44e3D0ae053D5f2ff6C60135141181C9
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000006bdb6fc44e3d0ae053d5f2ff6c60135141181c9
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.