This is an interface for the flash loan provider.
This is an interface for the flash loan user.
This is a concrete implementation of a flash loan provider. We use the FakeUSDT ERC20 token to provide an initial balance for testing.
This is a concrete implementation of a flash loan user.
This contract is used to provide a balance to the flash loan provider.
In the test folder, you can can find a test file (TestFlashLoan.js) which shows the usage of the flash loan provider from a flash loan user.
- Truffle
- OpenZeppelin Contracts
- Blockchain Environment - Eg: Ganache