For the complete documentation index, see llms.txt. This page is also available as Markdown.

RewarderMock

Methods

onSynapseReward

function onSynapseReward(uint256, address user, address to, uint256 synapseAmount, uint256) external nonpayable

Parameters

Name
Type
Description

_0

uint256

undefined

user

address

undefined

to

address

undefined

synapseAmount

uint256

undefined

_4

uint256

undefined

pendingTokens

function pendingTokens(uint256 pid, address user, uint256 synapseAmount) external view returns (contract IERC20[] rewardTokens, uint256[] rewardAmounts)

Parameters

Name
Type
Description

pid

uint256

undefined

user

address

undefined

synapseAmount

uint256

undefined

Returns

Name
Type
Description

rewardTokens

contract IERC20[]

undefined

rewardAmounts

uint256[]

undefined

Last updated