Gelato-automations/contracts/interfaces/IFlashLoan.sol
2020-11-02 09:44:35 +01:00

19 lines
379 B
Solidity

// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.4;
interface IFlashLoan {
function flashBorrowAndCast(
address token,
uint256 amt,
uint256 route,
bytes memory data
) external payable;
function flashPayback(
address token,
uint256 amt,
uint256 getId,
uint256 setId
) external payable;
}