Stellar Asset Contract Issuer semantics #1598
sisuresh
started this conversation in
Core Advancement Proposals
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
The Stellar Asset Contract special cases the issuer because issuers can't have a trustline to their own asset, which leads to two related details that should be revisited -
transfer
, theamount
will be minted. If the issuer is the receiver in atransfer
, theamount
will be burned. This follows classic Stellar semantics.transfer
, we emit thetransfer
event (instead ofmint
orburn
).These two issues lead to additional difficulties when it comes to tracking token balances. We have two actions we can take here -
mint
orburn
instead oftransfer
when the issuer is involved.Beta Was this translation helpful? Give feedback.
All reactions