Skip to content

Commit

Permalink
fix: remove assetHolders getter
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarranzav committed Aug 3, 2023
1 parent 194fb4f commit 24d960d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions contracts/staking/StakingExtension.sol
Original file line number Diff line number Diff line change
Expand Up @@ -302,17 +302,6 @@ contract StakingExtension is StakingV3Storage, GraphUpgradeable, IStakingExtensi
return __rewardsDestination[_indexer];
}

/**
* @notice Getter for assetHolders[_maybeAssetHolder]:
* returns true if the address is an asset holder, i.e. an entity that can collect
* query fees into the Staking contract.
* @param _maybeAssetHolder The address that may or may not be an asset holder
* @return True if the address is an asset holder
*/
function assetHolders(address _maybeAssetHolder) external view override returns (bool) {
return __assetHolders[_maybeAssetHolder];
}

/**
* @notice Getter for operatorAuth[_indexer][_maybeOperator]:
* returns true if the operator is authorized to operate on behalf of the indexer.
Expand Down

0 comments on commit 24d960d

Please sign in to comment.