protocol fees
This commit is contained in:
@@ -75,6 +75,16 @@ interface IPartyPool is IERC20Metadata {
|
||||
/// @notice Flash-loan fee in parts-per-million (ppm) applied to flash borrow amounts.
|
||||
function flashFeePpm() external view returns (uint256);
|
||||
|
||||
/// @notice Protocol fee share (ppm) applied to fees collected by the pool (floored when accrued)
|
||||
/// @dev This is the fraction (in ppm) of the pool-collected fees that are owed to the protocol.
|
||||
function protocolFeePpm() external view returns (uint256);
|
||||
|
||||
/// @notice Address that will receive collected protocol tokens when collectProtocolFees() is called.
|
||||
function protocolFeeAddress() external view returns (address);
|
||||
|
||||
/// @notice Per-token protocol fee ledger accessor. Returns tokens owed (raw uint token units) for token index i.
|
||||
function protocolFeesOwed(uint256) external view returns (uint256);
|
||||
|
||||
/// @notice Liquidity parameter κ (Q64.64) used by the LMSR kernel: b = κ * S(q)
|
||||
/// @dev Pools are constructed with a κ value; this getter exposes the κ used by the pool.
|
||||
function kappa() external view returns (int128);
|
||||
|
||||
Reference in New Issue
Block a user