Skip to content

Instantly share code, notes, and snippets.

@Maar-io
Last active May 9, 2022 17:31
Show Gist options
  • Save Maar-io/1ae41f73b69e2ffd9392668e29f6c5f5 to your computer and use it in GitHub Desktop.
Save Maar-io/1ae41f73b69e2ffd9392668e29f6c5f5 to your computer and use it in GitHub Desktop.
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