This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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, |
NewerOlder