subdarkdex / subdex-parachain

Apache License 2.0
0 stars 1 forks source link

Remove generic-asset pallet on dex parachain side #3

Closed iorveth closed 3 years ago

iorveth commented 3 years ago

Background

Proposal

  1. Remove generic-asset pallet on DEX para-chain side, implementing needed functionality by ourselves.
  2. Upgrade dex_xcmp pallet to work with our internal implementation.

As a result we`ll get much more flexible and suitable implementation, eliminating the necessity to depend on external pallet.

whalelephant commented 3 years ago

Remove generic-asset pallet on DEX para-chain side, implementing needed functionality by ourselves. 👍

Upgrade generic token-dealer pallet to work with our internal implementation. Please elaborate, we have 2 pallets that does token dealer communications no. 5 and no. 6 below. Do you mean for Dex-XCMP?

Number Deliverable Specification
4. Dex Pallet Implement Uniswap V2 AMM protocol with full test coverage and eliminate overflow/underflow risks in calculation in the chain, publish as a standalone pallet
5. Dex XCMP Pallet Handle relay chain asset creation and test this placeholder XCMP pallet that will be used to create demo for testnets for this milestone
6. Generic Token Dealer Pallet Create a generic token dealer pallet that can handle generic assets and/or native parachain currency, based on the token dealer pallet example and publish as a standalone pallet
iorveth commented 3 years ago

@whalelephant , i mean dex_xcmp, thank you for pointing!

iorveth commented 3 years ago

Done in https://github.com/subdarkdex/subdex-parachains-1/pull/4