Skip to main content

MockLendingPool

Functions

constructor

function constructor() public

deposit

function deposit(
address asset,
uint256 amount,
address onBehalfOf,
uint16 referralCode
) external

Parameters

NameTypeDescription
assetaddress
amountuint256
onBehalfOfaddress
referralCodeuint16

withdraw

function withdraw(
address asset,
uint256 amount,
address to
) external

Parameters

NameTypeDescription
assetaddress
amountuint256
toaddress