Skip to content

Commit

Permalink
adds oz
Browse files Browse the repository at this point in the history
adds ADIToken without impl
  • Loading branch information
elmariachi111 committed May 19, 2020
1 parent be408ca commit 38ef095
Show file tree
Hide file tree
Showing 8 changed files with 29,900 additions and 43 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ psd
thumb
sketch

# End of https://www.gitignore.io/api/react
# End of https://www.gitignore.io/api/react
.openzeppelin/.session

.openzeppelin/dev-*
build
27 changes: 27 additions & 0 deletions .openzeppelin/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"manifestVersion": "2.2",
"contracts": {
"ADIToken": "ADIToken"
},
"dependencies": {
"@openzeppelin/contracts-ethereum-package": "^3.0.0"
},
"name": "ledger-academy",
"version": "1.0.0",
"compiler": {
"compilerSettings": {
"optimizer": {
"enabled": false,
"runs": "200"
}
},
"typechain": {
"enabled": false
},
"manager": "openzeppelin",
"solcVersion": "0.6.7",
"artifactsDir": "build/contracts",
"contractsDir": "contracts"
},
"telemetryOptIn": true
}
6 changes: 6 additions & 0 deletions contracts/ADIToken.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pragma solidity ^0.6.0;

import "@openzeppelin/contracts-ethereum-package/contracts/presets/ERC20PresetMinterPauser.sol";


contract ADIToken is ERC20PresetMinterPauserUpgradeSafe {}
12 changes: 12 additions & 0 deletions networks.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
networks: {
development: {
protocol: 'http',
host: '127.0.0.1',
port: 7545,
gas: 5000000,
gasPrice: 5e9,
networkId: '*',
},
},
};
Loading

0 comments on commit 38ef095

Please sign in to comment.