Gas Usage
In this section, we collected the main list of functions available for users and calculated how much gas would be used for each of those functions
Function
Estimate gas
LoanManager.createLoanWithTerms()
1138154
LoanManager.takeOutLoan()
672555
LoanManager.depositCollateral()
290760
LoanManager.withdrawCollateral()
313009
LoanManager.repay()
406496
LoanManager.liquidateLoan()
421461
Lenders.setAccruedInterest()
374708
LendingPool.deposit()
1104599
LendingPool.withdraw()
1266276
LendingPool.withdrawInterest()
898116
Last modified 6mo ago
Copy link