2022-03-22 15:24:40 +00:00
|
|
|
//SPDX-License-Identifier: MIT
|
2021-08-23 10:06:49 +00:00
|
|
|
pragma solidity ^0.7.6;
|
|
|
|
|
|
|
|
interface StabilityPoolLike {
|
|
|
|
function provideToSP(uint _amount, address _frontEndTag) external;
|
|
|
|
function withdrawFromSP(uint _amount) external;
|
|
|
|
function withdrawETHGainToTrove(address _upperHint, address _lowerHint) external;
|
|
|
|
function getDepositorETHGain(address _depositor) external view returns (uint);
|
|
|
|
function getDepositorLQTYGain(address _depositor) external view returns (uint);
|
|
|
|
function getCompoundedLUSDDeposit(address _depositor) external view returns (uint);
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BAMMLike {
|
|
|
|
function deposit(uint lusdAmount) external;
|
|
|
|
function withdraw(uint numShares) external;
|
|
|
|
function balanceOf(address a) external view returns(uint);
|
|
|
|
function totalSupply() external view returns(uint);
|
|
|
|
}
|