Flash Loans
Cheap, fixed fee flash loans leveraging liquidity from any pod
Last updated
Cheap, fixed fee flash loans leveraging liquidity from any pod
Last updated
The tokens from any pod can be used to execute a flash loan for any amount for a small fee of 10 DAI at any point in time. It's simple to create a flash loan programmatically by implementing a small interface on a receiving contract to use the funds and return them all in the same block.
Anywhere you execute flash
make sure you approve 10 DAI against the pod token you're executing a flash loan against on this wallet/contract which will be transferred to the pod contract. This DAI is used to buy and paid to LPs for this pod.
All pods implement the following interface you can call from your smart contract to borrow liquidity from the pod.
Implement the following interface from your receiver to execute a flash loan. Just make sure to return any borrowed funds in the callback and do whatever you need!