[AMM]: Diverse fixes
Opened this issue · 0 comments
WietseWind commented
LP tokens have a non standard currency code, and they show up like this:
If it's amm:
- Currency code starts with
03
amm_info
is to be called
wscat -c s.devnet.rippletest.net:51233 \
-w 0 \
-x '{ "command": "amm_info", "amm_account":"rGYwEatufNfcATdYvxEmTMncYY66g9aYbo"}' | jq
^^ the account above is the issuer.
Response will tell you amount
(string is XRPdrops) (and
amount2`) - one can be native asset drops, or both can be issued currency format.
Like this:
AMM LP: {curcode 1}-{curcode 2}
So for example:
AMM LP: XRP-USD
but below the asset blocks as with the Amm tx should be displayed, with the right asset details and issuer.
AMM LP: XRP-USD
Event list: TrustSet (adding / removing trustline):
--- Etc (to check) for the other AMM transactions