WithdrawHelper

Git Source

Inherits: IWithdrawHelper

Functions

withdraw

Withdraws the funds from the vault at any ratio.

function withdraw(
    address safe_,
    address vault_,
    uint256 amount0_,
    uint256 amount1_,
    address payable receiver_
) external override;

Parameters

NameTypeDescription
safe_addressThe address of the safe that owns the vault.
vault_addressThe address of the vault to withdraw the funds from.
amount0_uint256The amount of token0 to withdraw.
amount1_uint256The amount of token1 to withdraw.
receiver_address payableThe address that will receive the funds.