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": "view", "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": "view", "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" } ]
608060405260405162000f0d38038062000f0d833981016040819052620000269162000473565b828162000036828260006200009a565b5062000066905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610462000553565b60008051602062000ec68339815191521462000086576200008662000575565b6200009182620000cc565b505050620005de565b620000a5836200013e565b600082511180620000b35750805b15620000c757620000c5838362000180565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200010e60008051602062000ec6833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200013b81620001b1565b50565b62000149816200024f565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060620001a8838360405180606001604052806027815260200162000ee660279139620002e6565b90505b92915050565b6001600160a01b0381166200021c5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b8060008051602062000ec68339815191525b80546001600160a01b0319166001600160a01b039290921691909117905550565b6001600160a01b0381163b620002be5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840162000213565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6200022e565b6060600080856001600160a01b0316856040516200030591906200058b565b600060405180830381855af49150503d806000811462000342576040519150601f19603f3d011682016040523d82523d6000602084013e62000347565b606091505b5090925090506200035b8683838762000365565b9695505050505050565b60608315620003d9578251600003620003d1576001600160a01b0385163b620003d15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640162000213565b5081620003e5565b620003e58383620003ed565b949350505050565b815115620003fe5781518083602001fd5b8060405162461bcd60e51b8152600401620002139190620005a9565b80516001600160a01b03811681146200043257600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200046a57818101518382015260200162000450565b50506000910152565b6000806000606084860312156200048957600080fd5b62000494846200041a565b9250620004a4602085016200041a565b60408501519092506001600160401b0380821115620004c257600080fd5b818601915086601f830112620004d757600080fd5b815181811115620004ec57620004ec62000437565b604051601f8201601f19908116603f0116810190838211818310171562000517576200051762000437565b816040528281528960208487010111156200053157600080fd5b620005448360208301602088016200044d565b80955050505050509250925092565b81810381811115620001ab57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052600160045260246000fd5b600082516200059f8184602087016200044d565b9190910192915050565b6020815260008251806020840152620005ca8160408501602087016200044d565b601f01601f19169190910160400192915050565b6108d880620005ee6000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c9578063f851a440146100e95761005d565b3661005d5761005b6100fe565b005b61005b6100fe565b34801561007157600080fd5b5061005b610080366004610741565b610118565b61005b61009336600461075c565b610177565b3480156100a457600080fd5b506100ad6101f7565b6040516001600160a01b03909116815260200160405180910390f35b3480156100d557600080fd5b5061005b6100e4366004610741565b61023e565b3480156100f557600080fd5b506100ad61027f565b6101066102c1565b610116610111610351565b61035b565b565b61012061037f565b6001600160a01b0316336001600160a01b0316146101595760405162461bcd60e51b8152600401610150906107df565b60405180910390fd5b610174816040518060200160405280600081525060006103b2565b50565b61017f61037f565b6001600160a01b0316336001600160a01b0316146101af5760405162461bcd60e51b8152600401610150906107df565b6101f28383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250600192506103b2915050565b505050565b600061020161037f565b6001600160a01b0316336001600160a01b0316146102315760405162461bcd60e51b8152600401610150906107df565b610239610351565b905090565b61024661037f565b6001600160a01b0316336001600160a01b0316146102765760405162461bcd60e51b8152600401610150906107df565b610174816103dd565b600061028961037f565b6001600160a01b0316336001600160a01b0316146102b95760405162461bcd60e51b8152600401610150906107df565b61023961037f565b6102c961037f565b6001600160a01b031633036101165760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a401610150565b6000610239610431565b3660008037600080366000845af43d6000803e80801561037a573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b6103bb83610459565b6000825111806103c85750805b156101f2576103d78383610499565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61040661037f565b604080516001600160a01b03928316815291841660208301520160405180910390a1610174816104c5565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6103a3565b6104628161056e565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606104be838360405180606001604052806027815260200161087c60279139610602565b9392505050565b6001600160a01b03811661052a5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b6064820152608401610150565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80546001600160a01b0319166001600160a01b039290921691909117905550565b6001600160a01b0381163b6105db5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610150565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc61054d565b6060600080856001600160a01b03168560405161061f919061082c565b600060405180830381855af49150503d806000811461065a576040519150601f19603f3d011682016040523d82523d6000602084013e61065f565b606091505b50915091506106708683838761067a565b9695505050505050565b606083156106e95782516000036106e2576001600160a01b0385163b6106e25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610150565b50816106f3565b6106f383836106fb565b949350505050565b81511561070b5781518083602001fd5b8060405162461bcd60e51b81526004016101509190610848565b80356001600160a01b038116811461073c57600080fd5b919050565b60006020828403121561075357600080fd5b6104be82610725565b60008060006040848603121561077157600080fd5b61077a84610725565b9250602084013567ffffffffffffffff8082111561079757600080fd5b818601915086601f8301126107ab57600080fd5b8135818111156107ba57600080fd5b8760208285010111156107cc57600080fd5b6020830194508093505050509250925092565b6020808252600f908201526e2737ba1020baba3437b934bd32b21760891b604082015260600190565b60005b8381101561082357818101518382015260200161080b565b50506000910152565b6000825161083e818460208701610808565b9190910192915050565b6020815260008251806020840152610867816040850160208701610808565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220759b98a52fe74e988990351d8df0ee907bdef8e0c7f3aaacb1f47c8e5bf99dd564736f6c63430008180033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000f77a127a00eb86a370f1ceb8aba8a2e8ebfe99bc000000000000000000000000a51a29d9eb9de3be70b1b8c046f9bb1b04e4345e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000