I’m trying to find a gas efficient way to determine the appropriate amount of fees earned by a user based on their percentage of a pool. Any recommendations?
Maybe you can paste your code at here.
Hey we’re using the same code (@openzeppelin/contracts/token/ERC20/IERC20.sol) as everyone else for staking rewards, but like I said we’re looking for something more gas efficient.
Sorry, I haven’t looked at staking rewards so can’t suggest anything.