Loading
[ { "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" } ]
608060405260405162000f1938038062000f1983398101604081905262000026916200045e565b8282828281620000398282600062000053565b506200004790508262000090565b505050505050620005d2565b6200005e83620000eb565b6000825111806200006c5750805b156200008b576200008983836200012d60201b620002ea1760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f620000bb6200015c565b604080516001600160a01b03928316815291841660208301520160405180910390a1620000e88162000195565b50565b620000f6816200024a565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606062000155838360405180606001604052806027815260200162000ef260279139620002fe565b9392505050565b60006200018660008051602062000ed283398151915260001b6200037d60201b620002281760201c565b546001600160a01b0316919050565b6001600160a01b038116620002005760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b806200022960008051602062000ed283398151915260001b6200037d60201b620002281760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b62000260816200038060201b620003161760201c565b620002c45760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401620001f7565b80620002297f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6200037d60201b620002281760201c565b6060600080856001600160a01b0316856040516200031d91906200053a565b600060405180830381855af49150503d80600081146200035a576040519150601f19603f3d011682016040523d82523d6000602084013e6200035f565b606091505b50909250905062000373868383876200038f565b9695505050505050565b90565b6001600160a01b03163b151590565b6060831562000400578251620003f8576001600160a01b0385163b620003f85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401620001f7565b50816200040c565b6200040c838362000414565b949350505050565b815115620004255781518083602001fd5b8060405162461bcd60e51b8152600401620001f7919062000558565b80516001600160a01b03811681146200045957600080fd5b919050565b60008060006060848603121562000473578283fd5b6200047e8462000441565b92506200048e6020850162000441565b60408501519092506001600160401b0380821115620004ab578283fd5b818601915086601f830112620004bf578283fd5b815181811115620004d457620004d4620005bc565b604051601f8201601f19908116603f01168101908382118183101715620004ff57620004ff620005bc565b8160405282815289602084870101111562000518578586fd5b6200052b8360208301602088016200058d565b80955050505050509250925092565b600082516200054e8184602087016200058d565b9190910192915050565b6020815260008251806020840152620005798160408501602087016200058d565b601f01601f19169190910160400192915050565b60005b83811015620005aa57818101518382015260200162000590565b83811115620000895750506000910152565b634e487b7160e01b600052604160045260246000fd5b6108f080620005e26000396000f3fe6080604052600436106100595760003560e01c80633659cfe6146100705780634f1ef286146100905780635c60da1b146100a35780638f283970146100d4578063aaf10f42146100f4578063f851a4401461010957610068565b366100685761006661011e565b005b61006661011e565b34801561007c57600080fd5b5061006661008b366004610780565b610138565b61006661009e36600461079a565b61017f565b3480156100af57600080fd5b506100b86101f0565b6040516001600160a01b03909116815260200160405180910390f35b3480156100e057600080fd5b506100666100ef366004610780565b61022b565b34801561010057600080fd5b506100b8610255565b34801561011557600080fd5b506100b86102bf565b610126610325565b6101366101316103bf565b6103c9565b565b6101406103ed565b6001600160a01b0316336001600160a01b031614156101775761017481604051806020016040528060008152506000610420565b50565b61017461011e565b6101876103ed565b6001600160a01b0316336001600160a01b031614156101e8576101e38383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610420915050565b505050565b6101e361011e565b60006101fa6103ed565b6001600160a01b0316336001600160a01b031614156102205761021b6103bf565b905090565b61022861011e565b90565b6102336103ed565b6001600160a01b0316336001600160a01b03161415610177576101748161044b565b600061025f6103ed565b6001600160a01b0316336001600160a01b0316146040518060400160405280600381526020016203130360ec1b815250906102b65760405162461bcd60e51b81526004016102ad9190610834565b60405180910390fd5b5061021b61049f565b60006102c96103ed565b6001600160a01b0316336001600160a01b031614156102205761021b6103ed565b606061030f8383604051806060016040528060278152602001610894602791396104c7565b9392505050565b6001600160a01b03163b151590565b61032d6103ed565b6001600160a01b0316336001600160a01b031614156101365760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4016102ad565b600061021b61049f565b3660008037600080366000845af43d6000803e8080156103e8573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b6104298361053f565b6000825111806104365750805b156101e35761044583836102ea565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6104746103ed565b604080516001600160a01b03928316815291841660208301520160405180910390a16101748161057f565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610411565b6060600080856001600160a01b0316856040516104e49190610818565b600060405180830381855af49150503d806000811461051f576040519150601f19603f3d011682016040523d82523d6000602084013e610524565b606091505b509150915061053586838387610628565b9695505050505050565b610548816106a6565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6001600160a01b0381166105e45760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ad565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060831561069457825161068d576001600160a01b0385163b61068d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102ad565b508161069e565b61069e838361073a565b949350505050565b6001600160a01b0381163b6107135760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016102ad565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610607565b81511561074a5781518083602001fd5b8060405162461bcd60e51b81526004016102ad9190610834565b80356001600160a01b038116811461077b57600080fd5b919050565b600060208284031215610791578081fd5b61030f82610764565b6000806000604084860312156107ae578182fd5b6107b784610764565b9250602084013567ffffffffffffffff808211156107d3578384fd5b818601915086601f8301126107e6578384fd5b8135818111156107f4578485fd5b876020828501011115610805578485fd5b6020830194508093505050509250925092565b6000825161082a818460208701610867565b9190910192915050565b6020815260008251806020840152610853816040850160208701610867565b601f01601f19169190910160400192915050565b60005b8381101561088257818101518382015260200161086a565b83811115610445575050600091015256fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122048a92db2ff2fc88e5f2d66ccfd9ae8d547e01d99a22c3aa0f6d7b4e7d6b471dc64736f6c63430008040033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000d451a27c2de92b4be96228d920973dc6f6106fe1000000000000000000000000ecafb684d4b9f48cc69021c4542c83cd25db9b2900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000144d3b1e9a40000000000000000000000007e3be61eaabe8e05036beb0859b8059b3f40809f0000000000000000000000004553a30b8022e6a6e83a4fbadb65e0cc31d4d76c00000000000000000000000005ac075deeedacaa0d8f81943596a9879fddb992000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000165562696c6f616e204c697175696469747920574554480000000000000000000000000000000000000000000000000000000000000000000000000000000000145562696c6f616e4c69717569646974795745544800000000000000000000000000000000000000000000000000000000000000000000000000000000