@@ -109,6 +109,8 @@ export const FeedList = ({
109109 const [ showOnlyMVRFeeds , setShowOnlyMVRFeeds ] = useState ( false )
110110 const [ showOnlyMVRFeedsTestnet , setShowOnlyMVRFeedsTestnet ] = useState ( false )
111111 const [ showOnlySVR , setShowOnlySVR ] = useState ( false )
112+ const [ showOnlyDEXFeeds , setShowOnlyDEXFeeds ] = useState ( false )
113+ const [ showOnlyDEXFeedsTestnet , setShowOnlyDEXFeedsTestnet ] = useState ( false )
112114 const paginate = ( pageNumber ) => setCurrentPage ( String ( pageNumber ) )
113115 const addrPerPage = 8
114116 const lastAddr = Number ( currentPage ) * addrPerPage
@@ -439,6 +441,20 @@ export const FeedList = ({
439441 </ button >
440442 ) }
441443 </ form >
444+ < div className = { feedList . checkboxContainer } >
445+ < label className = { feedList . detailsLabel } >
446+ < input
447+ type = "checkbox"
448+ style = "width:15px;height:15px;display:inline;margin-right:8px;"
449+ checked = { showOnlyDEXFeeds }
450+ onChange = { ( ) => {
451+ setShowOnlyDEXFeeds ( ( old ) => ! old )
452+ setCurrentPage ( "1" ) // Reset to first page when filter changes
453+ } }
454+ />
455+ Show DEX State Price streams
456+ </ label >
457+ </ div >
442458 </ div >
443459 { mainnetFeeds . length ? (
444460 mainnetFeeds . map ( ( network ) => (
@@ -454,6 +470,7 @@ export const FeedList = ({
454470 showExtraDetails = { showExtraDetails }
455471 showOnlySVR = { showOnlySVR }
456472 showOnlyMVRFeeds = { showOnlyMVRFeeds }
473+ showOnlyDEXFeeds = { showOnlyDEXFeeds }
457474 dataFeedType = { dataFeedType }
458475 ecosystem = { ecosystem }
459476 lastAddr = { lastAddr }
@@ -503,6 +520,20 @@ export const FeedList = ({
503520 </ button >
504521 ) }
505522 </ form >
523+ < div className = { feedList . checkboxContainer } >
524+ < label className = { feedList . detailsLabel } >
525+ < input
526+ type = "checkbox"
527+ style = "width:15px;height:15px;display:inline;margin-right:8px;"
528+ checked = { showOnlyDEXFeedsTestnet }
529+ onChange = { ( ) => {
530+ setShowOnlyDEXFeedsTestnet ( ( old ) => ! old )
531+ setTestnetCurrentPage ( "1" ) // Reset to first page when filter changes
532+ } }
533+ />
534+ Show DEX State Price streams
535+ </ label >
536+ </ div >
506537 </ div >
507538 { testnetFeeds . length ? (
508539 testnetFeeds . map ( ( network ) => (
@@ -519,6 +550,7 @@ export const FeedList = ({
519550 : [ ]
520551 }
521552 showOnlyMVRFeeds = { showOnlyMVRFeedsTestnet }
553+ showOnlyDEXFeeds = { showOnlyDEXFeedsTestnet }
522554 firstAddr = { testnetFirstAddr }
523555 lastAddr = { testnetLastAddr }
524556 addrPerPage = { testnetAddrPerPage }
@@ -805,6 +837,7 @@ export const FeedList = ({
805837 showExtraDetails = { showExtraDetails }
806838 showOnlySVR = { showOnlySVR }
807839 showOnlyMVRFeeds = { showOnlyMVRFeeds }
840+ showOnlyDEXFeeds = { false }
808841 dataFeedType = { dataFeedType }
809842 ecosystem = { ecosystem }
810843 lastAddr = { lastAddr }
0 commit comments