Skip to main content

MockAngleStableMaster

Functions

constructor

function constructor(
contract MockERC20 _agToken,
uint256 _usdPerAgToken
) public

Parameters

NameTypeDescription
_agTokencontract MockERC20
_usdPerAgTokenuint256

setFee

function setFee(
uint256 _fee
) public

Parameters

NameTypeDescription
_feeuint256

mint

function mint(
uint256 amount,
address user,
address poolManager,
uint256 minStableAmount
) external

Parameters

NameTypeDescription
amountuint256
useraddress
poolManageraddress
minStableAmountuint256

burn

function burn(
uint256 amount,
address burner,
address dest,
address poolManager,
uint256 minCollatAmount
) external

Parameters

NameTypeDescription
amountuint256
burneraddress
destaddress
poolManageraddress
minCollatAmountuint256