Skip to content

Commit

Permalink
Add authorizedStake method.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre committed Sep 23, 2023
1 parent a26f84b commit 4ed47eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contracts/contracts/testnet/LynxSet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ contract LynxRootApplication is Ownable, ITACoChildToRoot {
return stakingProviderInfo[_stakingProvider].authorized > 0;
}

function authorizedStake(address _stakingProvider) public view returns (uint96) {
return stakingProviderInfo[_stakingProvider].authorized;
}

function isOperatorConfirmed(address _operator) public view returns (bool) {
address stakingProvider = _stakingProviderFromOperator[_operator];
StakingProviderInfo storage info = stakingProviderInfo[stakingProvider];
Expand Down

0 comments on commit 4ed47eb

Please sign in to comment.