Last active
May 8, 2021 05:32
-
-
Save percybolmer/5496703f32904b0b429b911f5247d40b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @notice | |
* hasStake is used to check if a account has stakes and returns the amount if has staked | |
*/ | |
function hasStake(address _staker) public view returns(uint256){ | |
return stakes[_staker]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment