Interface and Methods
1
interface IIdleCDO {
2
function AATranche() external view returns(address);
3
function BBTranche() external view returns(address);
4
function AAStaking() external view returns(address);
5
function BBStaking() external view returns(address);
6
function strategy() external view returns(address);
7
function strategyToken() external view returns(address);
8
function token() external view returns(address);
9
​
10
function allowAAWithdraw() external view returns(bool);
11
function allowBBWithdraw() external view returns(bool);
12
function fee() external view returns(uint256);
13
function getApr(address _tranche) external view returns(uint256);
14
function getContractValue() external view returns(uint256);
15
function trancheAPRSplitRatio() external view returns(uint256);
16
function getCurrentAARatio() external view returns(uint256);
17
function tranchePrice(address _tranche) external view returns(uint256);
18
function virtualPrice(address _tranche) external view returns(uint256);
19
function getIncentiveTokens() external view returns(address[] memory);
20
​
21
function depositAA(uint256) external returns(uint256);
22
function depositBB(uint256) external returns(uint256);
23
function withdrawAA(uint256) external returns(uint256);
24
function withdrawBB(uint256) external returns(uint256);
25
}
Copied!

Core Methods

AAStaking view ()
AATranche view ()
BBStaking view ()
BBTranche view ()
depositAA nonpayable (uint256)
depositBB nonpayable (uint256)
fee view ()
getApr view (address)
getContractValue view ()
getCurrentAARatio view ()
getIncentiveTokens view ()
lastNAVAA view ()
lastNAVBB view ()
strategy view ()
strategyToken view ()
token view ()
trancheAPRSplitRatio view ()
tranchePrice view (address)
virtualPrice view (address)
withdrawAA nonpayable (uint256)
withdrawBB nonpayable (uint256)
Last modified 23d ago
Copy link
Contents
Core Methods