Inherits: UniswapFlashswapDirectMintHandlerWithDust
Handler for the ezETH collateral.
Creates a new EzEthHandler
instance.
Parameters
Name | Type | Description |
---|---|---|
Deposits the mint asset into the provider's collateral-asset deposit contract.
Parameters
Returns
Calculates the amount of mint asset required to receive amountLrt
.
Calculates the amount of mint asset required to receive amountLrt
.
Parameters
Returns
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
_ilkIndex
uint8
Ilk index of the pool.
_ionPool
IonPool
address.
_gemJoin
GemJoin
address.
_whitelist
Whitelist
address.
_wstEthUniswapPool
IUniswapV3Pool
address of the wstETH/WETH Uniswap pool (0.01% fee).
amountWeth
uint256
<none>
uint256
Amount of collateral asset received. [WAD]
amountOut
uint256
ethAmountIn
uint256
Amount mint asset required for desired output. [WAD]