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

show balance of eth & corresponding tokens on foreign chain in info tab #3

Open
ewingrj opened this issue Jun 19, 2018 · 1 comment

Comments

@ewingrj
Copy link
Contributor

ewingrj commented Jun 19, 2018

The idea is that we have a quick point of reference to ensure that there is a 1 - 1 mapping, home -> foreign chains, for each token we have in the bridge.

For ex.

If the home contract has 100 eth...

ETH_TOKEN.totalSupply() + PAYMENTS = 100

where:

  • ETH_TOKEN = the token on the foreign chain representing eth on the home chain
  • PAYMENTS = sum of all authorizedPayments in the home contract where token == eth (0x0) & not paid or canceled.
@ewingrj
Copy link
Contributor Author

ewingrj commented Jun 30, 2018

also, it would be helpful to show the balance of the rinkeby funder account on this page

bowensanders added a commit that referenced this issue May 10, 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

1 participant