mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
26 lines
544 B
Solidity
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);
|
||
|
}
|