Skip to content

Commit

Permalink
fix: bsc savers user staking data (#5435)
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre authored Oct 9, 2023
1 parent 812d0c1 commit b08b279
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/context/AppProvider/AppContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import type { AccountId, AssetId, ChainId } from '@shapeshiftoss/caip'
import {
avalancheChainId,
bchChainId,
bscChainId,
btcChainId,
cosmosChainId,
dogeChainId,
Expand Down Expand Up @@ -213,6 +214,7 @@ export const AppProvider = ({ children }: { children: React.ReactNode }) => {
case dogeChainId:
case bchChainId:
case cosmosChainId:
case bscChainId:
case avalancheChainId:
;(async () => {
await fetchAllOpportunitiesIdsByChainId(chainId)
Expand Down
8 changes: 8 additions & 0 deletions src/state/slices/opportunitiesSlice/mappings.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {
avalancheChainId,
bchChainId,
bscChainId,
btcChainId,
cosmosChainId,
dogeChainId,
Expand Down Expand Up @@ -173,6 +174,13 @@ export const CHAIN_ID_TO_SUPPORTED_DEFI_OPPORTUNITIES = {
defiType: DefiType.Staking,
},
],
[bscChainId]: [
{
defiProvider: DefiProvider.ThorchainSavers,
defiType: DefiType.Staking,
},
],

[cosmosChainId]: [
{
defiProvider: DefiProvider.CosmosSdk,
Expand Down

0 comments on commit b08b279

Please sign in to comment.