Loading
[ { "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" } ]
60806040523480156200001157600080fd5b5060405162000f1138038062000f1183398101604081905262000034916200051b565b82828282816200006660017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd620005fb565b60008051602062000eca8339815191521462000086576200008662000621565b6200009482826000620000fb565b50620000c4905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6104620005fb565b60008051602062000eaa83398151915214620000e457620000e462000621565b620000ef8262000138565b5050505050506200068a565b620001068362000193565b600082511180620001145750805b156200013357620001318383620001d560201b6200022e1760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200016362000204565b604080516001600160a01b03928316815291841660208301520160405180910390a162000190816200023d565b50565b6200019e81620002f2565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060620001fd838360405180606001604052806027815260200162000eea6027913962000395565b9392505050565b60006200022e60008051602062000eaa83398151915260001b6200047260201b620001ea1760201c565b546001600160a01b0316919050565b6001600160a01b038116620002a85760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b80620002d160008051602062000eaa83398151915260001b6200047260201b620001ea1760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b62000308816200047560201b6200025a1760201c565b6200036c5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016200029f565b80620002d160008051602062000eca83398151915260001b6200047260201b620001ea1760201c565b6060833b620003f65760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016200029f565b600080856001600160a01b03168560405162000413919062000637565b600060405180830381855af49150503d806000811462000450576040519150601f19603f3d011682016040523d82523d6000602084013e62000455565b606091505b509092509050620004688282866200047b565b9695505050505050565b90565b3b151590565b606083156200048c575081620001fd565b8251156200049d5782518084602001fd5b8160405162461bcd60e51b81526004016200029f919062000655565b80516001600160a01b0381168114620004d157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101562000509578181015183820152602001620004ef565b83811115620001315750506000910152565b6000806000606084860312156200053157600080fd5b6200053c84620004b9565b92506200054c60208501620004b9565b60408501519092506001600160401b03808211156200056a57600080fd5b818601915086601f8301126200057f57600080fd5b815181811115620005945762000594620004d6565b604051601f8201601f19908116603f01168101908382118183101715620005bf57620005bf620004d6565b81604052828152896020848701011115620005d957600080fd5b620005ec836020830160208801620004ec565b80955050505050509250925092565b6000828210156200061c57634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b600082516200064b818460208701620004ec565b9190910192915050565b602081526000825180602084015262000676816040850160208701620004ec565b601f01601f19169190910160400192915050565b610810806200069a6000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c9578063f851a440146100e95761005d565b3661005d5761005b6100fe565b005b61005b6100fe565b34801561007157600080fd5b5061005b61008036600461069a565b610118565b61005b6100933660046106b5565b610155565b3480156100a457600080fd5b506100ad6101bc565b6040516001600160a01b03909116815260200160405180910390f35b3480156100d557600080fd5b5061005b6100e436600461069a565b6101ed565b3480156100f557600080fd5b506100ad61020d565b610106610260565b6101166101116102f5565b6102ff565b565b610120610323565b6001600160a01b0316330361014d5761014a81604051806020016040528060008152506000610356565b50565b61014a6100fe565b61015d610323565b6001600160a01b031633036101b4576101af8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610356915050565b505050565b6101af6100fe565b60006101c6610323565b6001600160a01b031633036101e2576101dd6102f5565b905090565b6101ea6100fe565b90565b6101f5610323565b6001600160a01b0316330361014d5761014a81610381565b6000610217610323565b6001600160a01b031633036101e2576101dd610323565b606061025383836040518060600160405280602781526020016107b4602791396103d5565b9392505050565b3b151590565b610268610323565b6001600160a01b031633036101165760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4015b60405180910390fd5b60006101dd6104a9565b3660008037600080366000845af43d6000803e80801561031e573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b61035f836104d1565b60008251118061036c5750805b156101af5761037b838361022e565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103aa610323565b604080516001600160a01b03928316815291841660208301520160405180910390a161014a81610511565b6060833b6104345760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016102ec565b600080856001600160a01b03168560405161044f9190610764565b600060405180830381855af49150503d806000811461048a576040519150601f19603f3d011682016040523d82523d6000602084013e61048f565b606091505b509150915061049f8282866105ba565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610347565b6104da816105f3565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6001600160a01b0381166105765760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ec565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80546001600160a01b0319166001600160a01b039290921691909117905550565b606083156105c9575081610253565b8251156105d95782518084602001fd5b8160405162461bcd60e51b81526004016102ec9190610780565b803b6106575760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016102ec565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610599565b80356001600160a01b038116811461069557600080fd5b919050565b6000602082840312156106ac57600080fd5b6102538261067e565b6000806000604084860312156106ca57600080fd5b6106d38461067e565b9250602084013567ffffffffffffffff808211156106f057600080fd5b818601915086601f83011261070457600080fd5b81358181111561071357600080fd5b87602082850101111561072557600080fd5b6020830194508093505050509250925092565b60005b8381101561075357818101518382015260200161073b565b8381111561037b5750506000910152565b60008251610776818460208701610738565b9190910192915050565b602081526000825180602084015261079f816040850160208701610738565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206d09e0d2711672c76e965e44ac79a425b69335237389ef87b0fd68869d4ad32864736f6c634300080f0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000417fd47f89ce3ab1c46bc547300bf294d3f2b0920000000000000000000000006726f8c91cd0c4d08218097f4f513533b7f34896000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001246cf1dbed0000000000000000000000001d19ec20761397e8786777385feab9d902f5f65800000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000007236271c2bdf8d1fccd01f226214645e0588833000000000000000000000000441ab2c4e609e0a8e6fe73ad90957c2c552c05db00000000000000000000000000000000000000000000000000000000000000165772617070656420526f6c6c696e6720542d62696c6c000000000000000000000000000000000000000000000000000000000000000000000000000000000005777254424c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000