forked from OpenSTFoundation/openst-payments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
27 lines (22 loc) · 803 Bytes
/
index.js
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
/**
* Index File of "@openstfoundation/openst-payments" node module
*/
"use strict";
const rootPrefix = "."
, version = require(rootPrefix + '/package.json').version
, deployer = require(rootPrefix + '/lib/deployer')
, workers = require(rootPrefix + '/lib/contract_interact/workers')
, airdrop = require(rootPrefix + '/lib/contract_interact/airdrop')
, opsManaged = require(rootPrefix + "/lib/contract_interact/ops_managed_contract")
, airdropManager = require(rootPrefix + "/lib/airdrop_management/base")
;
const OSTPayment = function () {
const oThis = this;
oThis.version = version;
oThis.deployer = deployer;
oThis.opsManaged = opsManaged;
oThis.workers = workers;
oThis.airdrop = airdrop;
oThis.airdropManager = airdropManager;
};
module.exports = new OSTPayment();