ghost-portal/packages
Daria 5e80322362
Relay Chain - Coretime Sale UI (#11091)
* added sales tab

* draft for the progress bar

* draft for calculating values for the coretime progress timeline

* lint

* added historical data on sales, button to see transactions on subscan

* breaking down utils file logically

* improving calculations of phase configuration, sale details, etc

* lint

* correctly calculated sale start/end blocks, dates and ts

* added core price calculation

* chainName type, adjustments for westend and paseo

* ts fixes

* used helper funcitons for getting relay blocks

* moved functionality to a new helper

* moved constants from types file in react-hooks, page-broker, page-coretime

* added dynamic coretime constants, wrapped page coretime in a context for dynamic functions

* moved coretime constants to a separate hook for reusability

* removed coretime consts and added useCoretimeConsts in page-broker

* passing a correct block number for coretime price calculation
2024-12-29 13:38:57 +13:00
..
apps [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
apps-config [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
apps-electron [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
apps-routing [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-accounts Relay Chain - Coretime Sale UI (#11091) 2024-12-29 13:38:57 +13:00
page-addresses [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-alliance [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-ambassador [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-assets [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-bounties [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-broker Relay Chain - Coretime Sale UI (#11091) 2024-12-29 13:38:57 +13:00
page-calendar [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-claims [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-collator [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-contracts [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-coretime Relay Chain - Coretime Sale UI (#11091) 2024-12-29 13:38:57 +13:00
page-council [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-democracy [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-explorer [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-extrinsics [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-fellowship [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-files [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-gilt [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-js [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-membership [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-nfts [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-nis [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-parachains [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-poll [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-preimages [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-ranked [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-referenda [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-rpc [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-runtime [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-scheduler [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-settings [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-signing [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-society [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-staking [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-staking2 [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-staking-legacy [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-storage [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-sudo [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-tech-comm [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-treasury [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-utilities [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
page-whitelist [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
react-api [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
react-components Relay Chain - Coretime Sale UI (#11091) 2024-12-29 13:38:57 +13:00
react-hooks Relay Chain - Coretime Sale UI (#11091) 2024-12-29 13:38:57 +13:00
react-params [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
react-query [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
react-signer [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
test-support [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00