mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
19 lines
510 B
Solidity
19 lines
510 B
Solidity
//SPDX-License-Identifier: MIT
|
|
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;
|
|
}
|