Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

failed to get stakinginfo on BSC #25

@hx-metadesk

Description

@hx-metadesk

Never gets "stakinginfo" from SC invocation for BSC. Please @sdcrypt0 check the SC side

Related code:

  const { data: stakingInfo } = useSWR(
    chainId === opBNB && [`StakeV2:stakingInfo:${active}`, chainId, rewardReaderAddress, "getStakingInfo", account || PLACEHOLDER_ACCOUNT],
    {
      fetcher: fetcher(library, RewardReader, [rewardTrackersForStakingInfo]),
    }
  );

This issue blocks some data processing function to display GLL price, Assets in GLL, GLL APY on dashboard page.

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions