SFT Protocol
English
  • SFT Protocol
  • Protocol
    • πŸ”Security & Audit
    • πŸ›£οΈRoadmap
    • 🏷️Contact Us
  • Products
    • πŸ”¨Staking Minting
    • πŸ”‘Redemption
    • πŸ’°Farm
    • 🚰Provide Liquidity
    • πŸ“ˆLending
    • ⛓️Cross-chain Bridge
    • ☁️RPC Cloud
  • Collaborators
    • 🀝FIL Holders
    • πŸ›‘οΈEquipment Providers
    • πŸ•ΈοΈNode Partners
  • Tutorials
    • πŸ“‘Product Tutorials
      • Stake FIL to Sealing Nodes
        • FVM
      • Stake FIL to Pool
      • Farm Stake and Income
      • Redemption Process
      • Pool Lending Process
    • πŸͺ™Address and Wallet
      • TP Wallet Usage
      • Metamask Wallet Usage
      • FEVM Address Explanation
    • πŸ”ŠMarketing Promotion Plan
  • Technical Documentation
    • Technical Architecture
    • Smart Contracts
    • Technical Description
      • LendingPool Contract
      • Swap Contract
      • Reward Contract
Powered by GitBook
On this page
  1. Technical Documentation
  2. Technical Description

Swap Contract

Minting Pool and Redemption Pool for Ordinary Users.

PreviousLendingPool ContractNextReward Contract

Last updated 1 year ago

1. swapFil

Users use SFT to exchange FIL, that is, a redemption operation. When the FIL balance in the contract is insufficient, the contract borrows FIL from the borrowing pool to meet the user's redemption needs (see the above method for details).

7. borrowLiquidity