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

Unhandled Rejection (TypeError): leadStake.methods.dailyROI is not a function #6

Open
MrMoonCrypto opened this issue Sep 28, 2020 · 1 comment

Comments

@MrMoonCrypto
Copy link

`init
http://localhost:3000/static/js/main.chunk.js:1123:46

1120 | const registrationTax = await leadStake.methods.registrationTax().call();
1121 | const referralRewards = await leadStake.methods.referralRewards(accounts[0]).call();
1122 | const referralCount = await leadStake.methods.referralCount(accounts[0]).call();

1123 | const dailyROI = await leadStake.methods.dailyROI().call();
| ^ 1124 | const status = await leadStake.methods.registered(accounts[0]).call();
1125 | setWeb3(web3);
1126 | setAccounts(accounts);`

Loading in localhost throws the above error when testing in ropsten test network.

@MrMoonCrypto
Copy link
Author

` 86 | const referralCount = await leadStake.methods
87 | .referralCount(accounts[0])
88 | .call();

89 | const dailyROI = await leadStake.methods.dailyROI().call();
| ^ 90 | const status = await leadStake.methods.registered(accounts[0]).call();
91 |
92 | setWeb3(web3);`

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

1 participant