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

26 lines
527 B
Solidity
Raw Permalink Normal View History

2022-03-22 15:24:40 +00:00
//SPDX-License-Identifier: MIT
2021-11-15 10:29:08 +00:00
pragma solidity ^0.7.6;
2021-11-25 05:21:25 +00:00
import "../../common/interfaces.sol";
2021-11-15 10:29:08 +00:00
pragma abicoder v2;
interface IUniverseAdapter {
function depositProxy(
address universeVault,
uint256 amount0,
uint256 amount1
) external returns(uint256, uint256);
}
2021-11-23 11:51:39 +00:00
interface IVaultV3 {
2021-11-15 10:29:08 +00:00
2021-11-25 05:21:25 +00:00
function token0() external returns(TokenInterface);
function token1() external returns(TokenInterface);
2021-11-15 10:29:08 +00:00
function withdraw(uint256 share0, uint256 share1) external returns(uint256, uint256);
}