[ { "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": "getImplementation", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "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" } ]
608060405260405162000fba38038062000fba8339810160408190526200002691620004e0565b82828282816200005860017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd6200060f565b60008051602062000f73833981519152146200008457634e487b7160e01b600052600160045260246000fd5b620000928282600062000105565b50620000c2905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61046200060f565b60008051602062000f5383398151915214620000ee57634e487b7160e01b600052600160045260246000fd5b620000f98262000142565b50505050505062000678565b62000110836200019d565b6000825111806200011e5750805b156200013d576200013b8383620001df60201b620002ea1760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200016d6200020e565b604080516001600160a01b03928316815291841660208301520160405180910390a16200019a8162000247565b50565b620001a881620002fc565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606062000207838360405180606001604052806027815260200162000f93602791396200039f565b9392505050565b60006200023860008051602062000f5383398151915260001b6200047c60201b620002281760201c565b546001600160a01b0316919050565b6001600160a01b038116620002b25760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b80620002db60008051602062000f5383398151915260001b6200047c60201b620002281760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b62000312816200047f60201b620003161760201c565b620003765760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401620002a9565b80620002db60008051602062000f7383398151915260001b6200047c60201b620002281760201c565b6060833b620004005760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401620002a9565b600080856001600160a01b0316856040516200041d9190620005bc565b600060405180830381855af49150503d80600081146200045a576040519150601f19603f3d011682016040523d82523d6000602084013e6200045f565b606091505b5090925090506200047282828662000485565b9695505050505050565b90565b3b151590565b606083156200049657508162000207565b825115620004a75782518084602001fd5b8160405162461bcd60e51b8152600401620002a99190620005da565b80516001600160a01b0381168114620004db57600080fd5b919050565b600080600060608486031215620004f5578283fd5b6200050084620004c3565b92506200051060208501620004c3565b60408501519092506001600160401b03808211156200052d578283fd5b818601915086601f83011262000541578283fd5b81518181111562000556576200055662000662565b604051601f8201601f19908116603f0116810190838211818310171562000581576200058162000662565b816040528281528960208487010111156200059a578586fd5b620005ad83602083016020880162000633565b80955050505050509250925092565b60008251620005d081846020870162000633565b9190910192915050565b6020815260008251806020840152620005fb81604085016020870162000633565b601f01601f19169190910160400192915050565b6000828210156200062e57634e487b7160e01b81526011600452602481fd5b500390565b60005b838110156200065057818101518382015260200162000636565b838111156200013b5750506000910152565b634e487b7160e01b600052604160045260246000fd5b6108cb80620006886000396000f3fe6080604052600436106100595760003560e01c80633659cfe6146100705780634f1ef286146100905780635c60da1b146100a35780638f283970146100d4578063aaf10f42146100f4578063f851a4401461010957610068565b366100685761006661011e565b005b61006661011e565b34801561007c57600080fd5b5061006661008b36600461075b565b610138565b61006661009e366004610775565b61017f565b3480156100af57600080fd5b506100b86101f0565b6040516001600160a01b03909116815260200160405180910390f35b3480156100e057600080fd5b506100666100ef36600461075b565b61022b565b34801561010057600080fd5b506100b8610255565b34801561011557600080fd5b506100b86102bf565b61012661031c565b6101366101316103b6565b6103c0565b565b6101406103e4565b6001600160a01b0316336001600160a01b031614156101775761017481604051806020016040528060008152506000610417565b50565b61017461011e565b6101876103e4565b6001600160a01b0316336001600160a01b031614156101e8576101e38383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610417915050565b505050565b6101e361011e565b60006101fa6103e4565b6001600160a01b0316336001600160a01b031614156102205761021b6103b6565b905090565b61022861011e565b90565b6102336103e4565b6001600160a01b0316336001600160a01b031614156101775761017481610442565b600061025f6103e4565b6001600160a01b0316336001600160a01b0316146040518060400160405280600381526020016203130360ec1b815250906102b65760405162461bcd60e51b81526004016102ad919061080f565b60405180910390fd5b5061021b610496565b60006102c96103e4565b6001600160a01b0316336001600160a01b031614156102205761021b6103e4565b606061030f838360405180606001604052806027815260200161086f602791396104be565b9392505050565b3b151590565b6103246103e4565b6001600160a01b0316336001600160a01b031614156101365760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4016102ad565b600061021b610496565b3660008037600080366000845af43d6000803e8080156103df573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b61042083610592565b60008251118061042d5750805b156101e35761043c83836102ea565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61046b6103e4565b604080516001600160a01b03928316815291841660208301520160405180910390a1610174816105d2565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610408565b6060833b61051d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016102ad565b600080856001600160a01b03168560405161053891906107f3565b600060405180830381855af49150503d8060008114610573576040519150601f19603f3d011682016040523d82523d6000602084013e610578565b606091505b509150915061058882828661067b565b9695505050505050565b61059b816106b4565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6001600160a01b0381166106375760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ad565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060831561068a57508161030f565b82511561069a5782518084602001fd5b8160405162461bcd60e51b81526004016102ad919061080f565b803b6107185760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016102ad565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc61065a565b80356001600160a01b038116811461075657600080fd5b919050565b60006020828403121561076c578081fd5b61030f8261073f565b600080600060408486031215610789578182fd5b6107928461073f565b9250602084013567ffffffffffffffff808211156107ae578384fd5b818601915086601f8301126107c1578384fd5b8135818111156107cf578485fd5b8760208285010111156107e0578485fd5b6020830194508093505050509250925092565b60008251610805818460208701610842565b9190910192915050565b602081526000825180602084015261082e816040850160208701610842565b601f01601f19169190910160400192915050565b60005b8381101561085d578181015183820152602001610845565b8381111561043c575050600091015256fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220cb7e26a4740f88e013bfb53694f10d96fb821d2331496ee6a09e031d3230960b64736f6c63430008040033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65640000000000000000000000008364d03349e76386263005ce79517a1776ddff450000000000000000000000004f694372ced64b8cf389a04f13e67ac0035a644900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000144d3b1e9a400000000000000000000000024451f47caf13b24f4b5034e1df6c0e401ec0e4600000000000000000000000043078abfb76bd24885fd64effb22049f92a8c495000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001a42656e6420696e7465726573742062656172696e672057455448000000000000000000000000000000000000000000000000000000000000000000000000000862656e645745544800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000