Update IFollowNFT.sol

these functions should be marked view as per the implementation [here](b678530d02/contracts/core/FollowNFT.sol (L118)) and [here](b678530d02/contracts/core/FollowNFT.sol (L105))
This commit is contained in:
Aaron Abu Usama
2022-10-30 16:44:32 +04:00
committed by GitHub
parent b678530d02
commit fe1ca5ec1e

View File

@@ -56,7 +56,7 @@ interface IFollowNFT {
*
* @return uint256 The power of the given user at the given block number.
*/
function getPowerByBlockNumber(address user, uint256 blockNumber) external returns (uint256);
function getPowerByBlockNumber(address user, uint256 blockNumber) external view returns (uint256);
/**
* @notice Returns the total delegated supply at a specified block number. This is the sum of all
@@ -66,5 +66,5 @@ interface IFollowNFT {
*
* @return uint256 The delegated supply at the given block number.
*/
function getDelegatedSupplyByBlockNumber(uint256 blockNumber) external returns (uint256);
function getDelegatedSupplyByBlockNumber(uint256 blockNumber) external view returns (uint256);
}