Skip to content

Instantly share code, notes, and snippets.

View sorawit's full-sized avatar

Sorawit Suriyakarn sorawit

View GitHub Profile
apt-get update -y
apt-get upgrade -y
apt-get install -y build-essential
wget https://dl.google.com/go/go1.13.7.linux-amd64.tar.gz
tar -xvf go1.13.7.linux-amd64.tar.gz
mv go /usr/local/
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
source ~/.profile
pragma solidity 0.5.0;
import "openzeppelin-solidity/contracts/math/SafeMath.sol";
/**
* @title Equation
*
* @dev Equation library abstracts the representation of mathematics equation.
* As of current, an equation is basically an expression tree of constants,