[ { "inputs": [ { "internalType": "address", "name": "admin", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "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": "", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "implementation", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_logic", "type": "address" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "name": "initialize", "outputs": [], "stateMutability": "payable", "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" } ]
60a060405234801561001057600080fd5b506040516109f23803806109f283398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516109446100ae60003960008181610160015281816101b201528181610285015281816104220152818161044b01526105cb01526109446000f3fe60806040526004361061005e5760003560e01c80635c60da1b116100435780635c60da1b146100a8578063d1f57894146100e6578063f851a440146100f95761006d565b80633659cfe6146100755780634f1ef286146100955761006d565b3661006d5761006b61010e565b005b61006b61010e565b34801561008157600080fd5b5061006b6100903660046106a2565b610148565b61006b6100a33660046106c4565b61019a565b3480156100b457600080fd5b506100bd61026b565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61006b6100f4366004610776565b6102dc565b34801561010557600080fd5b506100bd610408565b61011661046d565b6101466101417f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b610475565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101925761018f81610499565b50565b61018f61010e565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561025e576101e183610499565b60008373ffffffffffffffffffffffffffffffffffffffff16838360405161020a929190610856565b600060405180830381855af49150503d8060008114610245576040519150601f19603f3d011682016040523d82523d6000602084013e61024a565b606091505b505090508061025857600080fd5b50505050565b61026661010e565b505050565b60003373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156102d157507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6102d961010e565b90565b60006103067f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b73ffffffffffffffffffffffffffffffffffffffff161461032657600080fd5b61035160017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd610866565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc1461037f5761037f6108a4565b610388826104e6565b8051156104045760008273ffffffffffffffffffffffffffffffffffffffff16826040516103b691906108d3565b600060405180830381855af49150503d80600081146103f1576040519150601f19603f3d011682016040523d82523d6000602084013e6103f6565b606091505b505090508061026657600080fd5b5050565b60003373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156102d157507f000000000000000000000000000000000000000000000000000000000000000090565b6101466105b3565b3660008037600080366000845af43d6000803e808015610494573d6000f35b3d6000fd5b6104a2816104e6565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b73ffffffffffffffffffffffffffffffffffffffff81163b61058f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f60448201527f6e20746f2061206e6f6e2d636f6e74726163742061646472657373000000000060648201526084015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610146576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e20667260448201527f6f6d207468652070726f78792061646d696e00000000000000000000000000006064820152608401610586565b803573ffffffffffffffffffffffffffffffffffffffff8116811461069d57600080fd5b919050565b6000602082840312156106b457600080fd5b6106bd82610679565b9392505050565b6000806000604084860312156106d957600080fd5b6106e284610679565b9250602084013567ffffffffffffffff808211156106ff57600080fd5b818601915086601f83011261071357600080fd5b81358181111561072257600080fd5b87602082850101111561073457600080fd5b6020830194508093505050509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806040838503121561078957600080fd5b61079283610679565b9150602083013567ffffffffffffffff808211156107af57600080fd5b818501915085601f8301126107c357600080fd5b8135818111156107d5576107d5610747565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561081b5761081b610747565b8160405282815288602084870101111561083457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b8183823760009101908152919050565b60008282101561089f577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b6000825160005b818110156108f457602081860181015185830152016108da565b81811115610903576000828501525b50919091019291505056fea2646970667358221220f2710533727b7d1b9850327507306138033f07ef93b7f71a3253c72d9546b9a764736f6c634300080a003300000000000000000000000011ce60fc2f66a16deabaae38a45f588d1ba9f436