Skip to content

How to get Reward Info ? #233

Open
Open
@wshbair

Description

@wshbair

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions