Open Luivatra opened 2 years ago
I think that setting R8
and R9
just as "Optional" looks too vague and opens the door for unpredictable data format/content. I suggest making use of these records, we can even keep them as optional, but if any value is added, it should standardized.
R8 = baseToken, R9 = quoteToken
R8 = originalAmountStaked, R9 = stakeTime
R8 = bridgeCode, R9 = (ticker, originChain)
I would like to see utilizing markup or superscript language as the standard for utility tokens, where layer two and wallets alike can parse something like yaml into arrangements of objects natively on chain
I think having a sub-asset type for each dapp will (hopefully) become too much to list here. We could have R8 containing a string referring to a type, which a dapp is free to set themselves. R9 should be a JSON/yaml that has further description. fe: R8: ErgoDex Liquidity Pool Token R9: {'baseToken': 'erg', 'quoteToken': 'neta'}
Wallets and dapps can then always recognize utility tokens and parse R9 to show a "nice" description. If a specific use case arises for a certain type the wallet/dapp can check R8 for the type and validate R9 accordingly and fe. calculate a value for the LP token.
Will allow for wallets and dapps to filter utility tokens and nft to make it easier for the user to keep an overview.