Skip to content

Commit

Permalink
inital commit zep os
Browse files Browse the repository at this point in the history
  • Loading branch information
mcortesi committed May 26, 2018
0 parents commit 6f2d88c
Show file tree
Hide file tree
Showing 7 changed files with 6,184 additions and 0 deletions.
1 change: 1 addition & 0 deletions contracts/.gitkeep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
null
11 changes: 11 additions & 0 deletions contracts/DaiDex.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
pragma solidity 0.4.24;

import "zos-lib/contracts/migrations/Migratable.sol";

contract DaiDex is Migratable {
uint256 public x;

function initialize(uint256 _x) isInitializer("DaiDex", "0") public {
x = _x;
}
}
1 change: 1 addition & 0 deletions migrations/.gitkeep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
null
13 changes: 13 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "daidex",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"ganache-cli": "^6.1.0",
"zos": "^1.0.0"
},
"dependencies": {
"zos-lib": "^1.0.0"
}
}
12 changes: 12 additions & 0 deletions truffle-config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
'use strict';

module.exports = {
networks: {
local: {
host: 'localhost',
port: 9545,
gas: 5000000,
network_id: '*'
}
}
};
Loading

0 comments on commit 6f2d88c

Please sign in to comment.