Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
updated openzeppelin and TutorialToken
Browse files Browse the repository at this point in the history
  • Loading branch information
MNG authored and MNG committed Jan 23, 2020
1 parent 570fff5 commit 26f9ef5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
6 changes: 3 additions & 3 deletions contracts/TutorialToken.sol
@@ -1,12 +1,12 @@
pragma solidity >=0.4.21 <0.7.0;

import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract TutorialToken is ERC20 {
string public name = "TutorialToken";
string public symbol = "TT";
uint public decimals = 2;
uint public INITIAL_SUPPLY = 12000;
uint256 public decimals = 2;
uint256 public INITIAL_SUPPLY = 12000;

constructor() public {
_mint(msg.sender, INITIAL_SUPPLY);
Expand Down
13 changes: 0 additions & 13 deletions package-lock.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -21,6 +21,6 @@
},
"homepage": "https://github.com/truffle-box/drizzle-box#readme",
"dependencies": {
"openzeppelin-solidity": "^2.1.1"
"@openzeppelin/contracts": "^2.4.0"
}
}

0 comments on commit 26f9ef5

Please sign in to comment.