File tree Expand file tree Collapse file tree
app/5_pages/LandingPage/components/ProtocolData Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ export const DEFAULT_VOLUME_DATA: VolumeDataResult = {
3333 usd : 0 ,
3434} ;
3535
36- const indexer = getIndexerUrl ( ) ;
36+ /** @deprecated */
37+ const indexer = getIndexerUrl ( ) + '/' ;
3738
3839export const LOCKED_DATA_URL = `${ indexer } legacy/cmc/tvl` ;
3940export const VOLUME_DATA_URL = `${ indexer } legacy/cmc/summary` ;
Original file line number Diff line number Diff line change 1- import { Environments , Services } from '../types/global' ;
21import { INDEXER_URL , INDEXER_URL_TESTNET } from '@sovryn/sdk' ;
32
3+ import { Environments , Services } from '../types/global' ;
4+
45export const SERVICES_CONFIG = {
56 [ Environments . Testnet ] : {
67 [ Services . Maintenance ] :
@@ -30,6 +31,7 @@ export const AMM_SERVICE = {
3031 [ Environments . Testnet ] : 'https://amm-apy.test.sovryn.app/' ,
3132} ;
3233
34+ /** @deprecated */
3335export const INDEXER_SERVICE = {
3436 [ Environments . Mainnet ] : INDEXER_URL ,
3537 [ Environments . Testnet ] : INDEXER_URL_TESTNET ,
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ export const getBitocracyUrl = () =>
8383export const getGraphWrapperUrl = ( ) =>
8484 GRAPH_WRAPPER [ isMainnet ( ) ? Environments . Mainnet : Environments . Testnet ] ;
8585
86+ /** @deprecated */
8687export const getIndexerUrl = ( ) =>
8788 INDEXER_SERVICE [ isMainnet ( ) ? Environments . Mainnet : Environments . Testnet ] ;
8889
You can’t perform that action at this time.
0 commit comments