Skip to content

Instantly share code, notes, and snippets.

View codingthat's full-sized avatar

Kevin Bloch codingthat

View GitHub Profile
@codingthat
codingthat / Machine.sol
Last active September 28, 2020 10:15 — forked from michalmikolajczyk/Machine.sol
Smart Contract to represent a machine on blockchain, with basic rental interface
pragma solidity ^0.4.18;
import '../node_modules/zeppelin-solidity/contracts/token/ERC20Basic.sol';
import '../node_modules/zeppelin-solidity/contracts/token/SafeERC20.sol';
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/