Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
111.21 stETH

Holders:
51
Profile Summary
Blockchain:
OP Mainnet (10)


Decimals:
18
Contract Source Code Verified (Partial Match)
Contract Name:
OssifiableProxy

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 100000 runs

Created At:
Thu, 22 Aug 2024 12:01:23 GMT
OssifiableProxy.sol
contracts
proxy
OssifiableProxy.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "implementation_",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "admin_",
        "type": "address"
      },
      {
        "internalType": "bytes",
        "name": "data_",
        "type": "bytes"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [],
    "name": "ErrorNotAdmin",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "ErrorProxyIsOssified",
    "type": "error"
  },
  {
    "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": "beacon",
        "type": "address"
      }
    ],
    "name": "BeaconUpgraded",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [],
    "name": "ProxyOssified",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "implementation",
        "type": "address"
      }
    ],
    "name": "Upgraded",
    "type": "event"
  },
  {
    "stateMutability": "payable",
    "type": "fallback"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newAdmin_",
        "type": "address"
      }
    ],
    "name": "proxy__changeAdmin",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "proxy__getAdmin",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "proxy__getImplementation",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "proxy__getIsOssified",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "proxy__ossify",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newImplementation_",
        "type": "address"
      }
    ],
    "name": "proxy__upgradeTo",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newImplementation_",
        "type": "address"
      },
      {
        "internalType": "bytes",
        "name": "setupCalldata_",
        "type": "bytes"
      },
      {
        "internalType": "bool",
        "name": "forceCall_",
        "type": "bool"
      }
    ],
    "name": "proxy__upgradeToAndCall",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "stateMutability": "payable",
    "type": "receive"
  }
]


Contract Creation Code
60806040523480156200001157600080fd5b50604051620013a0380380620013a08339810160408190526200003491620004da565b82816200006360017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd620005ba565b6000805160206200135983398151915214620000835762000083620005e0565b6200009182826000620000a8565b506200009f905082620000e5565b50505062000649565b620000b38362000140565b600082511180620000c15750805b15620000e057620000de83836200018260201b620005641760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f62000110620001b1565b604080516001600160a01b03928316815291841660208301520160405180910390a16200013d81620001ea565b50565b6200014b816200029f565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060620001aa8383604051806060016040528060278152602001620013796027913962000342565b9392505050565b6000620001db6000805160206200133983398151915260001b6200042860201b620005901760201c565b546001600160a01b0316919050565b6001600160a01b038116620002555760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b806200027e6000805160206200133983398151915260001b6200042860201b620005901760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b620002b5816200042b60201b620005931760201c565b620003195760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016200024c565b806200027e6000805160206200135983398151915260001b6200042860201b620005901760201c565b60606001600160a01b0384163b620003ac5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016200024c565b600080856001600160a01b031685604051620003c99190620005f6565b600060405180830381855af49150503d806000811462000406576040519150601f19603f3d011682016040523d82523d6000602084013e6200040b565b606091505b5090925090506200041e8282866200043a565b9695505050505050565b90565b6001600160a01b03163b151590565b606083156200044b575081620001aa565b8251156200045c5782518084602001fd5b8160405162461bcd60e51b81526004016200024c919062000614565b80516001600160a01b03811681146200049057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004c8578181015183820152602001620004ae565b83811115620000de5750506000910152565b600080600060608486031215620004f057600080fd5b620004fb8462000478565b92506200050b6020850162000478565b60408501519092506001600160401b03808211156200052957600080fd5b818601915086601f8301126200053e57600080fd5b81518181111562000553576200055362000495565b604051601f8201601f19908116603f011681019083821181831017156200057e576200057e62000495565b816040528281528960208487010111156200059857600080fd5b620005ab836020830160208801620004ab565b80955050505050509250925092565b600082821015620005db57634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b600082516200060a818460208701620004ab565b9190910192915050565b602081526000825180602084015262000635816040850160208701620004ab565b601f01601f19169190910160400192915050565b610ce080620006596000396000f3fe6080604052600436106100745760003560e01c8063916f1fd71161004e578063916f1fd7146100f5578063ad729a711461012f578063adcbc23714610144578063d2f6ed4d1461015957610083565b8063133512581461008b5780633ebdd0eb146100b5578063773f5be8146100d557610083565b3661008357610081610179565b005b610081610179565b34801561009757600080fd5b506100a061018b565b60405190151581526020015b60405180910390f35b3480156100c157600080fd5b506100816100d0366004610aa0565b6101b2565b3480156100e157600080fd5b506100816100f0366004610aa0565b610267565b34801561010157600080fd5b5061010a610318565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100ac565b34801561013b57600080fd5b5061010a610327565b34801561015057600080fd5b50610081610331565b34801561016557600080fd5b50610081610174366004610afa565b6104ab565b6101896101846105af565b6105b9565b565b6000806101966105e2565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60006101bc6105e2565b905073ffffffffffffffffffffffffffffffffffffffff811661020b576040517f796516b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8116331461025a576040517fd6ecd8b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61026382610622565b5050565b60006102716105e2565b905073ffffffffffffffffffffffffffffffffffffffff81166102c0576040517f796516b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8116331461030f576040517fd6ecd8b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102638261066f565b60006103226105e2565b905090565b60006103226105af565b600061033b6105e2565b905073ffffffffffffffffffffffffffffffffffffffff811661038a576040517f796516b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff811633146103d9576040517fd6ecd8b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006103e36105e2565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610380547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556040805173ffffffffffffffffffffffffffffffffffffffff831681526000602082015281519293507f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f929081900390910190a16040517f158b204828f9326d9bb3c2be9336986c14911b4a72b93d1801f207aac3c68b9f90600090a15050565b60006104b56105e2565b905073ffffffffffffffffffffffffffffffffffffffff8116610504576040517f796516b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81163314610553576040517fd6ecd8b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61055e8484846106d3565b50505050565b60606105898383604051806060016040528060278152602001610c84602791396106f8565b9392505050565b90565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6000610322610825565b3660008037600080366000845af43d6000803e8080156105d8573d6000f35b3d6000fd5b505050565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b5473ffffffffffffffffffffffffffffffffffffffff16919050565b61062b8161084d565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6106986105e2565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301520160405180910390a16106d08161095a565b50565b6106dc83610622565b6000825111806106e95750805b156105dd5761055e8383610564565b606073ffffffffffffffffffffffffffffffffffffffff84163b6107a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff16856040516107cb9190610c16565b600060405180830381855af49150503d8060008114610806576040519150601f19603f3d011682016040523d82523d6000602084013e61080b565b606091505b509150915061081b828286610a24565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610606565b73ffffffffffffffffffffffffffffffffffffffff81163b6108f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e747261637400000000000000000000000000000000000000606482015260840161079a565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b73ffffffffffffffffffffffffffffffffffffffff81166109fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161079a565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103610914565b60608315610a33575081610589565b825115610a435782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079a9190610c32565b803573ffffffffffffffffffffffffffffffffffffffff81168114610a9b57600080fd5b919050565b600060208284031215610ab257600080fd5b61058982610a77565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b80358015158114610a9b57600080fd5b600080600060608486031215610b0f57600080fd5b610b1884610a77565b9250602084013567ffffffffffffffff80821115610b3557600080fd5b818601915086601f830112610b4957600080fd5b813581811115610b5b57610b5b610abb565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610ba157610ba1610abb565b81604052828152896020848701011115610bba57600080fd5b826020860160208301376000602084830101528096505050505050610be160408501610aea565b90509250925092565b60005b83811015610c05578181015183820152602001610bed565b8381111561055e5750506000910152565b60008251610c28818460208701610bea565b9190910192915050565b6020815260008251806020840152610c51816040850160208701610bea565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212208f2fec4f0ed674dc02947c8e366d20e3e0eb866402388212c7b999a9a07885d364736f6c634300080a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000e9b65da5dcbe92f1b397991c464ff568dc98d761000000000000000000000000efa0db536d2c8089685630fafe88cf7805966fc300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000124a6487c53000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000174c6971756964207374616b656420457468657220322e30000000000000000000000000000000000000000000000000000000000000000000000000000000000573744554480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Loading