IYearn4626RouterExt

Git Source

Inherits: IYearn4626Router

Functions

redeemVaultV2

function redeemVaultV2(
    IYearnVaultV2 vault,
    uint256 shares,
    address to,
    uint256 minAmountOut
)
    external
    payable
    returns (uint256 amountOut);

redeemFromRouter

function redeemFromRouter(
    IERC4626 vault,
    uint256 shares,
    address to,
    uint256 minAmountOut
)
    external
    payable
    returns (uint256 amountOut);

withdrawFromRouter

function withdrawFromRouter(
    IERC4626 vault,
    uint256 assets,
    address to,
    uint256 maxSharesIn
)
    external
    payable
    returns (uint256 sharesIn);

redeemStakeDaoGauge

function redeemStakeDaoGauge(
    IStakeDaoGauge gauge,
    uint256 shares,
    address to
)
    external
    payable
    returns (uint256 amountOut);

previewDeposits

function previewDeposits(
    address[] calldata path,
    uint256 assetsIn
)
    external
    view
    returns (uint256[] memory sharesOut);

previewMints

function previewMints(address[] calldata path, uint256 sharesOut) external view returns (uint256[] memory assetsIn);

previewWithdraws

function previewWithdraws(
    address[] calldata path,
    uint256 assetsOut
)
    external
    view
    returns (uint256[] memory sharesIn);

previewRedeems

function previewRedeems(address[] calldata path, uint256 sharesIn) external view returns (uint256[] memory assetsOut);

pullTokenWithPermit2

function pullTokenWithPermit2(
    ISignatureTransfer.PermitTransferFrom memory permit,
    ISignatureTransfer.SignatureTransferDetails calldata transferDetails,
    bytes calldata signature
)
    external
    payable;