Gas usage
We collected the main list of functions available for users and calculated how much gas would use each of those functions.
Function
Estimate gas
EtherCollateralLoans.createLoanWithTerms()
1138154
TokenCollateralLoans.createLoanWithTerms()
1191193
EtherCollateralLoans.takeOutLoan()
672555
TokenCollateralLoans.takeOutLoan()
657603
EtherCollateralLoans.depositCollateral()
290760
TokenCollateralLoans.depositCollateral()
373961
EtherCollateralLoans.withdrawCollateral()
313009
TokenCollateralLoans.withdrawCollateral()
345523
LoansBase.repay()
406496
LoansBase.liquidateLoan()
421461
Lenders.setAccruedInterest()
374708
LendingPool.deposit()
1104599
LendingPool.withdraw()
1266276
LendingPool.withdrawInterest()
898116
Last updated
Was this helpful?