Loading
[ { "inputs": [ { "internalType": "address", "name": "implementationAddress", "type": "address" }, { "internalType": "address", "name": "ownerAddress", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "stateMutability": "payable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousImplementation", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newImplementation", "type": "address" } ], "name": "ProxyImplementationUpdated", "type": "event" }, { "stateMutability": "payable", "type": "fallback" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "id", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "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" } ]
60806040526040516109ab3803806109ab833981016040819052610022916101e6565b61002c838261003d565b61003582610119565b5050506102d2565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8054908390556040516001600160a01b0380851691908316907f5570d70a002632a7b0b3c9304cc89efb62d8da9eca0dbd7752c83b737906829690600090a3815115610114576000836001600160a01b0316836040516100be91906102b6565b600060405180830381855af49150503d80600081146100f9576040519150601f19603f3d011682016040523d82523d6000602084013e6100fe565b606091505b5050905080610112573d806000803e806000fd5b505b505050565b600061013160008051602061098b8339815191525490565b90508160008051602061098b83398151915255816001600160a01b0316816001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80516001600160a01b038116811461019f57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156101d55781810151838201526020016101bd565b838111156101125750506000910152565b6000806000606084860312156101fb57600080fd5b61020484610188565b925061021260208501610188565b60408501519092506001600160401b038082111561022f57600080fd5b818601915086601f83011261024357600080fd5b815181811115610255576102556101a4565b604051601f8201601f19908116603f0116810190838211818310171561027d5761027d6101a4565b8160405282815289602084870101111561029657600080fd5b6102a78360208301602088016101ba565b80955050505050509250925092565b600082516102c88184602087016101ba565b9190910192915050565b6106aa806102e16000396000f3fe60806040526004361061004e5760003560e01c806301ffc9a71461009b5780633659cfe6146100d05780634f1ef286146100f05780638da5cb5b14610103578063f2fde38b1461013057610091565b366100915760405162461bcd60e51b815260206004820152600e60248201526d115512115497d491529150d5115160921b60448201526064015b60405180910390fd5b610099610150565b005b3480156100a757600080fd5b506100bb6100b63660046104eb565b610189565b60405190151581526020015b60405180910390f35b3480156100dc57600080fd5b506100996100eb366004610531565b61026f565b6100996100fe36600461054c565b6102c3565b34801561010f57600080fd5b50610118610340565b6040516001600160a01b0390911681526020016100c7565b34801561013c57600080fd5b5061009961014b366004610531565b61034f565b6000805160206106558339815191525460003681823780813683855af491503d8082833e82801561017f578183f35b8183fd5b50505050565b60006301ffc9a760e01b6001600160e01b0319831614806101ba57506307f5828d60e41b6001600160e01b03198316145b156101c757506001919050565b6001600160e01b031980831614156101e157506000919050565b600080516020610655833981519152546040516301ffc9a760e01b81526001600160e01b0319841660048201526001600160a01b038216906301ffc9a790602401602060405180830381865afa92505050801561025b575060408051601f3d908101601f19168201909252610258918101906105cf565b60015b6102685750600092915050565b9392505050565b610277610390565b6001600160a01b0316336001600160a01b0316146102a75760405162461bcd60e51b8152600401610088906105f1565b6102c081604051806020016040528060008152506103b5565b50565b6102cb610390565b6001600160a01b0316336001600160a01b0316146102fb5760405162461bcd60e51b8152600401610088906105f1565b61033b8383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506103b592505050565b505050565b600061034a610390565b905090565b610357610390565b6001600160a01b0316336001600160a01b0316146103875760405162461bcd60e51b8152600401610088906105f1565b6102c081610478565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b6000805160206106558339815191528054908390556040516001600160a01b0380851691908316907f5570d70a002632a7b0b3c9304cc89efb62d8da9eca0dbd7752c83b737906829690600090a381511561033b576000836001600160a01b0316836040516104249190610619565b600060405180830381855af49150503d806000811461045f576040519150601f19603f3d011682016040523d82523d6000602084013e610464565b606091505b5050905080610183573d806000803e806000fd5b6000610482610390565b9050817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355816001600160a01b0316816001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000602082840312156104fd57600080fd5b81356001600160e01b03198116811461026857600080fd5b80356001600160a01b038116811461052c57600080fd5b919050565b60006020828403121561054357600080fd5b61026882610515565b60008060006040848603121561056157600080fd5b61056a84610515565b9250602084013567ffffffffffffffff8082111561058757600080fd5b818601915086601f83011261059b57600080fd5b8135818111156105aa57600080fd5b8760208285010111156105bc57600080fd5b6020830194508093505050509250925092565b6000602082840312156105e157600080fd5b8151801515811461026857600080fd5b6020808252600e908201526d1393d517d055551213d49256915160921b604082015260600190565b6000825160005b8181101561063a5760208186018101518583015201610620565b81811115610649576000828501525b50919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca26469706673582212207b10a75267c311f7d1da8a35473972ca6584d0bc9002c659b7b7f16222dd763264736f6c634300080a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103000000000000000000000000b9b20836467afdae6dd0112b45a91f5fdfac9795000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000