[ { "inputs": [ { "internalType": "address", "name": "_logic", "type": "address" }, { "internalType": "address", "name": "admin_", "type": "address" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "stateMutability": "payable", "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": "beacon", "type": "address" } ], "name": "BeaconUpgraded", "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": "admin_", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newAdmin", "type": "address" } ], "name": "changeAdmin", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "implementation", "outputs": [ { "internalType": "address", "name": "implementation_", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newImplementation", "type": "address" } ], "name": "upgradeTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newImplementation", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "upgradeToAndCall", "outputs": [], "stateMutability": "payable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]
608060405260405162000ee338038062000ee38339810160408190526200002691620004f9565b82816200005560017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd620005d9565b60008051602062000e9c83398151915214620000755762000075620005ff565b6200008382826000620000e7565b50620000b3905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6104620005d9565b60008051602062000e7c83398151915214620000d357620000d3620005ff565b620000de8262000158565b50505062000668565b620000f283620001b3565b6040516001600160a01b038416907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2600082511180620001345750805b1562000153576200015183836200027b60201b6200022e1760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f62000183620002aa565b604080516001600160a01b03928316815291841660208301520160405180910390a1620001b081620002e3565b50565b620001c9816200037360201b6200025a1760201c565b620002315760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806200025a60008051602062000e9c83398151915260001b6200037960201b620001ea1760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060620002a3838360405180606001604052806027815260200162000ebc602791396200037c565b9392505050565b6000620002d460008051602062000e7c83398151915260001b6200037960201b620001ea1760201c565b546001600160a01b0316919050565b6001600160a01b0381166200034a5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b606482015260840162000228565b806200025a60008051602062000e7c83398151915260001b6200037960201b620001ea1760201c565b3b151590565b90565b6060833b620003dd5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840162000228565b600080856001600160a01b031685604051620003fa919062000615565b600060405180830381855af49150503d806000811462000437576040519150601f19603f3d011682016040523d82523d6000602084013e6200043c565b606091505b5090925090506200044f82828662000459565b9695505050505050565b606083156200046a575081620002a3565b8251156200047b5782518084602001fd5b8160405162461bcd60e51b815260040162000228919062000633565b80516001600160a01b0381168114620004af57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004e7578181015183820152602001620004cd565b83811115620001515750506000910152565b6000806000606084860312156200050f57600080fd5b6200051a8462000497565b92506200052a6020850162000497565b60408501519092506001600160401b03808211156200054857600080fd5b818601915086601f8301126200055d57600080fd5b815181811115620005725762000572620004b4565b604051601f8201601f19908116603f011681019083821181831017156200059d576200059d620004b4565b81604052828152896020848701011115620005b757600080fd5b620005ca836020830160208801620004ca565b80955050505050509250925092565b600082821015620005fa57634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b6000825162000629818460208701620004ca565b9190910192915050565b602081526000825180602084015262000654816040850160208701620004ca565b601f01601f19169190910160400192915050565b61080480620006786000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c9578063f851a440146100e95761005d565b3661005d5761005b6100fe565b005b61005b6100fe565b34801561007157600080fd5b5061005b61008036600461068e565b610118565b61005b6100933660046106a9565b610155565b3480156100a457600080fd5b506100ad6101bc565b6040516001600160a01b03909116815260200160405180910390f35b3480156100d557600080fd5b5061005b6100e436600461068e565b6101ed565b3480156100f557600080fd5b506100ad61020d565b610106610260565b6101166101116102f5565b6102ff565b565b610120610323565b6001600160a01b0316330361014d5761014a81604051806020016040528060008152506000610356565b50565b61014a6100fe565b61015d610323565b6001600160a01b031633036101b4576101af8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610356915050565b505050565b6101af6100fe565b60006101c6610323565b6001600160a01b031633036101e2576101dd6102f5565b905090565b6101ea6100fe565b90565b6101f5610323565b6001600160a01b0316330361014d5761014a816103b5565b6000610217610323565b6001600160a01b031633036101e2576101dd610323565b606061025383836040518060600160405280602781526020016107a860279139610409565b9392505050565b3b151590565b610268610323565b6001600160a01b031633036101165760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4015b60405180910390fd5b60006101dd6104dd565b3660008037600080366000845af43d6000803e80801561031e573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b61035f83610505565b6040516001600160a01b038416907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a26000825111806103a05750805b156101af576103af838361022e565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103de610323565b604080516001600160a01b03928316815291841660208301520160405180910390a161014a816105ad565b6060833b6104685760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016102ec565b600080856001600160a01b0316856040516104839190610758565b600060405180830381855af49150503d80600081146104be576040519150601f19603f3d011682016040523d82523d6000602084013e6104c3565b606091505b50915091506104d3828286610639565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610347565b803b6105695760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016102ec565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6001600160a01b0381166106125760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ec565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610361058c565b60608315610648575081610253565b8251156106585782518084602001fd5b8160405162461bcd60e51b81526004016102ec9190610774565b80356001600160a01b038116811461068957600080fd5b919050565b6000602082840312156106a057600080fd5b61025382610672565b6000806000604084860312156106be57600080fd5b6106c784610672565b9250602084013567ffffffffffffffff808211156106e457600080fd5b818601915086601f8301126106f857600080fd5b81358181111561070757600080fd5b87602082850101111561071957600080fd5b6020830194508093505050509250925092565b60005b8381101561074757818101518382015260200161072f565b838111156103af5750506000910152565b6000825161076a81846020870161072c565b9190910192915050565b602081526000825180602084015261079381604085016020870161072c565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220e83bf12d466a93ee3f2fc6f156cae23fed17839ff16f73dc34c7f6e312040b2d64736f6c634300080f0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65640000000000000000000000002ac5892eaab539492b61b477578ac8039965a07a000000000000000000000000e9614a0cb7941f7c1fe4d1046fd397a2db7de062000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a4f399e22e0000000000000000000000006f72eaeeabd8c5d5ef1e1b7fc9355969dd834e520000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002d68747470733a2f2f67726561746c696e62726172792e696f2f67616d65732f445241432f426173654c6f6f742f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000