BeamMW / dex-app

dex application for dappstore
Apache License 2.0
1 stars 2 forks source link

integrate DAO Accumulator into the DEX #17

Open Maxnflaxl opened 7 months ago

Maxnflaxl commented 7 months ago

just pasting this here for now, I'll make a proper writeup of this in the coming days. grafik

https://t.me/BeamPrivacy/613435

dbadol commented 7 months ago

The integration part could probably be done by putting both frontends in the same DApp and creating links between the existing windows. See mockups below. No need to change anything in the smart contracts.

The DEX part would need to know if a reward already exist ("get reward"). And the accumulator part would need to know what pool has called it (to only show the rewards for that AMML only, and to manage the 'back' link). I don't think we would need more interaction than that between the two sides.

image

image

Maxnflaxl commented 7 months ago

Thank you for the quick mockup