Skip to content

Commit

Permalink
Merge pull request #114 from sarvesh-ost/expose_mosaic_contract_interact
Browse files Browse the repository at this point in the history
branded-token.js now exposes mosaic.js contract interacts
  • Loading branch information
schemar authored Mar 7, 2019
2 parents 1ad51bb + 7d90c63 commit 0913846
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

'use strict';

/* eslint object-shorthand: "off" */
const Mosaic = require('@openstfoundation/mosaic.js');

const AbiBinProvider = require('./lib/AbiBinProvider');
const BrandedToken = require('./lib/ContractInteract/BrandedToken');
Expand All @@ -33,6 +33,8 @@ const StakeHelper = require('./lib/helpers/stake/gateway_composer/StakeHelper');
const Staker = require('./lib/Staker');
const UtilityBrandedToken = require('./lib/ContractInteract/UtilityBrandedToken');

const mosaicContractInteracts = Mosaic.ContractInteract;

module.exports = {
AbiBinProvider,
EconomySetup,
Expand All @@ -41,6 +43,7 @@ module.exports = {
BrandedToken,
GatewayComposer,
UtilityBrandedToken,
...mosaicContractInteracts,
},
Helpers: {
StakeHelper,
Expand Down

0 comments on commit 0913846

Please sign in to comment.