Last active
May 9, 2022 17:31
-
-
Save Maar-io/1ae41f73b69e2ffd9392668e29f6c5f5 to your computer and use it in GitHub Desktop.
This file contains 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
function isPassHolder(address user) private view returns (bool) { | |
uint128 staker = ASTARBASE.checkStakerStatusOnContract(user, MY_STAKING_PROJECT); | |
return staker > 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment