MockTokemakEthPool
Functions
constructor
function constructor(
address _weth
) public
Parameters
Name | Type | Description |
---|---|---|
_weth | address |
receive
function receive() external
underlyer
function underlyer() external returns (address)
requestWithdrawal
function requestWithdrawal(
uint256 amount
) external
Parameters
Name | Type | Description |
---|---|---|
amount | uint256 |
deposit
function deposit(
uint256 amount
) external
Parameters
Name | Type | Description |
---|---|---|
amount | uint256 |
withdraw
function withdraw(
uint256 requestedAmount,
bool asEth
) external
Parameters
Name | Type | Description |
---|---|---|
requestedAmount | uint256 | |
asEth | bool |