Other Features
Last updated
Was this helpful?
Last updated
Was this helpful?
Flash loans are a feature designed for developers, due to the technical knowledge required to execute one. Flash Loans allow you to borrow any available amount of assets without putting up any collateral, as long as the liquidity is returned to the protocol within one block transaction. To do a Flash Loan, you will need to build a contract that requests a Flash Loan. The contract will then need to execute the instructed steps and pay back the Flash Loan + fee (0.09%) all within the same transaction.
If you would like to develop a Flash Loan smart contract, check out the developer .
In order to switch your assets you just need to go to the Switch section and follow these steps:
Select the asset you want to switch and the amount in the left side (From).
Select the asset you want to switch to in the right side (To).
Make sure to check the exchange rate and check the slippage. You can edit it based on your preferences. Depending on the slippage, the expected rate might differ and the transaction might even fail if you set it too low. After this click on Continue.
In the next step you will need to send the approval and submit the transaction. The approval transaction will only be required the 1st time you do this step, unless you revoke the approval.
Make sure to have enough ETH for the transaction cost. After sending both transactions your switch will be complete.
In order to repay with your assets you just need to go to the Dashboard and follow these steps:
Click on repay on the debt you want to repay.
Choose repay "With your current collateral".
Select the asset you want to repay and amount in the left side (Borrowed Asset).
Select the asset you want to use to repay to in the right side (Select Collateral).
Make sure to check the exchange rate and check the slippage. You can edit it based on your preferences. Depending on the slippage, the expected might differ and the transaction might even fail if you set it too low. After this click on Continue.
In the next step you need to send the approval and submit the transaction. The approval transaction will only be required the 1st time you do this step, unless you revoke the approval.
Make sure to have enough ETH for the transaction cost. After sending both transactions your repayment will be done.