File tree Expand file tree Collapse file tree 7 files changed +45
-2
lines changed Expand file tree Collapse file tree 7 files changed +45
-2
lines changed Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: GPL-3.0-or-later
2+ // solhint-disable-next-line compiler-version
3+ interface IBondController {
4+ function collateralBalance() external view returns (uint256);
5+ }
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: GPL-3.0-or-later
2+ // solhint-disable-next-line compiler-version
3+ interface IERC20 {
4+ function totalSupply() external view returns (uint256);
5+ function balanceOf(address account) external view returns (uint256);
6+ function transfer(address to, uint256 value) external returns (bool);
7+ function allowance(address owner, address spender) external view returns (uint256);
8+ function approve(address spender, uint256 value) external returns (bool);
9+ function transferFrom(
10+ address from,
11+ address to,
12+ uint256 value
13+ ) external returns (bool);
14+ }
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: GPL-3.0-or-later
2+ // solhint-disable-next-line compiler-version
3+ interface IPerpFeePolicy {
4+ function decimals() external returns (uint8);
5+ function deviationRatio() external returns (uint256);
6+ function computePerpRolloverFeePerc(uint256 dr) external returns (int256);
7+ }
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: GPL-3.0-or-later
2+ // solhint-disable-next-line compiler-version
3+ interface IPerpetualTranche {
4+ function underlying() external view returns (address);
5+ function getTVL() external returns (uint256);
6+ function totalSupply() external returns (uint256);
7+ function getReserveCount() external returns (uint256);
8+ function getReserveAt(uint256 index) external returns (address);
9+ function deviationRatio() external returns (uint256);
10+ function getReserveTokenValue(address t) external returns (uint256);
11+ function getReserveTokenBalance(address t) external returns (uint256);
12+ function feePolicy() external returns (address);
13+ }
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: GPL-3.0-or-later
2+ // solhint-disable-next-line compiler-version
3+ interface ITranche {
4+ function bond() external view returns (address);
5+ function totalSupply() external view returns (uint256);
6+ }
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: GPL-3.0-or-later
22// solhint-disable-next-line compiler-version
3- pragma solidity ^ 0.7.6 ;
4-
53interface IWAMPL {
64 function wrapperToUnderlying(uint256 wamples) external view returns (uint256);
75}
File renamed without changes.
You can’t perform that action at this time.
0 commit comments