sora-xor / sora2-network

SORA is a new economic system aimed at creating a supranational, world economic system with built-in tools for decentralized finance (DeFi). The SORA network implements a new way of parachain architecture on Polkadot and Kusama network, with the capability to bridge external blockchains (like Ethereum) to the Polkadot ecosystem.
Other
51 stars 23 forks source link

OrderBook: allow different quote assets #776

Open wer1st opened 1 year ago

wer1st commented 1 year ago

Now we are following the logic when only the dex base asset could be the quote asset of all order-books in this dex. In practice it is XOR (and maybe XSTUSD if we allow dex_id = 1). Probably we can allow not only dex base assets as quote asset. For example ETH / DAI, AAVE / XSTEUR etc. Such pairs could increase the user interest to use Polkaswap.

@Tieumsan please review

yurez83 commented 1 year ago

this is a very correct decision, otherwise pswap will not be popular and not a full-fledged dex.