mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Update main.sol
This commit is contained in:
parent
541df8e551
commit
2da9eb4901
|
@ -23,6 +23,7 @@ contract LiquidityResolver is DSMath, Stores, Variables, Events {
|
|||
* @dev Borrow Flashloan and Cast spells.
|
||||
* @param token Token Address.
|
||||
* @param amt Token Amount.
|
||||
* @param route Flashloan source route. (0: dYdX(ETH,DAI,USDC only), 1: MakerDAO(DAI only), 2: Compound(All borrowable tokens in Compound), 3: AaveV2(All borrowable tokens in AaveV2))
|
||||
* @param data targets & data for cast.
|
||||
*/
|
||||
function flashBorrowAndCast(
|
||||
|
@ -74,4 +75,4 @@ contract LiquidityResolver is DSMath, Stores, Variables, Events {
|
|||
|
||||
contract ConnectV2InstaPool is LiquidityResolver {
|
||||
string public name = "Instapool-v1.1";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user