Overview
Total Supply:
0

Profile Summary
Blockchain:
Sepolia (11155111)


Decimals:
Contract Source Code Verified (Partial Match)
Contract Name:
ProxyControlled

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 150 runs

Created At:
Fri, 03 Feb 2023 06:36:36 GMT
IControllable.sol
contracts
interfaces
IControllable.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_logic",
        "type": "address"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "implementation",
        "type": "address"
      }
    ],
    "name": "Upgraded",
    "type": "event"
  },
  {
    "stateMutability": "payable",
    "type": "fallback"
  },
  {
    "inputs": [],
    "name": "PROXY_CONTROLLED_VERSION",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "implementation",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_newImplementation",
        "type": "address"
      }
    ],
    "name": "upgrade",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "stateMutability": "payable",
    "type": "receive"
  }
]


Contract Creation Code
608060405234801561001057600080fd5b5060405161071a38038061071a83398101604081905261002f91610197565b8061005b60017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd6101c7565b6000805160206106fa83398151915214610077576100776101ee565b610080816100f6565b506000816001600160a01b031663325a19f16040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100e59190610204565b10156100f057600080fd5b5061021d565b6101098161019160201b6102ef1760201c565b61017f5760405162461bcd60e51b815260206004820152603660248201527f5570677261646561626c6550726f78793a206e657720696d706c656d656e746160448201527f74696f6e206973206e6f74206120636f6e747261637400000000000000000000606482015260840160405180910390fd5b6000805160206106fa83398151915255565b3b151590565b6000602082840312156101a957600080fd5b81516001600160a01b03811681146101c057600080fd5b9392505050565b818103818111156101e857634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052600160045260246000fd5b60006020828403121561021657600080fd5b5051919050565b6104ce8061022c6000396000f3fe6080604052600436106100385760003560e01c80630900f0101461004f5780633bc845301461006f5780635c60da1b146100b657610047565b36610047576100456100e3565b005b6100456100e3565b34801561005b57600080fd5b5061004561006a3660046103d8565b610103565b34801561007b57600080fd5b506100a0604051806040016040528060058152602001640312e302e360dc1b81525081565b6040516100ad9190610408565b60405180910390f35b3480156100c257600080fd5b506100cb6102d2565b6040516001600160a01b0390911681526020016100ad565b6101016100fc6000805160206104798339815191525490565b6102f5565b565b60405163b429afeb60e01b8152336004820152309063b429afeb90602401602060405180830381865afa15801561013e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101629190610456565b6101a65760405162461bcd60e51b815260206004820152601060248201526f283937bc3c9d102337b93134b23232b760811b60448201526064015b60405180910390fd5b30634fac6ccd6101c26000805160206104798339815191525490565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b15801561020357600080fd5b505af1158015610217573d6000803e3d6000fd5b5050505061022481610319565b60405163b429afeb60e01b8152336004820152309063b429afeb90602401602060405180830381865afa15801561025f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102839190610456565b6102cf5760405162461bcd60e51b815260206004820152601b60248201527f50726f78793a2057726f6e6720696d706c656d656e746174696f6e0000000000604482015260640161019d565b50565b60006102ea6000805160206104798339815191525490565b905090565b3b151590565b3660008037600080366000845af43d6000803e808015610314573d6000f35b3d6000fd5b61032281610359565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b803b6103c65760405162461bcd60e51b815260206004820152603660248201527f5570677261646561626c6550726f78793a206e657720696d706c656d656e74616044820152751d1a5bdb881a5cc81b9bdd08184818dbdb9d1c9858dd60521b606482015260840161019d565b60008051602061047983398151915255565b6000602082840312156103ea57600080fd5b81356001600160a01b038116811461040157600080fd5b9392505050565b600060208083528351808285015260005b8181101561043557858101830151858201604001528201610419565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561046857600080fd5b8151801515811461040157600080fdfe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca2646970667358221220f72dd993278c10929993e196c2216271e4f501311b2541db749439c79d6210e064736f6c63430008110033360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc000000000000000000000000a6a2ef41f9e0794c6fa3c9b15c41ff070ce2ae8c