dsa-connectors/contracts/mainnet/connectors/instapool_v3/interfaces.sol

19 lines
510 B
Solidity
Raw Normal View History

2022-03-22 15:24:40 +00:00
//SPDX-License-Identifier: MIT
2021-10-14 23:01:34 +00:00
pragma solidity >=0.7.0;
pragma experimental ABIEncoderV2;
interface InstaFlashV2Interface {
function initiateFlashLoan(address token, uint256 amt, uint route, bytes calldata data) external;
function initiateMultiFlashLoan(
address[] memory tokens_,
uint256[] memory amounts_,
uint256,
bytes calldata data
) external;
}
interface AccountInterface {
function enable(address) external;
function disable(address) external;
}