mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
14 lines
392 B
Solidity
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);
|
|
}
|
|
|