dsa-connectors/contracts/polygon/connectors/aave/automation-v3/interfaces.sol
pradyuman-verma b72f8891e5
fixes
Signed-off-by: pradyuman-verma <pradyumnverma27@gmail.com>
2022-07-23 15:17:27 +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);
}