You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
= 100where:
ETH_TOKEN
= the token on the foreign chain representing eth on the home chainPAYMENTS
= sum of all authorizedPayments in the home contract where token == eth (0x0) & not paid or canceled.The text was updated successfully, but these errors were encountered: