ITransferStrategyBase
EmergencyWithdrawal
performTransfer
Perform custom transfer logic via delegate call from source contract to a TransferStrategy implementation
Parameters
Name
Type
Description
to
address
Account to transfer rewards
reward
address
Address of the reward token
amount
uint256
Amount to transfer to the "to" address parameter
Return Values
Name
Type
Description
[0]
bool
Returns true bool if transfer logic succeeds
getIncentivesController
Return Values
Name
Type
Description
[0]
address
Returns the address of the Incentives Controller
getRewardsAdmin
Return Values
Name
Type
Description
[0]
address
Returns the address of the Rewards admin
emergencyWithdrawal
Perform an emergency token withdrawal only callable by the Rewards admin
Parameters
Name
Type
Description
token
address
Address of the token to withdraw funds from this contract
to
address
Address of the recipient of the withdrawal
amount
uint256
Amount of the withdrawal