[ { "inputs": [ { "internalType": "address", "name": "_logic", "type": "address" }, { "internalType": "address", "name": "_admin", "type": "address" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "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": "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" } ]
60806040523480156200001157600080fd5b5060405162000f2938038062000f29833981016040819052620000349162000528565b82828282816200006660017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd62000608565b60008051602062000ee2833981519152146200008657620000866200062a565b6200009482826000620000fb565b50620000c4905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610462000608565b60008051602062000ec283398151915214620000e457620000e46200062a565b620000ef8262000138565b50505050505062000693565b620001068362000193565b600082511180620001145750805b156200013357620001318383620001d560201b6200022e1760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200016362000206565b604080516001600160a01b03928316815291841660208301520160405180910390a162000190816200023f565b50565b6200019e81620002f4565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060620001fd838360405180606001604052806027815260200162000f026027913962000397565b90505b92915050565b60006200023060008051602062000ec283398151915260001b6200047f60201b620001ea1760201c565b546001600160a01b0316919050565b6001600160a01b038116620002aa5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b80620002d360008051602062000ec283398151915260001b6200047f60201b620001ea1760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6200030a816200048260201b6200025a1760201c565b6200036e5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401620002a1565b80620002d360008051602062000ee283398151915260001b6200047f60201b620001ea1760201c565b60606001600160a01b0384163b620004015760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401620002a1565b600080856001600160a01b0316856040516200041e919062000640565b600060405180830381855af49150503d80600081146200045b576040519150601f19603f3d011682016040523d82523d6000602084013e62000460565b606091505b5090925090506200047382828662000491565b925050505b9392505050565b90565b6001600160a01b03163b151590565b60608315620004a257508162000478565b825115620004b35782518084602001fd5b8160405162461bcd60e51b8152600401620002a191906200065e565b80516001600160a01b0381168114620004e757600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200051f57818101518382015260200162000505565b50506000910152565b6000806000606084860312156200053e57600080fd5b6200054984620004cf565b92506200055960208501620004cf565b60408501519092506001600160401b03808211156200057757600080fd5b818601915086601f8301126200058c57600080fd5b815181811115620005a157620005a1620004ec565b604051601f8201601f19908116603f01168101908382118183101715620005cc57620005cc620004ec565b81604052828152896020848701011115620005e657600080fd5b620005f983602083016020880162000502565b80955050505050509250925092565b818103818111156200020057634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052600160045260246000fd5b600082516200065481846020870162000502565b9190910192915050565b60208152600082518060208401526200067f81604085016020870162000502565b601f01601f19169190910160400192915050565b61081f80620006a36000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c9578063f851a440146100e95761005d565b3661005d5761005b6100fe565b005b61005b6100fe565b34801561007157600080fd5b5061005b6100803660046106b1565b610118565b61005b6100933660046106cc565b610155565b3480156100a457600080fd5b506100ad6101bc565b6040516001600160a01b03909116815260200160405180910390f35b3480156100d557600080fd5b5061005b6100e43660046106b1565b6101ed565b3480156100f557600080fd5b506100ad61020d565b610106610269565b6101166101116102fe565b610308565b565b61012061032c565b6001600160a01b0316330361014d5761014a8160405180602001604052806000815250600061035f565b50565b61014a6100fe565b61015d61032c565b6001600160a01b031633036101b4576101af8383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506001925061035f915050565b505050565b6101af6100fe565b60006101c661032c565b6001600160a01b031633036101e2576101dd6102fe565b905090565b6101ea6100fe565b90565b6101f561032c565b6001600160a01b0316330361014d5761014a8161038a565b600061021761032c565b6001600160a01b031633036101e2576101dd61032c565b606061025383836040518060600160405280602781526020016107c3602791396103de565b9392505050565b6001600160a01b03163b151590565b61027161032c565b6001600160a01b031633036101165760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4015b60405180910390fd5b60006101dd6104b9565b3660008037600080366000845af43d6000803e808015610327573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b610368836104e1565b6000825111806103755750805b156101af57610384838361022e565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103b361032c565b604080516001600160a01b03928316815291841660208301520160405180910390a161014a81610521565b60606103e98461025a565b6104445760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016102f5565b600080856001600160a01b03168560405161045f9190610773565b600060405180830381855af49150503d806000811461049a576040519150601f19603f3d011682016040523d82523d6000602084013e61049f565b606091505b50915091506104af8282866105ca565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610350565b6104ea81610603565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6001600160a01b0381166105865760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084016102f5565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80546001600160a01b0319166001600160a01b039290921691909117905550565b606083156105d9575081610253565b8251156105e95782518084602001fd5b8160405162461bcd60e51b81526004016102f5919061078f565b61060c8161025a565b61066e5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016102f5565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6105a9565b80356001600160a01b03811681146106ac57600080fd5b919050565b6000602082840312156106c357600080fd5b61025382610695565b6000806000604084860312156106e157600080fd5b6106ea84610695565b9250602084013567ffffffffffffffff8082111561070757600080fd5b818601915086601f83011261071b57600080fd5b81358181111561072a57600080fd5b87602082850101111561073c57600080fd5b6020830194508093505050509250925092565b60005b8381101561076a578181015183820152602001610752565b50506000910152565b6000825161078581846020870161074f565b9190910192915050565b60208152600082518060208401526107ae81604085016020870161074f565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220bc79656da5dcf6854b9cca378a0453db2ed924a45d43ec97b50dc22b6ebe7bbb64736f6c63430008100033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000c5617f791f7bdb5e4d7fb03c17c42e744d8967e4000000000000000000000000c02f5d6fd67e5ba31dbd046e5f638379609f6ea500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000