Skip to content
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

Migration From Deprecate StakeHelper #119

Closed
0xsarvesh opened this issue Mar 7, 2019 · 0 comments
Closed

Migration From Deprecate StakeHelper #119

0xsarvesh opened this issue Mar 7, 2019 · 0 comments

Comments

@0xsarvesh
Copy link
Contributor

0xsarvesh commented Mar 7, 2019

StakeHelper has been deprecated in favor of Facilitator, Staker, and ContractInteracts.

ContractInteracts provides you with all the methods for all the contracts.

const {ContractInteract} = require('@openstfoundation/brandedtoken.js');

const brandedToken = new ContractInteract.BrandedToken(web3, address);
const gatewayComposer = new ContractInteract.GatewayComposer(web3, address);
const utilityBrandedToken = new ContractInteract.UtilityBrandedToken(web3, address);

You can use the Facilitator and Staker as helpers.

@0xsarvesh 0xsarvesh changed the title Deprecate StakeHelper Migration From Deprecate StakeHelper Mar 19, 2019
@schemar schemar closed this as completed Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants