-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ABI and BIN provider now uses contracts from BrandedTokenContracts npm #117
ABI and BIN provider now uses contracts from BrandedTokenContracts npm #117
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
}, | ||
Staker: Staker, | ||
Facilitator: Facilitator, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Facilitator: Facilitator, | |
Facilitator, |
}, | ||
Staker: Staker, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Staker: Staker, | |
Staker, |
); | ||
} | ||
|
||
contract.bin = contractBin; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could probably refactor the addABI
and addBIN
methods to call on something like addCustom('abi', contractName, contractAbi)
(similar for bin).
@@ -31,7 +31,8 @@ const config = require('../../utils/configReader'); | |||
const shared = require('../shared'); | |||
|
|||
const { GatewayComposerHelper } = Package.EconomySetup; | |||
const { Staker, StakeHelper } = Package.Helpers; | |||
const { StakeHelper } = Package.Helpers; | |||
const { Staker } = Package; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it on purpose that the tests import "Package" and not the modules directly?
Fixes #116
ABI BIN provider now uses BrandedTokenContract NPM.
Noticeable changes:
addABI
andaddBIN
function.