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