dsa-connectors/contracts/mainnet/connectors/yearn_v2/interface.sol
2022-03-22 20:54:40 +05:30

14 lines
392 B
Solidity

//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
interface YearnV2Interface {
function deposit(uint256 amount, address recipient) external returns (uint256);
function withdraw(uint256 maxShares, address recipient) external returns (uint256);
function token() external view returns (address);
function balanceOf(address owner) external view returns (uint256);
}