-
Notifications
You must be signed in to change notification settings - Fork 9
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
Save token price to db #1436
Comments
wliyongfeng
added a commit
that referenced
this issue
Nov 19, 2024
wliyongfeng
added a commit
that referenced
this issue
Nov 19, 2024
wliyongfeng
added a commit
that referenced
this issue
Nov 19, 2024
wliyongfeng
added a commit
that referenced
this issue
Nov 19, 2024
wliyongfeng
added a commit
that referenced
this issue
Nov 19, 2024
hyifeng
pushed a commit
that referenced
this issue
Nov 20, 2024
* stash emtpy page * submenu * stash * stash * spends count * add filter * get total expenditure * treasury spends filter * add max-width to Tooltip wrapper for better layout control * Query token prices and save them to database, #1436 (#1437) * Save token price to db * Fix token price batch update, #1436 * Fix token, #1436 * Update chain price when update token price, #1436 * Update cron job, #1436 * Update endpoints, #1436 * Update mongodb connect options, #1436 * Query MYTH token price, #1436 * Add query to get token price, #1436 * Add SortableSingleFiatValue component and integrate with TreasurySpendsTable * add `@polkadot/types` to package.json (#1440) * test * test * bump ci * chore(deps): bump path-to-regexp from 1.8.0 to 1.9.0 in /landing (#1438) * chore(deps): bump path-to-regexp from 1.8.0 to 1.9.0 in /landing Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/pillarjs/path-to-regexp/releases) - [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md) - [Commits](pillarjs/path-to-regexp@v1.8.0...v1.9.0) --- updated-dependencies: - dependency-name: path-to-regexp dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * test * test * Revert "test" This reverts commit f56be26. * Revert "test" This reverts commit 9b1bf25. * bump ci * Revert "bump ci" This reverts commit a46108c. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: 2nthony <ant.hu@outlook.com> * chore(deps): bump cross-spawn from 6.0.5 to 6.0.6 in /site (#1441) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 6.0.5 to 6.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/v6.0.6/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v6.0.5...v6.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump rollup from 3.28.1 to 3.29.5 in /site (#1442) Bumps [rollup](https://github.com/rollup/rollup) from 3.28.1 to 3.29.5. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](rollup/rollup@v3.28.1...v3.29.5) --- updated-dependencies: - dependency-name: rollup dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump path-to-regexp from 1.8.0 to 1.9.0 in /site (#1443) * chore(deps): bump dset from 3.1.2 to 3.1.4 (#1446) Bumps [dset](https://github.com/lukeed/dset) from 3.1.2 to 3.1.4. - [Release notes](https://github.com/lukeed/dset/releases) - [Commits](lukeed/dset@v3.1.2...v3.1.4) --- updated-dependencies: - dependency-name: dset dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump fast-loops from 1.1.3 to 1.1.4 in /landing (#1444) Bumps [fast-loops](https://github.com/robinweser/fast-loops) from 1.1.3 to 1.1.4. - [Commits](https://github.com/robinweser/fast-loops/commits) --- updated-dependencies: - dependency-name: fast-loops dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump vite from 4.5.3 to 4.5.5 in /landing (#1445) Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.3 to 4.5.5. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v4.5.5/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v4.5.5/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump path-to-regexp from 6.2.1 to 6.3.0 (#1447) Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 6.2.1 to 6.3.0. - [Release notes](https://github.com/pillarjs/path-to-regexp/releases) - [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md) - [Commits](pillarjs/path-to-regexp@v6.2.1...v6.3.0) --- updated-dependencies: - dependency-name: path-to-regexp dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump vite * fix value column * fix: handle undefined asset in treasury spends filter --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Yongfeng LI <wliyongfeng@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
wliyongfeng
added a commit
that referenced
this issue
Nov 21, 2024
* just init * update env example * hydration api and balances * fix value display * hydration * Revert "hydration" This reverts commit 6d54112. * total treasury hydration #1401 (#1405) This reverts commit d68ed37. * bounties balances #1401 (#1406) * extract * bounties balances #1401 * add asset icons * rename file to assets * rename to treasury detail * Fellowship balances, #1407 (#1409) * Add treasury hooks, #1407 * Fellowship treasury hooks & balance, #1407 * Add constants, #1407 * common constants & utils, #1407 * add isLoading, #1407 * Loans balances, #1410 (#1411) * Rename useQueryFellowshipSalaryBalance, #1410 * Add useLoansBalances, #1410 * treasury detail hydration, #1404 (#1408) * Add home asset detail card, #1404 * Implement UI style of Asset detail card, #1404 * add imgs * enhance external and explore link * hydration * temporary move files * fix external icon --------- Co-authored-by: 2nthony <ant.hu@outlook.com> * refactor address link * treasury detail bounties #1404 (#1413) * treasury detail fellowship #1404 (#1416) * update skeleton bar * pass style * fellowship * Sync proposals from subsquare and myth price (#1414) * Sync proposals from subsquare and myth price * Update eco server to provider price for mythos * Remove unused file * Remove unused code * Remove unused env * update loading effects * treasury detail mobile * treasury detail loans #1404 (#1419) * tweak position * Myth token balances, #1412 (#1415) * Add react-use, #1412 * Add useAssetHubForeignAssets, #1412 * Add myth token balances, #1412 * Move constants, #1412 * Add apollo/client, #1412 * Myth token fiat price, #1412 * Modify useFiatPrice, #1412 * Modify loading, #1412 * Move uri into .env, #1412 * Add lodash-es, #1412 * refactor ui and calc logic #1403 #1404 * add missed dep `graphql` * AssetHub relayChain balances, #1418 (#1420) * Init useQueryRelayChainFree, #1418 * Add graphql package, #1418 * Add relayChainAssetsBalance into total, #1418 * Add null guard for useQueryAccountFree, #1418 * treasury detail assets #1404 (#1421) * treasury detail assets #1404 * stash * add relay chain * Update treasury spend sync and list api (#1422) * treasury detail add fiat value prefix and tooltip #1401 (#1424) * Treasury detail mythos, #1423 (#1425) * Init TreasuryDetailMythToken, #1423 * Merge branch 'polkadot-redesign-1401' into treasury-detail-mythos-1423 * Address & link, #1423 * Add tooltip, #1423 * mythos style, #1423 * Calculate myth token proposal price (#1428) * treasury overview table lists #1426 (#1427) * top beneficiaries * tweak other components * top funded projects list * remove fixed width * Add beneficiary field to treasury spends (#1431) * Add total proposal count of treasury spends, #1401 * Add get total expenditure (#1434) * refactor get spends list API, #1401 * Add sort to spends list api, #1401 * Query token prices and save them to database, #1436 (#1437) * Save token price to db * Fix token price batch update, #1436 * Fix token, #1436 * Update chain price when update token price, #1436 * Update cron job, #1436 * Update endpoints, #1436 * Update mongodb connect options, #1436 * Query MYTH token price, #1436 * Add query to get token price, #1436 * Update useFiatPrice according to eco server refactor (#1439) * treasury spends page #1430 (#1432) * stash emtpy page * submenu * stash * stash * spends count * add filter * get total expenditure * treasury spends filter * add max-width to Tooltip wrapper for better layout control * Query token prices and save them to database, #1436 (#1437) * Save token price to db * Fix token price batch update, #1436 * Fix token, #1436 * Update chain price when update token price, #1436 * Update cron job, #1436 * Update endpoints, #1436 * Update mongodb connect options, #1436 * Query MYTH token price, #1436 * Add query to get token price, #1436 * Add SortableSingleFiatValue component and integrate with TreasurySpendsTable * add `@polkadot/types` to package.json (#1440) * test * test * bump ci * chore(deps): bump path-to-regexp from 1.8.0 to 1.9.0 in /landing (#1438) * chore(deps): bump path-to-regexp from 1.8.0 to 1.9.0 in /landing Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/pillarjs/path-to-regexp/releases) - [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md) - [Commits](pillarjs/path-to-regexp@v1.8.0...v1.9.0) --- updated-dependencies: - dependency-name: path-to-regexp dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * test * test * Revert "test" This reverts commit f56be26. * Revert "test" This reverts commit 9b1bf25. * bump ci * Revert "bump ci" This reverts commit a46108c. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: 2nthony <ant.hu@outlook.com> * chore(deps): bump cross-spawn from 6.0.5 to 6.0.6 in /site (#1441) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 6.0.5 to 6.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/v6.0.6/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v6.0.5...v6.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump rollup from 3.28.1 to 3.29.5 in /site (#1442) Bumps [rollup](https://github.com/rollup/rollup) from 3.28.1 to 3.29.5. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](rollup/rollup@v3.28.1...v3.29.5) --- updated-dependencies: - dependency-name: rollup dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump path-to-regexp from 1.8.0 to 1.9.0 in /site (#1443) * chore(deps): bump dset from 3.1.2 to 3.1.4 (#1446) Bumps [dset](https://github.com/lukeed/dset) from 3.1.2 to 3.1.4. - [Release notes](https://github.com/lukeed/dset/releases) - [Commits](lukeed/dset@v3.1.2...v3.1.4) --- updated-dependencies: - dependency-name: dset dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump fast-loops from 1.1.3 to 1.1.4 in /landing (#1444) Bumps [fast-loops](https://github.com/robinweser/fast-loops) from 1.1.3 to 1.1.4. - [Commits](https://github.com/robinweser/fast-loops/commits) --- updated-dependencies: - dependency-name: fast-loops dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump vite from 4.5.3 to 4.5.5 in /landing (#1445) Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.3 to 4.5.5. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v4.5.5/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v4.5.5/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump path-to-regexp from 6.2.1 to 6.3.0 (#1447) Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 6.2.1 to 6.3.0. - [Release notes](https://github.com/pillarjs/path-to-regexp/releases) - [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md) - [Commits](pillarjs/path-to-regexp@v6.2.1...v6.3.0) --- updated-dependencies: - dependency-name: path-to-regexp dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump vite * fix value column * fix: handle undefined asset in treasury spends filter --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Yongfeng LI <wliyongfeng@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * update lockfile * fix: table column display and status filter #1430 (#1448) * fix table display * fix: spends status list * fix: remove unused precision dependency in useTreasurySpendsFilter * fix: refactor treasury status maps and update table component * refactor: polkadot applications page, #1399 (#1429) * re-init polkadot Referenda, #1399 * init polkadot Referenda table, #1399 * split table columns, #1399 * fetch referendums list, #1399 * add new amount column & remove sort, #1399 * revert useFetchReferendumsList, #1399 * multi assets, #1399 * rename asset params, #1399 * refactor summary for polkadot, #1399 * progress & applications api, #1399 * optimize applications assets component, #1399 * add VITE_APP_SUBSQUARE_API_END_POINT, #1399 * fix: split loading effects for different tokens in totalTreasury component #1403 (#1449) * fix: foreign assets account params of fetching myth asset (#1450) * refactor: treasury spends table columns #1430 (#1451) * refactor: treasury spends table columns #1430 * tweak index column * tweak total treasury loading effects #1403 * fix: total treasury calc, missing assethub #1403 (#1453) * fix: total treasury calc, missing assethub #1403 * remove empty line [skip ci] * Comment out unfinished functions to release home page treasury panel firstly (#1454) * Comment out unfinished functions to release home page treasury panel firstly * Update * Rename variable * Modify treasury stats content, #1401 (#1455) * Modify polkadot treasury stats tooltips, #1401 * Add new link address for myth token, #1401 * Keep old home top stats list * Add new participants stats script for polkadot redesign (#1456) * Add new participants stats script * fix: new participants update script for polkadot * refactor: shared treasury data #1401 (#1457) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: leochen <18340836866@163.com> Co-authored-by: Chaojun Huang <chaojun@opensquare.network> Co-authored-by: leocs2417 <leochen.sat24@gmail.com> Co-authored-by: Yongfeng LI <wliyongfeng@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should save more tokens price instead of chains.
The text was updated successfully, but these errors were encountered: