Open
Description
How to get the RewardInfo using getRewardInfo?
This is how I call the function, but I got only the transaction receipt.
const rewardInfo = await UniswapV3StakerContract.connect(signer).getRewardInfo(
{
rewardToken: config.ERC20_REWARD_TOKEN,
pool: poolAddress,
startTime: startTime,
endTime: endTime,
refundee: await signer.getAddress()
},
tokenId
);
const receipt = await rewardInfo.wait();
return receipt;
Metadata
Metadata
Assignees
Labels
No labels