Term Finance v1
  • Introduction to Term Finance
  • Protocol
    • Term Repos
      • Key terms
      • Margin maintenance
      • Maturity
      • Collapse position
      • Defaults
        • Liquidation
        • Liquidation protection
      • Terminology
      • Conventions
      • Rollovers
    • Term Auctions
      • Auction characteristics
      • Auction timeline
      • Complete Auction
        • Clearing rate
        • Assignment
        • Settlement
      • Terminology
    • Term Repo Tokens
      • Key metadata
      • Valuation
    • Fees and Penalties
      • Servicing Fee
      • Liquidated Damages
    • Risk Disclosures
      • Term Repo Risks
      • Smart Contract Risk
      • Digital Asset Risk
      • Ethereum Network Risk
    • FAQ
  • PERIPHERY
    • Blue Sheets (Simple-Earn)
      • Security Audits
      • GitHub Repo
      • FAQ
  • Developers
    • Developer Docs
    • Security Audits
  • Legal
    • Terms of Use
    • Privacy Policy
Powered by GitBook
On this page
  • Term Repo Lockers
  • Price oracle
  • Withdraw collateral
  • Add collateral
  1. Protocol
  2. Term Repos

Margin maintenance

Borrowers may manage their collateral during the term of a Term Repo transaction by calling certain external functions.

PreviousKey termsNextMaturity

Last updated 6 months ago

Term Repo Lockers

Each Term Repo has a Term Repo Locker, which is a smart contract that locks collateral on behalf of borrowers and lenders for that Term Repo.

By segregating Term Repo Lockers by maturity and purchase token/collateral token pairs rather than instituting a single large commingled collateral pool reduces user exposure to cybersecurity risks and exploits.

Price oracle

All borrower balances, including collateral and repurchase balances are valued in USD using decentralized price oracles (primarily ). These oracles are source of truth for the fair-market value of all tokens on the Protocol (including all collateral tokens) and are decentralized to mitigate against unilateral attack by a malicious data provider (for more information, see risk disclosures on .

Withdraw collateral

If at any time a borrower has , the borrower may withdraw collateral by calling the public function externalUnlockCollateral. A borrower may not make any withdrawals that would put their account into a margin deficit.

Add collateral

If at any time a borrower wishes to post additional margin to their account as additional buffer against liquidation, they may do so by calling the public function externalLockCollateral. There are not limits to the amount of collateral a borrower my lock in this manner.

Chainlink
margin excess
oracle risk)