dsa-connectors/contracts/mainnet/connectors/yearn_v2/interface.sol

13 lines
361 B
Solidity
Raw Normal View History

2021-08-23 21:35:06 +00:00
pragma solidity ^0.7.0;
interface YearnV2Interface {
function deposit(uint256 amount, address recipient) external returns (uint256);
2021-09-07 08:04:51 +00:00
2021-08-23 21:35:06 +00:00
function withdraw(uint256 maxShares, address recipient) external returns (uint256);
2021-09-07 08:04:51 +00:00
2021-08-23 21:35:06 +00:00
function token() external view returns (address);
2021-09-07 08:04:51 +00:00
function balanceOf(address owner) external view returns (uint256);
2021-08-23 21:35:06 +00:00
}