Metronome
  • Metronome Synth
    • Introduction
    • Treasury Management
    • Protocol Owned Liquidity
      • External Liquidity
    • The Metronome Token ($MET)
    • Metronome Synth Protocol
      • Metronome Synth Features
      • Metronome Dashboard
      • Liquidations and Collateral Factors
      • Productive Collateral
      • Supported Assets
      • Synth Marketplace
      • DeFi Ecosystem
      • Metronome Synth Mintage and Deposit Caps
    • Risks
      • Liquidation
      • Black Swan
      • Oracle Disruptions
    • Metronome Revenue Model
    • Metronome Synth Glossary
    • Contracts
  • Smart Farming
    • Introduction
    • How Does it Work?
    • Competitive Advantages
    • Step-by-Step Guide
    • Loopage
    • Auto Repay
    • Risks
    • FAQ
  • Tokenomics
    • esMET
    • Governance
      • Lock MET
        • How to Lock MET
      • Early Unlock
        • How to Unlock MET
    • Trading Fee Discount
  • Contract Overview
    • Liquidation
    • Pool
    • Fees
    • Rewards
  • Metronome 2.0
    • Introduction
    • MET Tokenomics
    • Metronome DAO
      • Voting and Participation
      • Treasury Management
      • Metronome Improvement Proposal (MIP) Template
    • FAQ
    • Glossary
  • resources
    • Official Links
    • Brand Assets
    • Metronome 1.0
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Contract Overview

Pool

Function
Description

DebtOf

Returns an account's outstanding position in USD by querying the latest prices from oracles.

DebtPositionOf

Provides information about an account's outstanding position, including its health, total collateral, total amount outstanding, max amount of issuable debt, and available debt.

DepositOf

Retrieves an account's total collateral deposited in USD and the max value that can be used to issue synthetic tokens.

QuoteLiquidateIn/QuoteLiquidateOut

Helps determine the required amounts for liquidation, including repayable debt, seized collateral, and fees.

QuoteSwapIn/QuoteSwapOut

Calculates the required input and output amounts for token swaps, taking into account fees.

Leverage

Enables users to loop their yield position by depositing collateral, minting synthetic tokens, and using those tokens to purchase more collateral.

Liquidate

Facilitates the liquidation of unhealthy positions, burning synthetic tokens to unlock collateral and provide incentives for liquidators.

Swap

Enables users to swap synthetic tokens.

PreviousLiquidationNextFees

Last updated 10 months ago

Was this helpful?