Verified contractPartialMIT
Incompatable
Address0x34d600c97801a829efdf3f51e172f00bd2d7b395
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.8.27
- Same code
Only this contract
Details
- Compiler
- solc 0.8.27+commit.40a35a09
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- cancun
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 20,883,752
- Creation transaction
- 0xe814a0c822…d824deeffc
Incompatable.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.8.27;
interface IICompatatable {
function callChangeStorage(
uint256 _newNumber
)
external;
function latestAnswer()
external
view
returns (uint256);
}
contract Incompatable {
uint256 public latestAnswer = 3;
function callChangeStorage(
uint256 _newNumber
)
external
{
latestAnswer = _newNumber;
}
function callExternalWrite(
address _externalContract,
uint256 _newNumber
)
external
{
IICompatatable(_externalContract).callChangeStorage(
_newNumber
);
}
function callExternalView(
address _externalContract
)
external
view
returns (uint256)
{
return IICompatatable(_externalContract).latestAnswer();
}
}Compiler settingsShow
{
"metadata": {
"bytecodeHash": "ipfs"
},
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": true
},
"evmVersion": "cancun",
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.