forked from MyBitFoundation/MyBit-Network.tech
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
78 lines (63 loc) · 2.53 KB
/
index.js
File metadata and controls
78 lines (63 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
var fs = require("fs");
var path = require('path');
var appRoot = path.resolve(__dirname);
module.exports = {
MyBit: function(){
return JSON.parse(fs.readFileSync(appRoot + '/build/contracts/BurnableToken.json'));
},
ERC20Burner: function(){
return JSON.parse(fs.readFileSync(appRoot + '/build/contracts/ERC20Burner.json'));
},
Database: function(){
var DatabaseJSON = JSON.parse(fs.readFileSync(appRoot + '/build/contracts/Database.json'));
return DatabaseJSON;
},
ContractManager: function(){
var ContractManagerJSON = JSON.parse(fs.readFileSync(appRoot + '/build/contracts/ContractManager.json'));
return ContractManagerJSON;
},
SingleOwned: function(){
var SingleOwnedJSON = JSON.parse(fs.readFileSync(appRoot + '/build/contracts/SingleOwned.json'));
return SingleOwnedJSON;
},
Pausible: function(){
var PausibleJSON = JSON.parse(fs.readFileSync(appRoot + '/build/contracts/Pausible.json'));
return PausibleJSON;
},
AccessHierarchy: function(){
var AccessHierarchyJSON = JSON.parse(fs.readFileSync(appRoot + '/build/contracts/AccessHierarchy.json'));
return AccessHierarchyJSON;
},
PlatformFunds: function(){
var PlatformFundsJSON = JSON.parse(fs.readFileSync(appRoot + '/build/contracts/PlatformFunds.json'));
return PlatformFundsJSON;
},
Operators: function(){
var OperatorsJSON = JSON.parse(fs.readFileSync(appRoot + '/build/contracts/Operators.json'));
return OperatorsJSON;
},
AssetManager: function(){
var AssetManagerJSON = JSON.parse(fs.readFileSync(appRoot + '/build/contracts/AssetManager.json'));
return AssetManagerJSON;
},
CrowdsaleETH: function(){
var CrowdsaleETHJSON = JSON.parse(fs.readFileSync(appRoot + '/build/contracts/CrowdsaleETH.json'));
return CrowdsaleETHJSON;
},
CrowdsaleGeneratorETH: function(){
var CrowdsaleGeneratorETHJSON = JSON.parse(fs.readFileSync(appRoot + '/build/contracts/CrowdsaleGeneratorETH.json'));
return CrowdsaleGeneratorETHJSON;
},
CrowdsaleERC20: function(){
var CrowdsaleERC20JSON = JSON.parse(fs.readFileSync(appRoot + '/build/contracts/CrowdsaleERC20.json'));
return CrowdsaleERC20JSON;
},
CrowdsaleGeneratorERC20: function(){
var CrowdsaleGeneratorERC20JSON = JSON.parse(fs.readFileSync(appRoot + '/build/contracts/CrowdsaleGeneratorERC20.json'));
return CrowdsaleGeneratorERC20JSON;
},
AssetExchange: function(){
var AssetExchangeJSON = JSON.parse(fs.readFileSync(appRoot + '/build/contracts/AssetExchange.json'));
return AssetExchangeJSON;
}
};