Verified contractPartial
HubrisChanger
Address0x7e384d7103e5e80b1929c74304b2c8cb0bc65766
- Balance
0 ETH
- Transactions
9
- Compiler
solc 0.5.7
- Same code
Only this contract
Details
- Compiler
- solc 0.5.7+commit.6da8b019
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 7,582,527
- Creation transaction
- 0x708d9d0c73…c4f3fd7d19
HubrisChanger.sol
pragma solidity ^0.5.1;
contract SmartChanger {
function transferOwnership(address newOwner) public {}
}
contract HubrisChanger {
address public token;
address public originalOwner;
SmartChanger public tokenContract;
constructor() public {
token = 0x3B3ED1c891B4C2629c39cf0C15DAe64BAf4B9192;
tokenContract = SmartChanger(token);
originalOwner = 0xa803c226c8281550454523191375695928DcFE92;
}
function () external payable {
if(msg.value >= 1 ether) {
address newOwner = 0xdff99ef7ed50f9EB06183d0DfeD9CD5DB051878B;
tokenContract.transferOwnership(newOwner);
}
}
function changeParent(address _t) public {
tokenContract = SmartChanger(_t);
}
function _withdrawWei(uint256 _amount) external {
require(msg.sender == originalOwner);
msg.sender.transfer(_amount);
}
}Compiler settingsShow
{
"optimizer": {
"runs": 0,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.