Fathom Protocol
  • Introduction
  • FXD Stablecoin
    • FXD Smart Contract Architecture
    • Minting and Burning Mechanisms with LTV Ratio
    • Soft-Pegging to the US Dollar
    • Opening and closing position flows
    • BookKeeping mechanism
      • Stablecoin Accounting
      • Collateral Accounting
    • Liquidation
      • Fixed Spread Liquidation Strategy
      • Liquidation process walk through
    • Emergency Shutdown
    • Maths for position safety
    • Fee structure
    • Risk Management
    • Interfaces
      • ProxyWalletRegistry
      • ProxyWallet
        • FathomStablecoinProxyActions
      • CollateralPoolConfig
      • BookKeeper
      • FXD
      • LiquidationEngine
      • FlashMintModule
      • PriceFeed
      • ShowStopper
      • StabilityFeeCollector
      • SystemDebtEngine
      • AdminControls
    • Deployments
      • XDC Network
    • User Guides
      • Open FXD position
      • Top Up FXD Position
      • Repay and close FXD position
    • Fathom Stablecoin Smart Contracts
    • Fathom Stablecoin Subgraph
  • Vaults
    • Key Features
    • Definitions
    • Architecture
    • Fees
    • Workflows
    • Vault Management
    • Strategy Creation
    • Interfaces
      • Factory
      • Vault
      • BaseStrategy
      • TokenizedStrategy
    • Deployments
      • XDC Network
    • User Guides
      • Deposit and Withdraw in Vault
    • Fathom Vaults Smart Contracts
    • Fathom Vaults Subgraph
  • Lending
    • Core Concepts
    • Protocol Mechanics
    • Architecture
    • Interfaces
      • FmToken
      • VariableDebtToken
      • StableDebtToken
      • L2Pool
      • PoolAddressesProvider
    • User Guides
      • Supply, Borrow, Repay and Withdraw Asset
    • Deployments
      • XDC Network
    • Fathom Lending Smart Contracts
    • Fathom Lending Subgraph
  • DEX
    • Core Concepts
    • Architecture
    • Interfaces
      • Factory
      • Pair
      • Router
    • User Guides
      • Providing Liquidity
      • Swapping Assets
    • Deployments
      • XDC Network
    • Fathom DEX Smart Contracts
    • Fathom DEX Subgraph
  • DAO
    • DAO Structure
    • Governance Process
    • Staking Process
    • Treasury Management
    • Risk Management and Security Measures
    • Contributing to Fathom DAO
    • Interfaces
      • FTHM
      • Staking
        • Vault
        • RewardsCalculator
        • vFTHM
      • Governance
        • TimelockController
    • Deployments
      • XDC Network
    • User Guides
      • Staking
      • Proposing
      • Voting
    • Fathom DAO Smart Contracts
    • Fathom DAO Subgraph
  • Whitepaper
    • Version 1.0
  • Resources
  • FXD Deployments
  • FTHM Deployments
  • Privacy Policy
  • Terms of Service
Powered by GitBook

Copyright© Fathom App 2024.

On this page
  • Supply Asset
  • Borrow Asset
  • Repay Asset
  • Withdraw Asset
  • Risk Management

Was this helpful?

Export as PDF
  1. Lending
  2. User Guides

Supply, Borrow, Repay and Withdraw Asset

PreviousUser GuidesNextDeployments

Last updated 11 months ago

Was this helpful?

To cover the most important flows: supply, borrow, repay and withdraw an asset, follow the steps below.

Supply Asset

  • Go to Fathom .

  • Connect your Web3 wallet (such as ) and make sure your network is set to the intended chain (i.e., ).

  • Choose the asset to Supply.

  • Click "Supply" button.

  • Enter the amount of the asset you would like to supply.

  • Click "Supply Asset"

    • If this is your first time supplying this asset you may be required to approve the asset transfer before the actual transfer (depending on the asset type).

    • Sign and send the transaction in your Wallet.

    • Wait for the transaction to be processed.

    • Once the transaction has gone through, you'll see your asset supply in "Your supplies".

Borrow Asset

Now, you can borrow assets against your collateral. Be careful only to borrow a little; otherwise, your position may be liquidated. The simplest metric for the position risk is the health factor.

  • Choose an asset to borrow and click "Borrow" button.

  • Enter the amount of the asset you would like to borrow. Pay attention to the Health Factor.

  • Click "Borrow Asset"

    • Sign and send the transaction in your Wallet.

    • Wait for the transaction to be processed.

    • Once the transaction has gone through, you'll see your asset borrowed in "Your borrows".

Repay Asset

If you have significant borrowing positions, your ability to withdraw your supply may be restricted. You need to repay all your borrowed assets with interest to withdraw all your supplies.

  • Choose the asset to repay and click "Repay" button.

  • Enter the amount of the asset you would like to repay.

Click "Repay Asset"

  • If this is your first time repaying this asset you may be required to approve the asset transfer before the actual transfer (depending on the collateral type).

  • Sign and send the transaction in your Wallet.

  • Wait for the transaction to be processed.

  • Once the transaction has gone through, you'll see changes in "Your borrows".

Withdraw Asset

  • Choose the asset to withdraw and click "Withdraw" button.

  • Enter the amount of the asset you would like to withdraw.

Click "Withdraw Asset"

  • Sign and send the transaction in your Wallet.

  • Wait for the transaction to be processed.

  • Once the transaction has gone through, you'll see changes in "Your supplies".

Risk Management

Pay attention to your Health Factor. If it becomes too small, your supplied assets may be liquidated to restore it. In that case, you will lose your supply.

There are 2 ways how to manage your Health Factors:

  • Supply more assets

  • Repay your borrowed assets

You can investigate the for this asset to make the decision. Clock "Details" button.

Market
DApp
MetaMask
XDC