InstaFlashInterface ​
flashLoan ​
solidity
function flashLoan(address[] tokens, uint256[] amts, uint256 route, bytes data, bytes extraData) external
InstaFlashReceiverInterface ​
executeOperation ​
solidity
function executeOperation(address[] assets, uint256[] amounts, uint256[] premiums, address initiator, bytes _data) external returns (bool)
VaultT1Liquidator ​
ETH_ADDRESS ​
solidity
address ETH_ADDRESS
FLA ​
solidity
contract InstaFlashInterface FLA
WETH ​
solidity
contract IWETH9 WETH
rebalancer ​
solidity
mapping(address => bool) rebalancer
FluidVaultT1Liquidator__InvalidOperation ​
solidity
error FluidVaultT1Liquidator__InvalidOperation()
Liquidated ​
solidity
event Liquidated(address vault, uint256 collateral, uint256 debt)
Withdraw ​
solidity
event Withdraw(address to, address token, uint256 amount)
ToggleRebalancer ​
solidity
event ToggleRebalancer(address rebalancer, bool status)
LiquidationParams ​
solidity
struct LiquidationParams {
address vault;
address supply;
address borrow;
uint256 supplyAmount;
uint256 borrowAmount;
uint256 colPerUnitDebt;
bool absorb;
address swapRouter;
address swapApproval;
bytes swapData;
uint256 route;
}
constructor ​
solidity
constructor(address owner_, address fla_, address weth_, address[] rebalancers_) public
isRebalancer ​
solidity
modifier isRebalancer()
toggleRebalancer ​
solidity
function toggleRebalancer(address rebalancer_, bool status_) public
spell ​
solidity
function spell(address[] targets_, bytes[] calldatas_) public
withdraw ​
solidity
function withdraw(address to_, address[] tokens_, uint256[] amounts_) public
liquidation ​
solidity
function liquidation(struct VaultT1Liquidator.LiquidationParams params_) public
executeOperation ​
solidity
function executeOperation(address[] assets, uint256[] amounts, uint256[] premiums, address initiator, bytes _data) external returns (bool)
receive ​
solidity
receive() external payable