Skip to content

Commit

Permalink
setup project
Browse files Browse the repository at this point in the history
  • Loading branch information
arseneeth committed Mar 20, 2020
1 parent 19debeb commit 22e739a
Show file tree
Hide file tree
Showing 7 changed files with 6,279 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules
4 changes: 4 additions & 0 deletions .openzeppelin/.session
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"network": "development",
"expires": "2020-03-20T10:24:49.166Z"
}
52 changes: 52 additions & 0 deletions .openzeppelin/dev-1584699791783.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"contracts": {
"Counter": {
"address": "0xe78A0F7E598Cc8b0Bb87894B0F60dD2a88d6a8Ab",
"constructorCode": "6080604052348015600f57600080fd5b5060a98061001e6000396000f3fe",
"bodyBytecodeHash": "00586b60064c8edb9a1222a45da4dae04bf57c4ae372af2290cb2daef48e3cfa",
"localBytecodeHash": "46ad039f90cba3c3d8b0788901a73a192eb07ac9d843047144b22ca7494787b6",
"deployedBytecodeHash": "46ad039f90cba3c3d8b0788901a73a192eb07ac9d843047144b22ca7494787b6",
"types": {
"t_uint256": {
"id": "t_uint256",
"kind": "elementary",
"label": "uint256"
}
},
"storage": [
{
"contract": "Counter",
"path": "contracts/Counter.sol",
"label": "value",
"astId": 3,
"type": "t_uint256",
"src": "73:20:0"
}
],
"warnings": {
"hasConstructor": false,
"hasSelfDestruct": false,
"hasDelegateCall": false,
"hasInitialValuesInDeclarations": false,
"uninitializedBaseContracts": []
}
}
},
"solidityLibs": {},
"proxies": {
"contracts/Counter": [
{
"address": "0xCfEB869F69431e42cdB54A4F4f105C19C080A601",
"version": "0.0.1",
"implementation": "0xe78A0F7E598Cc8b0Bb87894B0F60dD2a88d6a8Ab",
"admin": "0x5b1869D9A4C187F2EAa108f3062412ecf0526b24",
"kind": "Upgradeable"
}
]
},
"manifestVersion": "2.2",
"version": "0.0.1",
"proxyAdmin": {
"address": "0x5b1869D9A4C187F2EAa108f3062412ecf0526b24"
}
}
25 changes: 25 additions & 0 deletions .openzeppelin/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"manifestVersion": "2.2",
"contracts": {
"Counter": "Counter"
},
"dependencies": {},
"name": "contracts",
"version": "0.0.1",
"compiler": {
"compilerSettings": {
"optimizer": {
"enabled": false,
"runs": "200"
}
},
"typechain": {
"enabled": false
},
"manager": "openzeppelin",
"solcVersion": "0.5.17",
"artifactsDir": "build/contracts",
"contractsDir": "contracts"
},
"telemetryOptIn": false
}
8 changes: 8 additions & 0 deletions contracts/TokenFactory.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
pragma solidity ^0.5.3;

import '@openzeppelin/upgrades/contracts/upgradeability/ProxyFactory.sol';

contract TokenFactory is ProxyFactory {

}

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: 'localhost',
port: 8545,
gas: 5000000,
gasPrice: 5e9,
networkId: '*',
},
},
};
Loading

0 comments on commit 22e739a

Please sign in to comment.