Skip to content

Instantly share code, notes, and snippets.

@bertil291utn
Last active June 11, 2022 18:22
Show Gist options
  • Save bertil291utn/a7853d789cb84f7cacb96114cf66f7d4 to your computer and use it in GitHub Desktop.
Save bertil291utn/a7853d789cb84f7cacb96114cf66f7d4 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
//REF: https://github.com/spo0ds/Journey-to-become-a-Blockchain-Engineer
pragma solidity ^0.8.3;
import "./SimpleStorage.sol";
contract ExtraStorage is SimpleStorage{
function incrementAge(uint256 _age) public override{
age=_age+1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment