-
Notifications
You must be signed in to change notification settings - Fork 3
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
base: develop
Are you sure you want to change the base?
Conversation
00f6474
to
7ebfae4
Compare
478d2d9
to
b75faf8
Compare
Regression, waiting for aeternity/ae_mdw#1815 (comment) to be resolved |
c2611a7
to
5488339
Compare
@@ -9,10 +9,10 @@ | |||
</template> | |||
|
|||
<script setup> | |||
import { useAppStore } from '@/stores/app' | |||
import { useUiStore } from '@/stores/ui' |
There was a problem hiding this comment.
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}`) |
There was a problem hiding this comment.
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
There was a problem hiding this 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
Description
resolves #522
Demo
Checklist: