SFT Protocol
CtrlK
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.

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 7. borrowLiquidity method for details).

PreviousLendingPool ContractNextReward Contract

Last updated 2 years ago