Skip to content

Instantly share code, notes, and snippets.

View timsankara's full-sized avatar
😀
Open to collaboration

Tim Sankara timsankara

😀
Open to collaboration
View GitHub Profile
@timsankara
timsankara / Inheritance.sol
Created October 12, 2019 12:01
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.5.11+commit.c082d0b4.js&optimize=false&gist=
pragma solidity ^0.5.0;
// Will show inheritance between two contracts
contract Minter{
string name public;
mapping(address => uint256) balances public;
function mint() public{
balances++;