Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Dex Trades per Token #876

Open
wants to merge 37 commits into
base: develop
Choose a base branch
from
Open

feat: Dex Trades per Token #876

wants to merge 37 commits into from

Conversation

janmichek
Copy link
Collaborator

@janmichek janmichek commented Aug 6, 2024

Description

resolves #522

Demo

image

Checklist:

  • I have read and followed the Contributing Guide
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Copy link

github-actions bot commented Aug 6, 2024

@janmichek
Copy link
Collaborator Author

Regression, waiting for aeternity/ae_mdw#1815 (comment) to be resolved

@@ -9,10 +9,10 @@
</template>

<script setup>
import { useAppStore } from '@/stores/app'
import { useUiStore } from '@/stores/ui'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not related to the feature, renamed confusing store name. App is too general

@@ -13,8 +13,7 @@ export const useDexStore = defineStore('dex', () => {
return 1
}

const { data } = await axios.get(`${DEX_BACKEND_URL}/pairs/swap-routes/${tokenId}/${AE_TOKEN_ID}`)

const { data } = await axios.get(`${DEX_BACKEND_URL}/swap-routes/${tokenId}/${AE_TOKEN_ID}`)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dex changed link just today

Copy link
Collaborator

@Liubov-crypto Liubov-crypto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general LGTM.

But I have a question regarding test tokens. For example if nobody was trading token there would be no trade activity. When I open Trades tab the page will be in endless loading:
https://pr-876-aescan-testnet.stg.service.aepps.com/tokens/ct_25e9fYcVxp8qHhiHE3ZZKv1qsRZ8knvJefcUmTchZi33WANgt7?type=trades

2024-11-25.5.36.51.mov

rem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DEX trades per token
2 participants