dsa-connectors/contracts/mainnet/connectors/automation/aave-v2/interfaces.sol
pradyuman-verma c1a5f6ad9b
folder refactoring
Signed-off-by: pradyuman-verma <pradyumnverma27@gmail.com>
2022-08-30 14:31:39 +05:30

26 lines
544 B
Solidity

//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2;
interface InstaAaveAutomation {
function submitAutomationRequest(
uint256 safeHealthFactor,
uint256 thresholdHealthFactor
) external;
function cancelAutomationRequest() external;
function updateAutomation(
uint256 safeHealthFactor,
uint256 thresholdHealthFactor
) external;
}
interface AccountInterface {
function enable(address) external;
function disable(address) external;
function isAuth(address) external view returns (bool);
}