mirror of
https://github.com/lens-protocol/core.git
synced 2026-01-14 16:37:58 -05:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user