Conversation
… pallet for cross-chain transfers.
b743e99 to
793eea1
Compare
793eea1 to
dda5b3f
Compare
| // GAME:DOT = 6:1 | ||
| TokenSymbol::GAME => (cent(GAME) * 18 / 1000), | ||
| // PLAY:DOT = 6:1 | ||
| TokenSymbol::PLAY => (cent(PLAY) * 18 / 1000), |
There was a problem hiding this comment.
@2075 could you review this? It's the initial price ratio.
PLAY probably 6:1 agree based on the current DOT price.
But as for GAME and ZERO, I'm not so sure.
There was a problem hiding this comment.
lgtm, how would price discovery via acala dex work? alternative could be through fx provider via ocw
There was a problem hiding this comment.
Price discovery is separate piece of logic.
Here proportions determined to know amount of fee to pay per cross-chain transactions for each known token.
In case we would need to change those, should do runtime upgrade - same approach as for other parachains.
2075
left a comment
There was a problem hiding this comment.
lgtm, smol questions for you @vasylenko-yevhen
| // GAME:DOT = 6:1 | ||
| TokenSymbol::GAME => (cent(GAME) * 18 / 1000), | ||
| // PLAY:DOT = 6:1 | ||
| TokenSymbol::PLAY => (cent(PLAY) * 18 / 1000), |
There was a problem hiding this comment.
lgtm, how would price discovery via acala dex work? alternative could be through fx provider via ocw
…d standalone chain to work with new currency interface.
asset-registryto store foreign tokens informationsubzero-collator->subzero