Skip to content

accounting around BankManager.addAsset #10067

Answered by michaelfig
dckc asked this question in Q&A
Discussion options

You must be logged in to vote

addAsset takes either a mint or a payment. In the payment case, what happens when the payment runs out? @michaelfig do you know?

An ERTP mint means that JS controls the supply of the bridged token. A payment means that JS does not control the supply, and Cosmos believed that JS "grabbed" that payment's value from its supply at some time in the past. In both cases, an ERTP purse is created to represent the current value of Cosmos tokens that are held in escrow (but not withdrawn) from the bank purses.

For every withdrawal from a bank purse, more Cosmos tokens are "grabbed" from a user bank account, escrowed on the Cosmos side, and transferred from the ERTP escrow purse to a fresh payment…

Replies: 2 comments

Comment options

dckc
Sep 11, 2024
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dckc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants