✒️
Teller V1 Docs
  • Introduction
  • Getting Started
    • Overview
    • FAQ
  • Protocol
    • Core Contracts
      • ATM Contracts
      • LoanManager Contracts
      • LoanTermsConsensus Contracts
    • Settings Contract
      • Platform Settings
      • Privileged Roles & Ownership
        • Pauser Role
        • Progressive Pauser Role Owner
    • Price Oracles
    • Liquidation Manual
    • Gas Usage
  • Teller Nodes
    • Overview
    • Credit Risk Algorithm (CRA)
    • Accrued Interest
  • Guides & Tutorials
    • Teller Testnet
  • Safety & Audits
    • Audits
  • Additional Resources
    • List
  • Legal
    • Terms of Use
    • Privacy Policy
    • Cookies & Data Policies
Powered by GitBook
On this page

Was this helpful?

  1. Protocol

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

PreviousLiquidation ManualNextOverview

Last updated 4 years ago

Was this helpful?