Interface

The following is a consolidated interface for the WETHGateway.

pragma solidity ^0.8.11;

interface IWETHGateway {

    receive() external payable;

    function refreshAllowance(address alchemist) external;

    function depositUnderlying(

        address alchemist,

        address yieldToken,

        uint256 amount,

        address recipient,

        uint256 minimumAmountOut

    ) external payable;

    function withdrawUnderlying(

        address alchemist,

        address yieldToken,

        uint256 shares,

        address recipient,

        uint256 minimumAmountOut

    ) external;

}

Last updated