C.R.E.A.M. Finance
LendingIron BankAPI DocsForum
Polygon
Polygon
  • C.R.E.A.M. Finance
  • Flash Loans
  • Lending
    • Lending Contract Address
    • Collateral Factor & Reserve Factor
    • Interest Rate Model
    • Price Oracle
  • Developer
    • crTokens
    • Data API
    • Subgraph (GraphQL)
  • Give Feedback
Powered by GitBook
On this page
  • Overview
  • flashloanLender
  • Step by step guide

Was this helpful?

Flash Loans

PreviousC.R.E.A.M. FinanceNextLending Contract Address

Last updated 3 years ago

Was this helpful?

Overview

C.R.E.A.M. is bringing Flash Loans to our money markets.

Flash Loans allow developers access to undercollateralized loans, provided that the borrowed amount (and fee) is returned within one transaction block.

Flash Loans offer a wide range of use cases, including democratized liquidations, arbitrage, collateral swapping and interest rate swapping.

Our Flash Loans feature is very similar to , except C.R.E.A.M. Flash Loans are implemented on crToken.

There are 3 major differences between C.R.E.A.M. Flash Loans and AAVE v1 Flash Loans:

  1. Using C.R.E.A.M. Flash Loans devs interact with flashLoanLender contract , instead of the lending pool.

  2. C.R.E.A.M has deployed two flashLoanLenders that conform to EIP-3156; one for Lending and one for IronBank.

  3. Fee is cheaper. C.R.E.A.M. fee is 0.03%

Not all markets support Flash Loan. Check out .

flashloanLender

Step by step guide

Please refer to Ethereum mainnet's .

AAVE Flash Loans V1
0xb3c68d69E95B095ab4b33B4cB67dBc0fbF3Edf56
documentation
Contract Address