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).
Last updated