LegacyRewardTokenMock
State Variables
vault
address public vault;
totalStaked
uint256 public totalStaked;
totalRewards
uint256 public totalRewards;
totalPenalty
uint256 public totalPenalty;
Functions
setVault
function setVault(address _vault) external;
totalAssets
function totalAssets() public view returns (uint256);
setTotalStaked
function setTotalStaked(uint256 _totalStaked) external;
setTotalPenalty
function setTotalPenalty(uint256 _totalPenalty) external;
setTotalRewards
function setTotalRewards(uint256 _totalRewards) external;
updateTotalRewards
function updateTotalRewards(int256 rewardsDelta) external;
migrate
function migrate(address receiver, uint256 principal, uint256 reward) external;