Skip to main content

IMockERC20

Functions

mint

function mint(
address account,
uint256 amount
) external returns (bool)

Parameters

NameTypeDescription
accountaddress
amountuint256

MockAngleStakingRewards

Functions

constructor

function constructor(
contract IERC20 _stakingToken,
contract IMockERC20 _rewardToken
) public

Parameters

NameTypeDescription
_stakingTokencontract IERC20
_rewardTokencontract IMockERC20

stake

function stake(
uint256 amount
) external

Parameters

NameTypeDescription
amountuint256

withdraw

function withdraw(
uint256 amount
) external

Parameters

NameTypeDescription
amountuint256

getReward

function getReward() external