⚡FLAction
Description
Action ID: 0xbcab5e2a
Generalized fl action that gets and receives FL from different variety of sources.
SDK Action
In FLAction flParamGetterAddr
and flParamGetterData
are not used for on-chain getting of flash loan parameters. flParamGetterData
is used to choose between FL providers
Contract
This is a DFS FL_ACTION.
Input:
Inputs are not parsed as the FL action is always the first action and there are no return values before this action
Return value:
Events:
Supported providers
AAVE V2 / V3
Aave V2/V3 flash loans are specific as you can borrow multiple assets all at once and repay them at the end or incur debt at the end. When repaying the Aave V2/V3 FL you only need to set an approval and tokens will get pulled with no need to send the FL amount anywhere
SPARK
Same as AAVE
BALANCER
Receives a flash loan from the Balancer Vault. Multiple assets can be borrowed and repaid in the same flash loan
Asset borrow limit is determined by the asset balance of the Vault.
MAKER
Receives a flash loan from the Maker protocol. Protocol only supports DAI loans.
The flash loan fee and limit are set by the Maker Governance, they are liable to change in the future. Currently the fee is set at 0%
and the loan limit is 0.5 * 1e9 DAI
UNISWAP V3
Receives a flash loan from Uniswap V3 protocol.
GHO
Gets a GHO FL from Gho Flash Minter
MORPHO BLUE
Receives a flash loan from Morpho Blue protocol
Last updated