Verified contractExactUNLICENSED
DomainStorage
Address0x0da763d7a0ad6696a0253bdebc3c2e407432a35e
- Balance
0 ETH
- Transactions
4
- Compiler
solc 0.8.14
- Same code
2 more contracts
Details
- Compiler
- solc 0.8.14+commit.80d49f37
- Language
- solidity
- Optimization
- No
- License
- UNLICENSED
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,472,986
- Creation transaction
- 0x18a57f7868…1505374b01
99.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.14;
/**
* Контракт восстановлен 1:1 из runtime bytecode
* Адрес: 0xB6bC9e1D0b2fB96Ab7C47E04Cb0BE477410bC1f2
* Компилятор: 0.8.14
*/
contract DomainStorage {
address private _owner; // slot 0
string private _data; // slot 1
// topic0 = 0x0e540ff014403c501655ba5fcd7f36ec5f6df99f851e513e7d6c4c93da112174
event DomainUpdated(string, string);
constructor() {
_owner = msg.sender;
}
/// @dev selector: 0xb249cd2d
function updateDomain(string calldata newValue) external {
require(msg.sender == _owner, "only owner");
string memory oldValue = _data;
_data = newValue;
emit DomainUpdated(oldValue, newValue);
}
/// @dev selector: 0xb68d1809
function getDomain() external view returns (string memory) {
return _data;
}
/// @dev selector: 0xe096a091
function domain() external view returns (string memory) {
return _data;
}
/// @dev selector: 0xf851a440
function owner() external view returns (address) {
return _owner;
}
}Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
},
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.