Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.

Incorrect stakers' authorization amount shown #11

Description

@manumonti

Currently the TACo app authorization shown on tacoscan is obteined through mainnet-staking-subgraph, that get the authorization amounts from the staking contract.

Due to changes on threshold-network/solidity-contracts#171, this amount is not correctly calculated by the subgraph: the authorization amount shown for beta stakers is 0 if you ask the staking contract. For example, for this beta staker:

https://tacoscan.com/?staker=0x331f6346c4c1bdb4ef7467056c66250f0eb8a44f

Total authorized is 0 in tacoscan. But this is not true.

Image

A new subgraph listening for authorization events on TACoApplication contract would work better.

Another option could be calling the function authorizedStake(address) on TACoApplication contract or TACoChildApplication (the latter updates faster).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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