-
Notifications
You must be signed in to change notification settings - Fork 3
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
ReferenceError: _entries is not defined at bond issues on bond contract #7
Comments
@Rahul1297 @vshall20 Please note that these functions are returning two arrays each - an array of bond addresses, and an array of uint256 numbers. The address arrays returned are - addresses of bonds issued (for the getBondIssues function) and address of bonds purchased (for the getBondPurchases function). The uint256 number arrays returned are - amount of bond issued (for the getBondIssues function) and the amount of bond purchased (for the getBondPurchases function). Are you sure you are reading the responses correctly ? I saw one post here that talk about array returns in web3. |
@kallolborah its not going to success(then) |
@Rahul1297 its working in my test case. Did you check that ? Can you also add your code to read arrays returned by each call ? I have also redeployed the cash and bond contracts - please check here. I will add the accounts contract addresses after I am done checking with your ledger related gas issue. |
@kallolborah now getting this error
|
@Rahul1297 I can not comment unless you put your code here. Pls format the code properly, otherwise its hard to read. |
@kallolborah see at the top I have given you the code
I'm just calling this sdk on change of select dropdown |
getBondContract().getBondIssues()
getBondContract().getBondPurchases()
The text was updated successfully, but these errors were encountered: