Skip to content

Instantly share code, notes, and snippets.

View fengtality's full-sized avatar

Michael Feng fengtality

View GitHub Profile
// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v2.5.0
pragma solidity ^0.5.5;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/
interface IERC20 {
/**
@fengtality
fengtality / modular-contracts
Last active November 15, 2017 07:41
Sample code
contract Fund is Ownable {
Calculator calculator;
uint input1;
uint input2;
uint output;
function Fund (address _calculatorAddress) {
calculator = Calculator(_calculatorAddress);
}
0x40365e449eb12860890ba68ea064877e44e5125e
@fengtality
fengtality / rinkeby
Created June 20, 2017 21:39
rinkeby
0x00053Ad7CF32992809785Ca579334588f5c6238f