Skip to content

Smart Contract For Fetching User Rewards From All Pools on a Masterchef V1 contract in a single call

License

Notifications You must be signed in to change notification settings

MikeMurpher/externalPendingRewards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

externalPendingRewards

Smart Contract For Fetching User Rewards From All Pools on a Masterchef V1 contract in a single call

Pass the UserAddress and MasterChef Address into either the Masterchef or ReflectorChef function to return the total rewards as a uint256.

In your application you can use parseInt() on the return value to convert to an Integer Number

This figure can then be divided by the decimals using 10**{yourRewardTokenDecimal}

About

Smart Contract For Fetching User Rewards From All Pools on a Masterchef V1 contract in a single call

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published