// SPDX-License-Identifier: MIT pragma solidity 0.6.11; import "./IPool.sol"; /** * The Active Pool holds the ETH collateral and ZUSD debt (but not ZUSD tokens) for all active troves. * * When a trove is liquidated, it's ETH and ZUSD debt are transferred from the Active Pool, to either the * Stability Pool, the Default Pool, or both, depending on the liquidation conditions. * */ interface IActivePool is IPool { // --- Events --- event BorrowerOperationsAddressChanged(address _newBorrowerOperationsAddress); event TroveManagerAddressChanged(address _newTroveManagerAddress); event ActivePoolZUSDDebtUpdated(uint _ZUSDDebt); event ActivePoolETHBalanceUpdated(uint _ETH); // --- Functions --- /// @notice Send ETH amount to given account. Updates ActivePool balance. Only callable by BorrowerOperations, TroveManager or StabilityPool. /// @param _account account to receive the ETH amount /// @param _amount ETH amount to send function sendETH(address _account, uint _amount) external; }