You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
316 B
15 lines
316 B
pragma solidity >=0.8.0 <0.9.0;
|
|
|
|
contract PureView {
|
|
|
|
// Make sure we aren't corrupting anything with the replace
|
|
uint notpureview = 5;
|
|
|
|
function inheritedPure(uint a, uint b) public pure returns(uint){
|
|
return a + b;
|
|
}
|
|
|
|
function inheritedView() public view returns (uint){
|
|
return notpureview;
|
|
}
|
|
} |