Skip to content

Instantly share code, notes, and snippets.

View DiasFilipe's full-sized avatar

Filipe Dias DiasFilipe

  • Rio de Janeiro. BR
View GitHub Profile
@rhlsthrm
rhlsthrm / MockDai.sol
Created March 1, 2019 04:51
Mintable token using latest OpenZeppelin contracts, for Solidity ^0.5.2.
pragma solidity ^0.5.2;
/**
* @title Roles
* @dev Library for managing addresses assigned to a Role.
*/
library Roles {
struct Role {
mapping (address => bool) bearer;
}