# Table of Contents - [About Secured Finance | Secured Finance Docs](#about-secured-finance-secured-finance-docs) - [Vision & Mission | Secured Finance Docs](#vision-mission-secured-finance-docs) - [Ecosystem Overview | Secured Finance Docs](#ecosystem-overview-secured-finance-docs) - [Roadmap | Secured Finance Docs](#roadmap-secured-finance-docs) - [Roadmap 2023 | Secured Finance Docs](#roadmap-2023-secured-finance-docs) - [Roadmap 2024 | Secured Finance Docs](#roadmap-2024-secured-finance-docs) - [DeFi vs CeFi | Secured Finance Docs](#defi-vs-cefi-secured-finance-docs) - [Roadmap 2025 | Secured Finance Docs](#roadmap-2025-secured-finance-docs) - [Wallet Setup | Secured Finance Docs](#wallet-setup-secured-finance-docs) - [DeFi Starter Guide | Secured Finance Docs](#defi-starter-guide-secured-finance-docs) - [Smart Contracts | Secured Finance Docs](#smart-contracts-secured-finance-docs) - [DEX | Secured Finance Docs](#dex-secured-finance-docs) - [Governance Tokens | Secured Finance Docs](#governance-tokens-secured-finance-docs) - [Gas Fees | Secured Finance Docs](#gas-fees-secured-finance-docs) - [Overview | Secured Finance Docs](#overview-secured-finance-docs) - [Contracts and Security | Secured Finance Docs](#contracts-and-security-secured-finance-docs) - [DApps | Secured Finance Docs](#dapps-secured-finance-docs) - [Core Mechanics | Secured Finance Docs](#core-mechanics-secured-finance-docs) - [White Paper | Secured Finance Docs](#white-paper-secured-finance-docs) - [Concept Paper | Secured Finance Docs](#concept-paper-secured-finance-docs) - [Liquidation | Secured Finance Docs](#liquidation-secured-finance-docs) - [Overview | Secured Finance Docs](#overview-secured-finance-docs) - [Creating Your First Trove | Secured Finance Docs](#creating-your-first-trove-secured-finance-docs) - [Advanced Topics | Secured Finance Docs](#advanced-topics-secured-finance-docs) - [Core Mechanics | Secured Finance Docs](#core-mechanics-secured-finance-docs) - [Lending Assets | Secured Finance Docs](#lending-assets-secured-finance-docs) - [Redemption | Secured Finance Docs](#redemption-secured-finance-docs) - [FAQs | Secured Finance Docs](#faqs-secured-finance-docs) - [System Overview | Secured Finance Docs](#system-overview-secured-finance-docs) - [Getting Test USDFC on Testnet | Secured Finance Docs](#getting-test-usdfc-on-testnet-secured-finance-docs) - [Getting Started | Secured Finance Docs](#getting-started-secured-finance-docs) - [Using the Stability Pool | Secured Finance Docs](#using-the-stability-pool-secured-finance-docs) - [Borrowing Assets | Secured Finance Docs](#borrowing-assets-secured-finance-docs) - [Standardization | Secured Finance Docs](#standardization-secured-finance-docs) - [Platform Guide | Secured Finance Docs](#platform-guide-secured-finance-docs) - [Managing Positions | Secured Finance Docs](#managing-positions-secured-finance-docs) - [Monitoring Your Position | Secured Finance Docs](#monitoring-your-position-secured-finance-docs) - [Order Life Cycle | Secured Finance Docs](#order-life-cycle-secured-finance-docs) - [Overview | Secured Finance Docs](#overview-secured-finance-docs) - [Recovery Mode | Secured Finance Docs](#recovery-mode-secured-finance-docs) - [Campaign | Secured Finance Docs](#campaign-secured-finance-docs) - [Portfolio | Secured Finance Docs](#portfolio-secured-finance-docs) - [Collateralization | Secured Finance Docs](#collateralization-secured-finance-docs) - [Protocol Fees | Secured Finance Docs](#protocol-fees-secured-finance-docs) - [Privacy Policy | Secured Finance Docs](#privacy-policy-secured-finance-docs) - [Order Type | Secured Finance Docs](#order-type-secured-finance-docs) - [Contracts and Security | Secured Finance Docs](#contracts-and-security-secured-finance-docs) - [Markets | Secured Finance Docs](#markets-secured-finance-docs) - [Mint & Borrow | Secured Finance Docs](#mint-borrow-secured-finance-docs) - [Tokenomics | Secured Finance Docs](#tokenomics-secured-finance-docs) - [Media Kit | Secured Finance Docs](#media-kit-secured-finance-docs) - [DAOs | Secured Finance Docs](#daos-secured-finance-docs) - [Trading | Secured Finance Docs](#trading-secured-finance-docs) - [Minting USDFC Step-by-Step | Secured Finance Docs](#minting-usdfc-step-by-step-secured-finance-docs) - [How Liquidation Works | Secured Finance Docs](#how-liquidation-works-secured-finance-docs) - [Mark to Market | Secured Finance Docs](#mark-to-market-secured-finance-docs) - [Secured Finance Coin (SFC) | Secured Finance Docs](#secured-finance-coin-sfc-secured-finance-docs) - [Governance | Secured Finance Docs](#governance-secured-finance-docs) - [The Trove System | Secured Finance Docs](#the-trove-system-secured-finance-docs) - [Safety Measures | Secured Finance Docs](#safety-measures-secured-finance-docs) - [ZC Bond Price to APR | Secured Finance Docs](#zc-bond-price-to-apr-secured-finance-docs) - [Legal | Secured Finance Docs](#legal-secured-finance-docs) - [Liquidators | Secured Finance Docs](#liquidators-secured-finance-docs) - [Liquidation | Secured Finance Docs](#liquidation-secured-finance-docs) - [Support & Contacts | Secured Finance Docs](#support-contacts-secured-finance-docs) - [Order Book System | Secured Finance Docs](#order-book-system-secured-finance-docs) - [Introduction | Secured Finance Docs](#introduction-secured-finance-docs) - [Managing Collateral Effectively | Secured Finance Docs](#managing-collateral-effectively-secured-finance-docs) - [Terms of Use | Secured Finance Docs](#terms-of-use-secured-finance-docs) - [Bug Bounty | Secured Finance Docs](#bug-bounty-secured-finance-docs) - [Bridge | Secured Finance Docs](#bridge-secured-finance-docs) - [ZC Bond Collateral | Secured Finance Docs](#zc-bond-collateral-secured-finance-docs) - [Advanced Topics | Secured Finance Docs](#advanced-topics-secured-finance-docs) - [Getting Started | Secured Finance Docs](#getting-started-secured-finance-docs) - [SDK Reference | Secured Finance Docs](#sdk-reference-secured-finance-docs) - [Secured Finance Points (SFP) v2 | Secured Finance Docs](#secured-finance-points-sfp-v2-secured-finance-docs) - [Redeeming USDFC | Secured Finance Docs](#redeeming-usdfc-secured-finance-docs) - [Fixed Maturity | Secured Finance Docs](#fixed-maturity-secured-finance-docs) - [Auto-Rolling | Secured Finance Docs](#auto-rolling-secured-finance-docs) - [Fixed-Rate Lending SDK | Secured Finance Docs](#fixed-rate-lending-sdk-secured-finance-docs) - [Market Dynamics | Secured Finance Docs](#market-dynamics-secured-finance-docs) - [Orderbook Deep Dive | Secured Finance Docs](#orderbook-deep-dive-secured-finance-docs) - [USDFC Logo | Secured Finance Docs](#usdfc-logo-secured-finance-docs) - [Fixed-Rate Lending Subgraph | Secured Finance Docs](#fixed-rate-lending-subgraph-secured-finance-docs) - [Price Discovery for Auto-Rolling | Secured Finance Docs](#price-discovery-for-auto-rolling-secured-finance-docs) - [Secured Finance Logo | Secured Finance Docs](#secured-finance-logo-secured-finance-docs) - [Tokenization | Secured Finance Docs](#tokenization-secured-finance-docs) - [APR vs APY | Secured Finance Docs](#apr-vs-apy-secured-finance-docs) - [Discount Factor | Secured Finance Docs](#discount-factor-secured-finance-docs) - [Case Study: Order Status & Transition | Secured Finance Docs](#case-study-order-status-transition-secured-finance-docs) - [New Market Listing and Delisting | Secured Finance Docs](#new-market-listing-and-delisting-secured-finance-docs) - [Points | Secured Finance Docs](#points-secured-finance-docs) - [Zero-Coupon Bonds | Secured Finance Docs](#zero-coupon-bonds-secured-finance-docs) - [Query Examples | Secured Finance Docs](#query-examples-secured-finance-docs) - [API Reference | Secured Finance Docs](#api-reference-secured-finance-docs) - [Emergency Global Settlement | Secured Finance Docs](#emergency-global-settlement-secured-finance-docs) - [Secured Finance Points (SFP) v1 | Secured Finance Docs](#secured-finance-points-sfp-v1-secured-finance-docs) - [Risk Disclaimer | Secured Finance Docs](#risk-disclaimer-secured-finance-docs) - [Supported Currencies | Secured Finance Docs](#supported-currencies-secured-finance-docs) - [Protocol Fees | Secured Finance Docs](#protocol-fees-secured-finance-docs) - [Genesis Value | Secured Finance Docs](#genesis-value-secured-finance-docs) - [Liquidation Case Study | Secured Finance Docs](#liquidation-case-study-secured-finance-docs) - [ZC Collateral Case Study | Secured Finance Docs](#zc-collateral-case-study-secured-finance-docs) - [Circuit Breaker | Secured Finance Docs](#circuit-breaker-secured-finance-docs) - [Orderbook Rotation | Secured Finance Docs](#orderbook-rotation-secured-finance-docs) - [Red Black Tree | Secured Finance Docs](#red-black-tree-secured-finance-docs) - [USDFC SDK | Secured Finance Docs](#usdfc-sdk-secured-finance-docs) - [Compound Factor | Secured Finance Docs](#compound-factor-secured-finance-docs) - [Base Price Adjustment | Secured Finance Docs](#base-price-adjustment-secured-finance-docs) --- # About Secured Finance | Secured Finance Docs  Last edited: 28/10/2025 Secured Finance is a Decentralized Finance (DeFi) protocol that empowers you to engage directly with next-generation financial infrastructure. By connecting your wallet, you can access our services without intermediaries like banks or brokers—no third-party custodians required. With Secured Finance, you hold the keys to permissionless financial freedom. Our vision emerged in the aftermath of the LIBOR scandal, guided by the belief that blockchain technology can reshape financial systems with transparency and reliability. We're building a bridge between traditional finance and the boundless possibilities of DeFi. [hashtag](https://docs.secured.finance/#our-core-protocols) Our Core Protocols ----------------------------------------------------------------------------------- Our platform is built on two innovative protocols: * **USDFC Stablecoin:** A dollar-pegged token on the Filecoin blockchain that provides liquidity for Filecoin stakeholders, miners, and DeFi users alike. As the first decentralized stablecoin fully collateralized by Filecoin, USDFC strengthens liquidity across the Filecoin network and establishes a solid foundation for expanded DeFi development. * **Fixed-Rate Lending:** A fully on-chain, fixed-rate, fixed-term lending and borrowing platform operating across Ethereum, Arbitrum, and Filecoin chains. At its core is our unique Zero-Coupon Bond instrument, which powers secure and efficient crypto asset lending and borrowing with predictable returns. [hashtag](https://docs.secured.finance/#getting-started) Getting Started ----------------------------------------------------------------------------- Ready to experience the future of decentralized finance? Choose your path: * **USDFC Stablecoin:** Mint, borrow, and manage your USDFC by opening a Trove - [Beginners Guide](https://docs.secured.finance/usdfc-stablecoin/getting-started) * **Fixed-Rate Lending:** Lend and borrow at fixed rates with tokenized debt - [Beginners Guide](https://docs.secured.finance/fixed-rate-lending/getting-started) Visit our [apparrow-up-right](https://app.secured.finance/) to start your journey with Secured Finance today! [NextVision & Missionchevron-right](https://docs.secured.finance/introduction/mission-and-vision) Last updated 4 months ago --- # Vision & Mission | Secured Finance Docs Dear Fellow Navigators of the Financial Future, In the aftermath of the [LIBOR scandalarrow-up-right](https://en.wikipedia.org/wiki/Libor_scandal) , a hopeful vision emerged amidst the challenges of centralized power in financial intermediaries. Secured Finance wasn’t merely born; it arose, guided by an unwavering belief that through the blockchain, we can reshape our financial destiny, constructing a future where every transaction is not just a procedure but a testament to transparency and reliability. Here, our smart contracts diligently manage the entire financial trade lifecycle, orchestrating every step from bond issuance to redemption. But at Secured Finance, we see beyond transactions; we envision a bridge that seamlessly connects the reliability of traditional finance with the boundless possibilities of decentralized finance. ### [hashtag](https://docs.secured.finance/introduction/mission-and-vision#vision-and-mission) **Vision and Mission** We dream of a world where financial systems are not just robust but are pillars of democratization and equality, where every individual, regardless of their background or location, can unreservedly access financial services. Our mission is not merely to create a platform but to sculpt a universe where a suite of financial services, from the simplest transactions to the most complex financial products, are underpinned by transparency, security, and inclusivity. At Secured Finance, we’re not just building; we’re nurturing a [genuine yield curvearrow-up-right](https://app.secured.finance/) for decentralized finance, crafting an ecosystem that is not just efficient but radiates fairness and equal opportunity. ### [hashtag](https://docs.secured.finance/introduction/mission-and-vision#our-team) **Our Team** Steering this venture is our team, a dynamic coalition of seasoned financial experts, software engineers, and visionary digital strategists, each contributing profound expertise in both traditional finance and blockchain technology. We are more than a team; we are pioneers of a revolutionary spirit, passionately and unrelentingly navigating toward innovative financial solutions that resonate with the vibrant rhythms of our global economy. Our steadfast commitment to transparency and continuous learning is reflected luminously in our [regular updatesarrow-up-right](https://x.com/secured_fi) and the [insightful articlesarrow-up-right](https://medium.com/secured-finance) we thoughtfully share with our community. Join us as we sail towards a future where finance is not merely a system but a steadfast ally, ensuring every transaction is not only secure and inclusive but also radiates unbridled innovative potential. In the Spirit of the Hopeful Forward Movement, Secured Finance Team Special Thanks to Protocol Labs and GSR [PreviousAbout Secured Financechevron-left](https://docs.secured.finance/) [NextEcosystem Overviewchevron-right](https://docs.secured.finance/introduction/ecosystem-overview) Last updated 10 months ago * [Vision and Mission](https://docs.secured.finance/introduction/mission-and-vision#vision-and-mission) * [Our Team](https://docs.secured.finance/introduction/mission-and-vision#our-team) sun-brightdesktopmoon sun-brightdesktopmoon --- # Ecosystem Overview | Secured Finance Docs _(Placeholder for Ecosystem Overview content)_ This section will provide a high-level overview of the Secured Finance ecosystem, including its core components, partners, and integrations. [PreviousVision & Missionchevron-left](https://docs.secured.finance/introduction/mission-and-vision) [NextRoadmapchevron-right](https://docs.secured.finance/introduction/roadmap) Last updated 10 months ago sun-brightdesktopmoon sun-brightdesktopmoon --- # Roadmap | Secured Finance Docs circle-info Token Launch timing will be TBD Product Release Notes on [GitHubarrow-up-right](https://github.com/Secured-Finance/secured-finance-app/releases) ### [hashtag](https://docs.secured.finance/introduction/roadmap#id-2026-q1q2) 2026 Q1+Q2 * Yearn V3 Strategy Vault Launch for JPYC * USDFC App UI V2 * RWA Token Collateralization & Partnership * Fixed-Rate Lending Market Expansion to Another Chain * Vault Integration for Delta Neutral Strategy * SFC Launch & DAO Governance * SFC Token Sale (TBD: Private & Public) * SFC Tokenomics Announcement * Quarterly Markets Launch via Itayose & Auto-roll [PreviousEcosystem Overviewchevron-left](https://docs.secured.finance/introduction/ecosystem-overview) [NextRoadmap 2025chevron-right](https://docs.secured.finance/introduction/roadmap/roadmap-2025) Last updated 1 month ago sun-brightdesktopmoon sun-brightdesktopmoon --- # Roadmap 2023 | Secured Finance Docs  Q4 Roadmap ### [hashtag](https://docs.secured.finance/introduction/roadmap/roadmap-2023#september-2023) September 2023 * **Week 1-3**: * check Development & Launch Version 0.6.0 on Testnet NAN;_Major UI & smart contract upgrades_ * **Week 4**: * check SEP25 Itayose & Auto-roll Simulation * * * ### [hashtag](https://docs.secured.finance/introduction/roadmap/roadmap-2023#october-2023) October 2023 * **Week 1**: * check Orderbook Test * **Week 2**: * check Delisting & Liquidation Simulation on Dev * **Week 3**: * check Launch V0.6.5 * check Global Emergency Settlement Test * **Week 4**: * check Launch V0.7.0 * * * ### [hashtag](https://docs.secured.finance/introduction/roadmap/roadmap-2023#november-2023) November 2023 * **Week 1**: * check Global Itayose Simulation * **Week 2**: * check Open Sourcing & Trading Strategy AMA * **Week 3**: * check Security & Attack Simulation * **Week 4**: * check Market Vulnerability Testing * * * ### [hashtag](https://docs.secured.finance/introduction/roadmap/roadmap-2023#december-2023) December 2023 * **Week 1-2**: * check Market Readiness & Onboarding Campaign * **Week 3-4**: * check Mainnet Launch V1.0.0 🚀 * check Official Global Pre-Open Market & Itayose 🚀🚀 * check Trading Live! 🚀🚀🚀 [PreviousRoadmap 2024chevron-left](https://docs.secured.finance/introduction/roadmap/roadmap-2024) [NextDeFi Starter Guidechevron-right](https://docs.secured.finance/introduction/defi-starter-guide) Last updated 1 year ago * [September 2023](https://docs.secured.finance/introduction/roadmap/roadmap-2023#september-2023) * [October 2023](https://docs.secured.finance/introduction/roadmap/roadmap-2023#october-2023) * [November 2023](https://docs.secured.finance/introduction/roadmap/roadmap-2023#november-2023) * [December 2023](https://docs.secured.finance/introduction/roadmap/roadmap-2023#december-2023) sun-brightdesktopmoon sun-brightdesktopmoon --- # Roadmap 2024 | Secured Finance Docs ### [hashtag](https://docs.secured.finance/introduction/roadmap/roadmap-2024#id-2024-q4) 2024 Q4 * check Stablecoin Testnet Launch * check Trade Campaign ([Earn Yield Quest #1arrow-up-right](https://app.galxe.com/quest/securedfi/GCytGtVP2U) ) * check Stablecoin Smart Contract Internal Audit * check DEC2024 [Markets Itayose & Auto-rollarrow-up-right](https://medium.com/secured-finance/itayose-and-auto-rolling-report-q4-2024-88fd9925d655) (Pre-Order 12/20-12/27) circle-check Achieved 1.5 Million TVL, 5.7k users * * * ### [hashtag](https://docs.secured.finance/introduction/roadmap/roadmap-2024#id-2024-q3) 2024 Q3 * check Stablecoin Development (like DAI on Filecoin Chain) * check Zero-Coupon Bond Tokenization * check UI/UX Major Upgrade * check Cross-Chain Bridge Integration * check Partnership announcement with GLIF * check SEP2024 Markets Itayose & Auto-roll (Pre-Order 9/20-9/27) circle-check Achieved 750k TVL, 5k users, and 1.5k Itayose participants * * * ### [hashtag](https://docs.secured.finance/introduction/roadmap/roadmap-2024#id-2024-q2) 2024 Q2 **June**: * check FVM Launch (Filecoin mainnet deployment) * check SFP Launch (Filecoin, Ethereum, Arbitrum, Avalanche, Polygon zkEVM) * check Filecoin Infinity Quest Stage 1 - Deposit FIL/iFIL * check Filecoin Infinity Quest Stage 2 - Limit Orders and Active Positions * check JUN2024 Markets Itayose & Auto-roll (Pre-Order 6/21-6/28) **May**: * check FVM launch is ready * check UI/UX major upgrade done & ready for development * check Secured Finance Point (SFP) incentive design & system development **April**: * check UI/UX audit for the advanced trading terminal (24 improvements) * check FVM support and testnet deployment * * * ### [hashtag](https://docs.secured.finance/introduction/roadmap/roadmap-2024#id-2024-q1) 2024 Q1 **March**: * check Historical chart deployment * check Zero-Coupon Bond Tokenization Deployment * check MAR2024 Markets Itayose & Auto-roll **February**: * check Subgraph revamp for improving order state and historical charts * check Incorporate ERC-2612 to combine approval & transfer to enhance UX **January**: * check Multi-chain Strategy & Launch (Arbitrum, Avalanche, Polygon zkEVM) [PreviousRoadmap 2025chevron-left](https://docs.secured.finance/introduction/roadmap/roadmap-2025) [NextRoadmap 2023chevron-right](https://docs.secured.finance/introduction/roadmap/roadmap-2023) Last updated 1 month ago * [2024 Q4](https://docs.secured.finance/introduction/roadmap/roadmap-2024#id-2024-q4) * [2024 Q3](https://docs.secured.finance/introduction/roadmap/roadmap-2024#id-2024-q3) * [2024 Q2](https://docs.secured.finance/introduction/roadmap/roadmap-2024#id-2024-q2) * [2024 Q1](https://docs.secured.finance/introduction/roadmap/roadmap-2024#id-2024-q1) sun-brightdesktopmoon sun-brightdesktopmoon --- # DeFi vs CeFi | Secured Finance Docs [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#overview) Overview ----------------------------------------------------------------------------------------------------------- Centralized Finance (CeFi) and Decentralized Finance (DeFi) represent two fundamentally different approaches to financial services. Understanding the differences between these paradigms is essential for anyone entering the blockchain ecosystem, as it helps clarify the unique value propositions and trade-offs of decentralized systems. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#how-it-works) How It Works ------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#centralized-finance-cefi) Centralized Finance (CeFi) Centralized Finance refers to traditional financial services that operate through central authorities like banks, brokerages, and exchanges. These institutions: * Act as trusted intermediaries for all transactions * Maintain centralized control over user funds and data * Implement Know Your Customer (KYC) and Anti-Money Laundering (AML) procedures * Operate under regulatory frameworks established by governments * Provide customer support and dispute resolution services ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#decentralized-finance-defi) Decentralized Finance (DeFi) Decentralized Finance refers to financial services built on blockchain networks that operate without central authorities. These systems: * Use smart contracts (self-executing code) to automate financial operations * Operate on permissionless networks accessible to anyone with an internet connection * Maintain transparency with all transactions recorded on public blockchains * Function without requiring identity verification in most cases * Allow direct peer-to-peer transactions without intermediaries [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#key-parameters) Key Parameters ----------------------------------------------------------------------------------------------------------------------- Parameter CeFi DeFi Control Centralized entities Smart contracts & protocols Access Requires approval & KYC Open to anyone with a wallet Custody Institution holds assets User retains full custody Transparency Limited visibility Full on-chain transparency Regulation Comprehensive oversight Limited or evolving regulation Speed Fast for approved users Variable based on network congestion Cost Fixed fees Variable gas fees [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#examples) Examples ----------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#cefi-applications) CeFi Applications * Traditional banks and credit unions * Centralized cryptocurrency exchanges (Coinbase, Binance) * Payment processors (PayPal, Visa) * Investment platforms with managed funds ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#defi-applications) DeFi Applications * Decentralized exchanges (DEXs) * Lending and borrowing protocols * Stablecoin systems * Automated market makers * Yield farming platforms [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#common-questions) Common Questions --------------------------------------------------------------------------------------------------------------------------- **Is one system better than the other?** Neither system is inherently superior—each has advantages for different use cases. CeFi offers familiarity, customer support, and regulatory protection, while DeFi provides greater financial autonomy, innovation, and accessibility. **Can I use both CeFi and DeFi?** Yes, many users employ a hybrid approach, using CeFi services for fiat on/off ramps and DeFi for specific financial activities that benefit from decentralization. **What are the main risks of each system?** CeFi risks include counterparty risk, censorship, and potential data breaches. DeFi risks include smart contract vulnerabilities, user error, and market liquidity. **Do I need technical knowledge to use DeFi?** While basic blockchain knowledge is helpful, user interfaces have improved significantly. However, understanding the underlying concepts helps users make informed decisions and avoid common pitfalls. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#related-resources) Related Resources ----------------------------------------------------------------------------------------------------------------------------- * [Understanding Gas](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees) * [Wallet Setup & Management](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup) * [Interacting with DApps](https://docs.secured.finance/introduction/defi-starter-guide/dapps) [PreviousDeFi Starter Guidechevron-left](https://docs.secured.finance/introduction/defi-starter-guide) [NextWallet Setupchevron-right](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup) Last updated 10 months ago * [Overview](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#overview) * [How It Works](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#how-it-works) * [Centralized Finance (CeFi)](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#centralized-finance-cefi) * [Decentralized Finance (DeFi)](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#decentralized-finance-defi) * [Key Parameters](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#key-parameters) * [Examples](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#examples) * [CeFi Applications](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#cefi-applications) * [DeFi Applications](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#defi-applications) * [Common Questions](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#common-questions) * [Related Resources](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Roadmap 2025 | Secured Finance Docs ### [hashtag](https://docs.secured.finance/introduction/roadmap/roadmap-2025#id-2025-q4) 2025 Q4 * check JPYC Integration on Lending Apps * check Quarterly Markets Launch via Itayose & Auto-roll ([Reportarrow-up-right](https://medium.com/secured-finance/itayose-auto-rolling-report-q4-2025-02dece8e1abb) ) * check Cumulative Volume surpassed 20 million dollar on Lending Apps ([DeFi Llamaarrow-up-right](https://defillama.com/protocol/dexs/secured-finance) ) ### [hashtag](https://docs.secured.finance/introduction/roadmap/roadmap-2025#id-2025-q3) 2025 Q3 * check USDFC Payment Gateway (HTTP 402 & EIP-3009) * check PL Genesis Hackathon ([recaparrow-up-right](https://medium.com/secured-finance/hack-the-decentralized-economy-with-usdfc-on-filecoin-f52c095928b1) ) * check Cumulative Volume surpassed 3.0 million dollar on Lending Apps ([DeFi Llamaarrow-up-right](https://defillama.com/protocol/dexs/secured-finance) ) * check Quarterly Markets Launch via Itayose & Auto-roll ### [hashtag](https://docs.secured.finance/introduction/roadmap/roadmap-2025#id-2025-q2) 2025 Q2 * check USDFC Stablecoin Beta Launch on Filecoin Mainnet * check USDFC Stablecoin Official Launch on Filecoin Mainnet ([Reportarrow-up-right](https://medium.com/secured-finance/usdfc-is-about-to-go-public-b3f4f82f64a3) ) * check Secured Finance Product Roadmap Update * check JUN2025 Markets Itayose & Auto-roll (Pre-Order 6/20-6/26: [Reportarrow-up-right](https://medium.com/secured-finance/itayose-auto-rolling-report-q2-2025-026c959056b4) ) * check Cumulative Volume surpassed 1.5 million dollar on Lending Apps ([DeFi Llamaarrow-up-right](https://defillama.com/protocol/dexs/secured-finance) ) ### [hashtag](https://docs.secured.finance/introduction/roadmap/roadmap-2025#id-2025-q1) 2025 Q1 * check USDFC Stablecoin Alpha Launch on Filecoin Mainnet * check USDFC Fixed-Rate Lending Market Launch * check USDFC Stablecoin Smart Contract 2nd Audit ([Reportarrow-up-right](https://github.com/Secured-Finance/stablecoin-contracts/blob/develop/audits/2025-03-Decurity.pdf) ) * check USDFC Stablecoin Smart Contract 1st Audit ([Reportarrow-up-right](https://github.com/Secured-Finance/stablecoin-contracts/blob/develop/audits/2025-01-Hexens.pdf) ) * check [Collaboration Announcementarrow-up-right](https://medium.com/secured-finance/secured-finances-fixed-income-lending-stablecoin-protocol-collaborate-with-parasail-for-liquid-7626766bfd5b) with Parasail * check [Partnership Announcementarrow-up-right](https://medium.com/secured-finance/secured-finance-defi-2-0-1538041ec31a) with Lighthouse * check Parasail's wpFIL integration * check MAR2025 Markets Itayose & Auto-roll (Pre-Order 3/21-3/27: [Reportarrow-up-right](https://medium.com/secured-finance/itayose-and-auto-rolling-report-q1-2025-1c718c2004f4) ) [PreviousRoadmapchevron-left](https://docs.secured.finance/introduction/roadmap) [NextRoadmap 2024chevron-right](https://docs.secured.finance/introduction/roadmap/roadmap-2024) Last updated 1 month ago * [2025 Q4](https://docs.secured.finance/introduction/roadmap/roadmap-2025#id-2025-q4) * [2025 Q3](https://docs.secured.finance/introduction/roadmap/roadmap-2025#id-2025-q3) * [2025 Q2](https://docs.secured.finance/introduction/roadmap/roadmap-2025#id-2025-q2) * [2025 Q1](https://docs.secured.finance/introduction/roadmap/roadmap-2025#id-2025-q1) sun-brightdesktopmoon sun-brightdesktopmoon --- # Wallet Setup | Secured Finance Docs [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#overview) Overview ----------------------------------------------------------------------------------------------------------- A cryptocurrency wallet is your gateway to the decentralized finance ecosystem. Unlike traditional wallets, crypto wallets don't actually store your assets—instead, they store the private keys that give you access to your assets on the blockchain. This guide will help you understand different wallet types, set up your first wallet, and implement best practices for security. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#how-it-works) How It Works ------------------------------------------------------------------------------------------------------------------- Cryptocurrency wallets function through a pair of cryptographic keys: 1. **Public Key**: Acts as your address that others can use to send you assets (similar to an email address) 2. **Private Key**: The secret code that gives you control over the assets (similar to a password, but cannot be reset if lost) When you "create a wallet," you're generating these keys and establishing an interface to interact with them. Your assets always remain on the blockchain, with your wallet providing the authorization to move or manage them. ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#types-of-wallets) Types of Wallets There are several types of wallets, each with different security and convenience tradeoffs: * **Hardware Wallets**: Physical devices that store private keys offline (highest security) * **Software Wallets**: Applications installed on computers or smartphones * **Web Wallets**: Browser-based interfaces that can be accessed from any device * **Paper Wallets**: Physical documents containing printed keys (rarely used now) * **Custodial Wallets**: Services where a third party holds your keys (like exchange accounts) [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#step-by-step-wallet-setup) Step-by-Step Wallet Setup --------------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#id-1.-choose-your-wallet-type) 1\. Choose Your Wallet Type \[THIS IS WHERE AN IMAGE WOULD SHOW DIFFERENT WALLET OPTIONS\] For beginners interacting with Secured Finance, we recommend starting with a non-custodial software wallet like MetaMask, which supports both Ethereum and Filecoin networks. ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#id-2.-install-the-wallet) 2\. Install the Wallet \[THIS IS WHERE AN IMAGE WOULD SHOW THE INSTALLATION PROCESS\] Visit the official website or app store to download the wallet application. Always verify you're downloading from the authentic source to avoid scams. ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#id-3.-create-a-new-wallet) 3\. Create a New Wallet \[THIS IS WHERE AN IMAGE WOULD SHOW THE WALLET CREATION SCREEN\] Follow the wallet's setup process, which typically involves: * Creating a password for the application * Generating a new wallet * Backing up your recovery phrase ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#id-4.-secure-your-recovery-phrase) 4\. Secure Your Recovery Phrase \[THIS IS WHERE AN IMAGE WOULD SHOW A RECOVERY PHRASE BEING WRITTEN DOWN\] Your recovery phrase (also called seed phrase or mnemonic) is a series of 12-24 words that can restore access to your wallet. This is extremely important: * Write it down on paper (multiple copies) * Store in secure, private locations * Never store digitally or take photos of it * Never share it with anyone ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#id-5.-configure-network-settings) 5\. Configure Network Settings \[THIS IS WHERE AN IMAGE WOULD SHOW NETWORK CONFIGURATION\] To interact with Secured Finance on Ethereum or Filecoin: * Open your wallet settings * Add the Ethereum or Filecoin network * Verify the network details (RPC URL, Chain ID, etc.) ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#id-6.-fund-your-wallet) 6\. Fund Your Wallet \[THIS IS WHERE AN IMAGE WOULD SHOW SENDING FUNDS TO THE WALLET\] You'll need some ETH or FIL (Ethereum or Filecoin's native token) to pay for transaction fees. You can acquire these from cryptocurrency exchanges. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#security-best-practices) Security Best Practices ----------------------------------------------------------------------------------------------------------------------------------------- * **Use Hardware Wallets** for storing significant amounts * **Enable Two-Factor Authentication** when available * **Regularly Update** your wallet software * **Verify All Transactions** before confirming * **Use Different Wallets** for different purposes (daily use vs. long-term storage) * **Be Cautious of Phishing** attempts requesting your private keys or seed phrase * **Test with Small Amounts** before making large transfers [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#common-questions) Common Questions --------------------------------------------------------------------------------------------------------------------------- **What happens if I lose my recovery phrase?** If you lose both your device and recovery phrase, your funds will be permanently inaccessible. There is no "forgot password" option in decentralized systems. **Can I have multiple wallets?** Yes, you can create and use multiple wallets for different purposes or networks. **Do I need different wallets for different cryptocurrencies?** Many modern wallets support multiple cryptocurrencies, but some assets may require specific wallet types. **Are mobile wallets safe?** Mobile wallets can be secure if your device is free from malware and you follow security best practices. **What's the difference between custodial and non-custodial wallets?** In custodial wallets, a third party (like an exchange) controls your private keys. In non-custodial wallets, only you control your keys—giving you full ownership but also full responsibility. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#related-resources) Related Resources ----------------------------------------------------------------------------------------------------------------------------- * [Understanding Gas](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees) * [Interacting with DApps](https://docs.secured.finance/introduction/defi-starter-guide/dapps) * [USDFC Stablecoin Overview](https://docs.secured.finance/usdfc-stablecoin/overview) [PreviousDeFi vs CeFichevron-left](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi) [NextGas Feeschevron-right](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees) Last updated 10 months ago * [Overview](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#overview) * [How It Works](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#how-it-works) * [Types of Wallets](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#types-of-wallets) * [Step-by-Step Wallet Setup](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#step-by-step-wallet-setup) * [1\. Choose Your Wallet Type](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#id-1.-choose-your-wallet-type) * [2\. Install the Wallet](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#id-2.-install-the-wallet) * [3\. Create a New Wallet](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#id-3.-create-a-new-wallet) * [4\. Secure Your Recovery Phrase](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#id-4.-secure-your-recovery-phrase) * [5\. Configure Network Settings](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#id-5.-configure-network-settings) * [6\. Fund Your Wallet](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#id-6.-fund-your-wallet) * [Security Best Practices](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#security-best-practices) * [Common Questions](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#common-questions) * [Related Resources](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # DeFi Starter Guide | Secured Finance Docs [hashtag](https://docs.secured.finance/introduction/defi-starter-guide#overview) Overview ---------------------------------------------------------------------------------------------- This DeFi Starter Guide provides essential knowledge for newcomers to decentralized finance. Whether you're completely new to blockchain technology or transitioning from traditional finance, this guide will help you understand the fundamental concepts, tools, and practices needed to navigate the DeFi ecosystem safely and effectively. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide#what-youll-learn) What You'll Learn --------------------------------------------------------------------------------------------------------------- * The key differences between traditional finance (CeFi) and decentralized finance (DeFi) * How to set up and manage cryptocurrency wallets securely * Understanding blockchain transaction fees and gas costs * How to interact with decentralized applications (DApps) * The role of Decentralized Autonomous Organizations (DAOs) in the ecosystem [hashtag](https://docs.secured.finance/introduction/defi-starter-guide#key-components) Key Components ---------------------------------------------------------------------------------------------------------- The DeFi ecosystem consists of several interconnected components that work together to provide self-controlled financial solutions without intermediaries: * **Wallets**: Digital tools for storing and managing your crypto assets * **Smart Contracts**: Self-executing code that powers DeFi applications * **Decentralized Exchanges (DEXs)**: Platforms for trading assets without intermediaries * **Lending Protocols**: Systems that enable borrowing and lending without banks * **Stablecoins**: Cryptocurrencies designed to maintain stable value [hashtag](https://docs.secured.finance/introduction/defi-starter-guide#related-resources) Related Resources ---------------------------------------------------------------------------------------------------------------- * [About Secured Finance](https://docs.secured.finance/) * [USDFC Stablecoin Overview](https://docs.secured.finance/usdfc-stablecoin/overview) * [Fixed-Rate Lending Overview](https://docs.secured.finance/fixed-rate-lending/overview) [PreviousRoadmap 2023chevron-left](https://docs.secured.finance/introduction/roadmap/roadmap-2023) [NextDeFi vs CeFichevron-right](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi) Last updated 10 months ago * [Overview](https://docs.secured.finance/introduction/defi-starter-guide#overview) * [What You'll Learn](https://docs.secured.finance/introduction/defi-starter-guide#what-youll-learn) * [Key Components](https://docs.secured.finance/introduction/defi-starter-guide#key-components) * [Related Resources](https://docs.secured.finance/introduction/defi-starter-guide#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Smart Contracts | Secured Finance Docs [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#overview) Overview -------------------------------------------------------------------------------------------------------------- Smart contracts are self-executing programs that run on blockchain networks and automatically enforce agreements between parties without requiring intermediaries. They serve as the foundation for decentralized applications (DApps) and are essential building blocks of the DeFi ecosystem. Smart contracts enable complex financial operations to be executed transparently, securely, and without relying on traditional financial institutions. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#how-it-works) How It Works ---------------------------------------------------------------------------------------------------------------------- Smart contracts function based on predefined conditions coded into their logic. When these conditions are met, the contract automatically executes the specified actions. The process typically works as follows: 1. **Creation**: Developers write code that defines the rules and conditions of the contract 2. **Deployment**: The code is deployed to a blockchain network where it receives a unique address 3. **Interaction**: Users interact with the contract by sending transactions to its address 4. **Execution**: When triggered by a transaction, the contract executes its code across all nodes in the network 5. **State Change**: The blockchain's state is updated to reflect the outcome of the execution Smart contracts are: * **Immutable**: Once deployed, their code cannot be changed (though upgradeable patterns exist) * **Deterministic**: Given the same input, they always produce the same output * **Transparent**: Their code and all interactions are visible on the blockchain * **Trustless**: They execute exactly as programmed without relying on trusted third parties ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#common-smart-contract-languages) Common Smart Contract Languages Different blockchain platforms support different programming languages for smart contract development: * **Solidity**: The primary language for Ethereum and EVM-compatible chains * **Rust**: Used for Solana and Near Protocol * **Move**: Developed for the Diem blockchain and adopted by Aptos and Sui * **Vyper**: An alternative language for Ethereum focused on security * **Ink**: Used for Polkadot's parachain smart contracts [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#key-parameters) Key Parameters -------------------------------------------------------------------------------------------------------------------------- Parameter Description Importance Gas Limit Maximum computational resources allowed Prevents infinite loops and DoS attacks State Variables Data stored in the contract Determines contract's memory footprint and gas costs Access Controls Permissions for different functions Critical for security and privilege management External Dependencies Calls to other contracts Potential security vulnerabilities if not handled properly Upgradeability Ability to modify contract logic Trade-off between flexibility and security [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#examples) Examples -------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#token-contracts) Token Contracts The most common smart contracts in DeFi are token contracts that implement standards like ERC-20 (fungible tokens) or ERC-721 (non-fungible tokens). These contracts define: * Token supply and distribution * Transfer mechanisms * Approval systems for third-party spending * Optional features like minting, burning, or pausing ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#defi-protocol-contracts) DeFi Protocol Contracts More complex smart contracts power DeFi protocols: * **Lending Protocols**: Manage deposits, loans, interest rates, and liquidations * **Automated Market Makers**: Facilitate token swaps using mathematical formulas * **Staking Contracts**: Handle token delegation and reward distribution * **Governance Systems**: Enable decentralized decision-making through voting [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#common-questions) Common Questions ------------------------------------------------------------------------------------------------------------------------------ **What happens if there's a bug in a smart contract?** Unlike traditional software, smart contracts cannot be directly patched once deployed. If a bug is discovered, developers typically must deploy a new contract and migrate users to it. Serious vulnerabilities can lead to loss of funds, as seen in several high-profile DeFi hacks. **Are smart contracts legally binding?** The legal status of smart contracts varies by jurisdiction. Some regions have begun recognizing them as legally binding agreements, while others consider them technological tools rather than legal contracts. **How are smart contracts verified?** Smart contract verification involves publishing the source code alongside the deployed bytecode so users can confirm they match. Projects often undergo security audits by specialized firms and may use formal verification techniques to mathematically prove correctness. **Can smart contracts access real-world data?** Smart contracts cannot directly access external data. They rely on oracles—trusted data feeds that bring off-chain information onto the blockchain—for real-world data like price information or weather conditions. **What are the limitations of smart contracts?** Smart contracts face several limitations including: * High execution costs for complex operations * Limited storage capacity * Inability to maintain secrets (all data is public) * Challenges with upgradeability and bug fixes * Dependency on external oracles for off-chain data [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#related-resources) Related Resources -------------------------------------------------------------------------------------------------------------------------------- * [Understanding DeFi vs CeFi](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi) * [Decentralized Exchanges (DEX)](https://docs.secured.finance/introduction/defi-starter-guide/dex) * [Interacting with DApps](https://docs.secured.finance/introduction/defi-starter-guide/dapps) * [Understanding Gas Fees](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees) * [Understanding DAOs](https://docs.secured.finance/introduction/defi-starter-guide/dao) [PreviousDEXchevron-left](https://docs.secured.finance/introduction/defi-starter-guide/dex) [NextGovernance Tokenschevron-right](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens) Last updated 10 months ago * [Overview](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#overview) * [How It Works](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#how-it-works) * [Common Smart Contract Languages](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#common-smart-contract-languages) * [Key Parameters](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#key-parameters) * [Examples](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#examples) * [Token Contracts](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#token-contracts) * [DeFi Protocol Contracts](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#defi-protocol-contracts) * [Common Questions](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#common-questions) * [Related Resources](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts#related-resources) sun-brightdesktopmoon Copy // Simplified ERC-20 token example contract SimpleToken { mapping(address => uint256) balances; function transfer(address to, uint256 amount) external { require(balances[msg.sender] >= amount, "Insufficient balance"); balances[msg.sender] -= amount; balances[to] += amount; } } sun-brightdesktopmoon --- # DEX | Secured Finance Docs [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#overview) Overview -------------------------------------------------------------------------------------------------- Decentralized Exchanges (DEXs) are blockchain-based platforms that enable peer-to-peer trading of cryptocurrencies and digital assets without intermediaries. Unlike centralized exchanges (CEXs), DEXs operate using smart contracts and automated protocols, allowing users to maintain custody of their assets throughout the trading process. DEXs represent a fundamental component of the DeFi ecosystem, embodying the core principles of decentralization, transparency, and user autonomy. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#how-it-works) How It Works ---------------------------------------------------------------------------------------------------------- DEXs facilitate trading through various mechanisms, with the most common being: ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#automated-market-makers-amms) Automated Market Makers (AMMs) The most popular DEX model uses liquidity pools and mathematical formulas to determine asset prices: 1. **Liquidity Pools**: Users deposit pairs of assets into smart contract-controlled pools 2. **Price Determination**: Asset prices are calculated using formulas like x\*y=k (constant product) 3. **Trading**: Users trade against these pools rather than with other users directly 4. **Liquidity Provision**: Contributors earn fees proportional to their share of the pool ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#order-book-dexs) Order Book DEXs Some DEXs maintain on-chain or hybrid order books similar to traditional exchanges: 1. **Order Matching**: Buy and sell orders are matched based on price and time priority 2. **On-Chain Settlement**: All trades are settled directly on the blockchain 3. **Price Discovery**: Market prices are determined by the highest bid and lowest ask ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#secured-finances-approach) Secured Finance's Approach Secured Finance combines elements of order book systems with innovative fixed-rate lending mechanisms: 1. **Zero-Coupon Bond Trading**: Assets are tokenized as zero-coupon bonds with fixed maturities 2. **Order Book System**: Orders are matched based on price-time priority 3. **On-Chain Settlement**: All transactions are settled on the blockchain (Ethereum, Arbitrum, or Filecoin) 4. **Standardized Contracts**: Fixed maturities and standardized terms enable efficient markets [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#key-differences-dex-vs-cex) Key Differences: DEX vs CEX --------------------------------------------------------------------------------------------------------------------------------------- Parameter Centralized Exchange (CEX) Decentralized Exchange (DEX) Custody Exchange holds user funds Users maintain custody of assets Privacy Enhanced KYC/AML with no transparency Minimal exposure with full transparency Control Central authority makes decisions Governed by smart contracts and often DAOs Security Vulnerable to exchange hacks Vulnerable to smart contract exploits Speed High throughput, instant trades Variable speed based on blockchain congestion Cost Fixed trading fees Variable gas fees plus trading fees Asset Range Typically more trading pairs Limited to blockchain-compatible assets User Experience Generally more intuitive Often requires technical knowledge [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#benefits-of-dexs) Benefits of DEXs ------------------------------------------------------------------------------------------------------------------ ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#sovereignty-and-control) Sovereignty and Control DEXs allow users to maintain custody of their assets throughout the trading process, eliminating counterparty risk associated with centralized exchanges. This aligns with the core DeFi principle that users should have full control over their financial assets. ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#censorship-resistance) Censorship Resistance By operating on decentralized networks, DEXs are resistant to censorship and regulatory shutdowns. This ensures global accessibility regardless of local financial regulations or restrictions. ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#transparency) Transparency All transactions on DEXs are recorded on public blockchains, creating an immutable audit trail. This transparency helps build trust in the system as all operations can be independently verified. ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#permissionless-innovation) Permissionless Innovation The open-source nature of most DEXs encourages innovation and allows developers to build new features and applications on top of existing protocols, creating a composable financial ecosystem. ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#reduced-counterparty-risk) Reduced Counterparty Risk By eliminating the need to trust a central entity with funds, DEXs significantly reduce counterparty risk—the possibility that the exchange might become insolvent, be hacked, or freeze withdrawals. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#secured-finance-as-a-dex-platform) Secured Finance as a DEX Platform ---------------------------------------------------------------------------------------------------------------------------------------------------- Secured Finance operates as a specialized DEX focused on fixed-rate lending and stablecoin issuance: ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#usdfc-stablecoin) USDFC Stablecoin The USDFC stablecoin system functions as a decentralized exchange where: * Users can mint and borrow USDFC by depositing FIL (Filecoin) as collateral * The system maintains price stability through algorithmic mechanisms * Anyone can participate without permission * All operations are transparent and verifiable on-chain ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#fixed-rate-lending-protocol) Fixed-Rate Lending Protocol Secured Finance's lending protocol operates as a specialized DEX for time-value assets: * Lenders and borrowers are matched through an order book system * Zero-coupon bonds are traded representing future value * Fixed rates are discovered through market mechanisms * The protocol is accessible to anyone with a compatible wallet [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#common-questions) Common Questions ------------------------------------------------------------------------------------------------------------------ **How do DEXs make money if they're decentralized?** Most DEXs charge trading fees that are distributed to liquidity providers and/or token holders. Some protocols also direct a portion of fees to a treasury controlled by governance. **Are DEXs completely safe from hacks?** While DEXs eliminate the risk of exchange hacks, they can still be vulnerable to smart contract exploits. Reputable DEXs undergo multiple security audits, but risks remain. Secured Finance prioritizes security through comprehensive audits and formal verification. **Do I need technical knowledge to use a DEX?** Modern DEXs have significantly improved their user interfaces, making them more accessible to non-technical users. However, understanding basic blockchain concepts is still helpful for making informed decisions. **How does Secured Finance differ from other DEXs?** While most DEXs focus on spot trading of cryptocurrencies, Secured Finance specializes in fixed-rate lending and stablecoin issuance, bringing institutional-grade financial instruments to DeFi in a decentralized manner. **Can traditional financial institutions use Secured Finance?** Yes, Secured Finance's protocols are designed to be accessible to both individual users and institutions. The standardized nature of the products makes them compatible with traditional financial frameworks while maintaining decentralization. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dex#related-resources) Related Resources -------------------------------------------------------------------------------------------------------------------- * [DeFi vs CeFi](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi) * [Interacting with DApps](https://docs.secured.finance/introduction/defi-starter-guide/dapps) * [USDFC Stablecoin Overview](https://docs.secured.finance/usdfc-stablecoin/overview) * [Fixed-Rate Lending Overview](https://docs.secured.finance/fixed-rate-lending/overview) [PreviousDAppschevron-left](https://docs.secured.finance/introduction/defi-starter-guide/dapps) [NextSmart Contractschevron-right](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts) Last updated 10 months ago * [Overview](https://docs.secured.finance/introduction/defi-starter-guide/dex#overview) * [How It Works](https://docs.secured.finance/introduction/defi-starter-guide/dex#how-it-works) * [Automated Market Makers (AMMs)](https://docs.secured.finance/introduction/defi-starter-guide/dex#automated-market-makers-amms) * [Order Book DEXs](https://docs.secured.finance/introduction/defi-starter-guide/dex#order-book-dexs) * [Secured Finance's Approach](https://docs.secured.finance/introduction/defi-starter-guide/dex#secured-finances-approach) * [Key Differences: DEX vs CEX](https://docs.secured.finance/introduction/defi-starter-guide/dex#key-differences-dex-vs-cex) * [Benefits of DEXs](https://docs.secured.finance/introduction/defi-starter-guide/dex#benefits-of-dexs) * [Sovereignty and Control](https://docs.secured.finance/introduction/defi-starter-guide/dex#sovereignty-and-control) * [Censorship Resistance](https://docs.secured.finance/introduction/defi-starter-guide/dex#censorship-resistance) * [Transparency](https://docs.secured.finance/introduction/defi-starter-guide/dex#transparency) * [Permissionless Innovation](https://docs.secured.finance/introduction/defi-starter-guide/dex#permissionless-innovation) * [Reduced Counterparty Risk](https://docs.secured.finance/introduction/defi-starter-guide/dex#reduced-counterparty-risk) * [Secured Finance as a DEX Platform](https://docs.secured.finance/introduction/defi-starter-guide/dex#secured-finance-as-a-dex-platform) * [USDFC Stablecoin](https://docs.secured.finance/introduction/defi-starter-guide/dex#usdfc-stablecoin) * [Fixed-Rate Lending Protocol](https://docs.secured.finance/introduction/defi-starter-guide/dex#fixed-rate-lending-protocol) * [Common Questions](https://docs.secured.finance/introduction/defi-starter-guide/dex#common-questions) * [Related Resources](https://docs.secured.finance/introduction/defi-starter-guide/dex#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Governance Tokens | Secured Finance Docs [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#overview) Overview ---------------------------------------------------------------------------------------------------------------- Governance tokens are cryptographic assets that grant holders voting rights and influence over the development and operation of decentralized protocols. Unlike utility tokens that primarily serve functional purposes within applications, governance tokens specifically empower community members to participate in decision-making processes. These tokens form the backbone of decentralized governance systems, enabling protocols to evolve based on stakeholder consensus rather than centralized authority. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#how-it-works) How It Works ------------------------------------------------------------------------------------------------------------------------ Governance tokens operate through a combination of token distribution, proposal mechanisms, and voting systems: ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#token-distribution) Token Distribution Protocols distribute governance tokens through various mechanisms: 1. **Airdrops**: Tokens sent directly to user wallets based on past participation 2. **Liquidity Mining**: Rewards for providing liquidity to protocol pools 3. **Initial Offerings**: Token sales to early investors and community members 4. **Protocol Usage**: Rewards for active users of the protocol 5. **Contributor Rewards**: Allocations to developers and contributors ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#proposal-and-voting-process) Proposal and Voting Process The typical governance process follows these steps: 1. **Proposal Creation**: Token holders with a minimum threshold of tokens can submit formal proposals 2. **Discussion Period**: Community members debate the proposal's merits in forums and social channels 3. **Voting Period**: Token holders cast votes, with voting power typically proportional to token holdings 4. **Execution**: If approved, the proposal is implemented through smart contract execution or manual changes ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#voting-mechanisms) Voting Mechanisms Different protocols implement various voting mechanisms: * **Token-Weighted Voting**: One token equals one vote * **Quadratic Voting**: Voting power scales as the square root of tokens held * **Time-Locked Voting**: Tokens must be locked for a period to vote * **Delegation**: Token holders can delegate voting power to trusted representatives [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#key-parameters) Key Parameters ---------------------------------------------------------------------------------------------------------------------------- Parameter Description Common Implementation Proposal Threshold Minimum tokens needed to submit proposals 0.1-1% of total supply Quorum Minimum participation required for valid votes 4-20% of total supply Voting Period Time allowed for voting on proposals 3-14 days Time Lock Delay between approval and execution 1-7 days Delegation Ability to delegate voting power Supported in most systems [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#examples) Examples ---------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#protocol-governance-tokens) Protocol Governance Tokens * **Uniswap (UNI)**: Governance token for the leading decentralized exchange * **Aave (AAVE)**: Governance token for the decentralized lending protocol * **Compound (COMP)**: One of the first governance tokens in DeFi * **MakerDAO (MKR)**: Governance token that also absorbs risk in the DAI system ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#governance-token-use-cases) Governance Token Use Cases * **Parameter Adjustments**: Modifying interest rates, fees, or collateral requirements * **Protocol Upgrades**: Implementing new features or security improvements * **Treasury Management**: Allocating protocol revenues and reserves * **Incentive Programs**: Creating new reward mechanisms for users * **Partnerships**: Approving integrations with other protocols [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#common-questions) Common Questions -------------------------------------------------------------------------------------------------------------------------------- **Do governance tokens have monetary value?** Yes, governance tokens typically trade on exchanges and have market value. Their price often reflects the perceived value of having influence over the protocol, expected future cash flows from protocol fees, and speculative interest. **How do I participate in governance if I only hold a small amount of tokens?** Most governance systems allow token holders to delegate their voting power to other addresses. This enables smaller holders to amplify their voice by delegating to community members whose views align with theirs. **Can governance tokens be staked for rewards?** Many protocols offer staking rewards for governance tokens, either as an incentive for long-term holding or as part of the governance process itself. Staking often increases voting power or provides additional benefits. **What prevents wealthy entities from controlling governance?** This is a challenge known as "plutocracy" in token governance. Some protocols implement safeguards like quadratic voting, time-locked voting, or reputation-based systems to reduce the influence of large token holders. **How do governance tokens differ from security tokens?** Governance tokens primarily confer voting rights rather than ownership rights. While security tokens represent investment contracts with expectations of profit from others' efforts, governance tokens represent participation rights in a protocol. However, the regulatory classification can be complex and varies by jurisdiction. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#related-resources) Related Resources ---------------------------------------------------------------------------------------------------------------------------------- * [Smart Contracts](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts) * [DAOs](https://docs.secured.finance/introduction/defi-starter-guide/dao) * [DeFi vs CeFi](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi) * [USDFC Stablecoin Overview](https://docs.secured.finance/usdfc-stablecoin/overview) [PreviousSmart Contractschevron-left](https://docs.secured.finance/introduction/defi-starter-guide/smart-contracts) [NextDAOschevron-right](https://docs.secured.finance/introduction/defi-starter-guide/dao) Last updated 10 months ago * [Overview](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#overview) * [How It Works](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#how-it-works) * [Token Distribution](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#token-distribution) * [Proposal and Voting Process](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#proposal-and-voting-process) * [Voting Mechanisms](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#voting-mechanisms) * [Key Parameters](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#key-parameters) * [Examples](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#examples) * [Protocol Governance Tokens](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#protocol-governance-tokens) * [Governance Token Use Cases](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#governance-token-use-cases) * [Common Questions](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#common-questions) * [Related Resources](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Gas Fees | Secured Finance Docs [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#overview) Overview ------------------------------------------------------------------------------------------------------- Gas fees are the transaction costs paid to execute operations on blockchain networks like Ethereum and Filecoin. These fees compensate validators (miners or stakers) for the computational resources required to process and verify transactions. Understanding gas is essential for anyone interacting with decentralized applications, as it directly affects transaction costs and determines how quickly your transactions are processed. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#how-it-works) How It Works --------------------------------------------------------------------------------------------------------------- When you perform any action on a blockchain network—whether sending tokens, interacting with a smart contract, or deploying a new application—you're requesting network validators to process your transaction and include it in a block. Since blockchain networks have limited capacity, gas fees serve as a market mechanism to: 1. **Measure Computational Effort**: Each operation has a fixed gas cost based on its complexity 2. **Allocate Network Resources**: During high demand, higher gas prices prioritize urgent transactions 3. **Prevent Network Abuse**: The gas system prevents infinite loops and denial-of-service attacks On the Filecoin network, which Secured Finance uses, gas works similarly to Ethereum but with some differences in terminology and pricing mechanisms. ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#gas-components) Gas Components The gas fee system consists of several components: * **Gas Units**: Each operation in a transaction requires a specific amount of computational work measured in gas units * **Gas Limit**: The maximum amount of computational work you're willing to pay for * **Gas Price**: How much you're willing to pay per unit of gas (typically in gwei, where 1 gwei = 0.000000001 ETH or attoFIL for Filecoin) Your total transaction fee is calculated as: Transaction Fee\=Gas Used×Gas Price\\text{Transaction Fee} = \\text{Gas Used} \\times \\text{Gas Price}Transaction Fee\=Gas Used×Gas Price Where Gas Used is the actual amount of gas consumed by your transaction (which cannot exceed your specified Gas Limit). ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#fee-market-mechanisms) Fee Market Mechanisms Different blockchain networks implement various fee mechanisms: * **Ethereum's EIP-1559**: Includes a base fee that gets burned and a priority fee (tip) that goes to validators * **Filecoin's Gas Model**: Uses a similar approach with base fees adjusted based on network congestion [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#key-parameters) Key Parameters ------------------------------------------------------------------------------------------------------------------- Parameter Description Recommendation Gas Limit Maximum computational units allowed Set 10-20% higher than estimated requirement Gas Price Cost per unit of gas Check current network conditions Priority Fee Optional tip to validators Higher during network congestion Base Fee Network-determined minimum fee Automatically set by the network based on demand Max Fee Maximum total fee willing to pay Set based on urgency of transaction [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#examples) Examples ------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#simple-token-transfer) Simple Token Transfer A basic token transfer typically requires around 21,000 gas units. If the current gas price is 20 gwei: Fee\=21,000×20 gwei\=420,000 gwei\=0.00042 ETH\\text{Fee} = 21,000 \\times 20 \\text{ gwei} = 420,000 \\text{ gwei} = 0.00042 \\text{ ETH}Fee\=21,000×20 gwei\=420,000 gwei\=0.00042 ETH ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#complex-defi-transaction) Complex DeFi Transaction Interacting with DeFi protocols like Secured Finance can require significantly more gas: * Approving a token: ~45,000 gas units * Swapping tokens: ~100,000-200,000 gas units * Providing liquidity: ~150,000-300,000 gas units [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#common-questions) Common Questions ----------------------------------------------------------------------------------------------------------------------- **Why do gas prices fluctuate?** Gas prices vary based on network demand. During periods of high activity (NFT drops, market volatility), users compete for limited block space by offering higher gas prices. **What happens if I set my gas limit too low?** If your gas limit is too low, your transaction will fail when it runs out of gas, but you'll still be charged for the computational resources used up to that point. **Where can I check the current gas price?** You can check current gas prices on various websites like Etherscan.io, Ethgas.watch, or GasNow for Ethereum, and Filfox.info for Filecoin. Many wallets also display current gas prices directly in their interfaces. **How do I convert gas costs to USD value?** To calculate the USD value of gas fees: 1. Calculate the fee in the native token: Gas Units × Gas Price = Fee in ETH/FIL 2. Multiply by the current token price: Fee in ETH/FIL × Current Price in USD = Fee in USD For example, if gas costs 0.002 ETH and ETH is $3,000, the fee would be $6. **How can I reduce gas costs?** * Execute transactions during periods of lower network activity * Use gas price estimator tools to avoid overpaying * Batch multiple operations into a single transaction when possible * Consider layer-2 solutions or sidechains for frequent transactions **Is gas refundable?** You're only charged for the actual gas used, even if you set a higher gas limit. However, failed transactions still consume gas and incur fees without completing the intended action. **Do all blockchains use gas?** Not all blockchains use the exact gas model, but most have some form of transaction fee mechanism to prevent spam and allocate resources. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#related-resources) Related Resources ------------------------------------------------------------------------------------------------------------------------- * [Wallet Setup & Management](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup) * [Interacting with DApps](https://docs.secured.finance/introduction/defi-starter-guide/dapps) * [DeFi vs CeFi](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi) [PreviousWallet Setupchevron-left](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup) [NextDAppschevron-right](https://docs.secured.finance/introduction/defi-starter-guide/dapps) Last updated 10 months ago * [Overview](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#overview) * [How It Works](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#how-it-works) * [Gas Components](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#gas-components) * [Fee Market Mechanisms](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#fee-market-mechanisms) * [Key Parameters](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#key-parameters) * [Examples](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#examples) * [Simple Token Transfer](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#simple-token-transfer) * [Complex DeFi Transaction](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#complex-defi-transaction) * [Common Questions](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#common-questions) * [Related Resources](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Overview | Secured Finance Docs  [hashtag](https://docs.secured.finance/usdfc-stablecoin/overview#why-secured-finance-launch-stablecoin-protocol) Why **Secured Finance launch Stablecoin protocol?** ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Secured Finance is a decentralized financial platform that aims to provide institutional-grade capabilities and greater financial flexibility for everyone, offering more liquidity and new ways to grow your digital assets. We have two core protocols: [**Fixed Income Lending**arrow-up-right](https://app.secured.finance/) and the [**USDFC** **Stablecoin**arrow-up-right](https://usdfc.secured.finance/) . Each protocol addresses the distinct needs of DeFi users by delivering both fixed-income investment opportunities and flexible borrowing solutions for digital assets. Through **Fixed Income Lending**, users can borrow and lend at fixed rates, structured as zero-coupon bonds and tokenized debt. This setup ensures predictable and stable returns for specific time periods, appealing to those seeking secure, fixed-rate yields. We introduce the **USDFC Stablecoin** to provide immediate access to a USD-pegged stablecoin without requiring a traditional counterparty or relying on external liquidity for exchange. The system enables you to open a **Trove** where you can manage your collateral and debt, offering a decentralized and efficient way to mint, borrow, and repay **USDFC**. By integrating a stablecoin into the Secured Finance ecosystem, USDFC can seamlessly connect with Fixed Income Lending market, serving as a ready source of order book liquidity. In turn, this gives USDFC added utility, allowing it to earn stable returns within the protocol. [hashtag](https://docs.secured.finance/usdfc-stablecoin/overview#the-role-of-usdfc-in-the-filecoin-ecosystem) **The Role of USDFC in the Filecoin Ecosystem** ------------------------------------------------------------------------------------------------------------------------------------------------------------------ USDFC is exclusively backed by **Filecoin**, with all operations occurring on the **Filecoin Virtual Machine** (FVM). By choosing Filecoin as collateral, we leverage its robust ecosystem, which is poised for growth amid rising data storage needs in the AI-driven era. Through direct integration of **USDFC** stablecoin on the FVM, Secured Finance aims to boost Filecoin’s DeFi landscape as MakerDAO's DAI did for Ethereum DeFi ecosystem. As the first decentralized stablecoin fully collateralized by Filecoin, USDFC provides liquidity for Filecoin stakeholders, miners, and DeFi users alike. This, in turn, strengthens liquidity across the Filecoin network and establishes a solid basis for expanded DeFi development. Secured Finance envisions delivering financial flexibility to everyone and spurring DeFi sector growth via stablecoin and fixed-income markets—supported by Filecoin and the wider blockchain community. By leveraging the FVM, our protocol promotes stability and composability for Filecoin assets, adding another layer of utility to the network and advancing the sustainable, long-term development of the Filecoin economy. [PreviousDAOschevron-left](https://docs.secured.finance/introduction/defi-starter-guide/dao) [NextGetting Startedchevron-right](https://docs.secured.finance/usdfc-stablecoin/getting-started) Last updated 11 months ago * [Why Secured Finance launch Stablecoin protocol?](https://docs.secured.finance/usdfc-stablecoin/overview#why-secured-finance-launch-stablecoin-protocol) * [The Role of USDFC in the Filecoin Ecosystem](https://docs.secured.finance/usdfc-stablecoin/overview#the-role-of-usdfc-in-the-filecoin-ecosystem) sun-brightdesktopmoon sun-brightdesktopmoon --- # Contracts and Security | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/deployed-contracts#contract-addresses) Contract Addresses ---------------------------------------------------------------------------------------------------------------------- The latest version of [`@secured-finance/stablecoin-contracts`arrow-up-right](https://github.com/Secured-Finance/stablecoin-contracts) is deployed at the addresses listed below. Contract Filecoin Mainnet Filecoin Calibration Testnet USDFC [`0x80B98d3aa09ffff255c3ba4A241111Ff1262F045`arrow-up-right](https://filfox.info/en/address/0x80B98d3aa09ffff255c3ba4A241111Ff1262F045) [`0xb3042734b608a1B16e9e86B374A3f3e389B4cDf0`arrow-up-right](https://calibration.filfox.info/en/address/0xb3042734b608a1B16e9e86B374A3f3e389B4cDf0?t=3) [hashtag](https://docs.secured.finance/usdfc-stablecoin/deployed-contracts#audit-reports) Audit Reports ------------------------------------------------------------------------------------------------------------ Auditor Date Report Hexens 2024/12/30 - 2025/1/20 [2025-1-Hexens.pdfarrow-up-right](https://github.com/Secured-Finance/stablecoin-contracts/blob/develop/audits/2025-01-Hexens.pdf) Decurity 2025/2/19 - 2025/3/5 [2025-3-Decurity.pdfarrow-up-right](https://github.com/Secured-Finance/stablecoin-contracts/blob/develop/audits/2025-03-Decurity.pdf) Hexens 2025/8/20 - 2025/8/28 [2025-8-Hexens.pdfarrow-up-right](https://github.com/Secured-Finance/stablecoin-contracts/blob/develop/audits/2025-08-Hexens.pdf) [hashtag](https://docs.secured.finance/usdfc-stablecoin/deployed-contracts#stress-test-report) Stress Test Report ---------------------------------------------------------------------------------------------------------------------- [Stress-Testing Simulation and Risk Assessmentarrow-up-right](https://medium.com/cryptoeconlab/stress-testing-usdfc-8b068d13a1cf) by CryptoEconLab Team file-pdf 13MB [Secure\_Finance\_Report.pdf](https://2995566130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5n2yKWdxy0II5Sd3ZIQL%2Fuploads%2Fgit-blob-06dc75d228348bca56b07ef1ae330e9e6c1a8977%2FSecure_Finance_Report.pdf?alt=media) PDF downloadDownload[arrow-up-right-from-squareOpen](https://2995566130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5n2yKWdxy0II5Sd3ZIQL%2Fuploads%2Fgit-blob-06dc75d228348bca56b07ef1ae330e9e6c1a8977%2FSecure_Finance_Report.pdf?alt=media) [PreviousRecovery Modechevron-left](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) [NextFAQschevron-right](https://docs.secured.finance/usdfc-stablecoin/faqs) Last updated 5 months ago * [Contract Addresses](https://docs.secured.finance/usdfc-stablecoin/deployed-contracts#contract-addresses) * [Audit Reports](https://docs.secured.finance/usdfc-stablecoin/deployed-contracts#audit-reports) * [Stress Test Report](https://docs.secured.finance/usdfc-stablecoin/deployed-contracts#stress-test-report) sun-brightdesktopmoon sun-brightdesktopmoon --- # DApps | Secured Finance Docs [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#overview) Overview ---------------------------------------------------------------------------------------------------- Decentralized Applications (DApps) are digital applications that run on blockchain networks rather than centralized servers. Unlike traditional web applications, DApps operate on peer-to-peer networks and don't require intermediaries to function. This guide will help you understand how to safely and effectively interact with DApps in the DeFi ecosystem. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#how-it-works) How It Works ------------------------------------------------------------------------------------------------------------ DApps consist of two main components: 1. **Smart Contracts**: Self-executing code deployed on the blockchain that contains the application's logic 2. **Frontend Interface**: The user interface that allows you to interact with the underlying smart contracts When you use a DApp, you're essentially sending transactions to these smart contracts through your wallet. The process typically works as follows: 1. You connect your wallet to the DApp's interface 2. You initiate an action through the interface 3. Your wallet presents a transaction for you to review and sign 4. Once signed, the transaction is broadcast to the blockchain 5. Miners/validators process the transaction and update the blockchain state 6. The DApp interface updates to reflect the new state [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#step-by-step-guide-to-using-dapps) Step-by-Step Guide to Using DApps ------------------------------------------------------------------------------------------------------------------------------------------------------ ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#id-1.-connect-your-wallet) 1\. Connect Your Wallet \[THIS IS WHERE AN IMAGE WOULD SHOW THE WALLET CONNECTION INTERFACE\] Most DApps feature a "Connect Wallet" button in the top corner of their interface. Clicking this will prompt you to select your wallet provider and approve the connection. **Security Note**: When connecting your wallet, verify you're on the correct website to avoid phishing attacks. Always check the URL carefully. ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#id-2.-review-permissions) 2\. Review Permissions \[THIS IS WHERE AN IMAGE WOULD SHOW THE PERMISSION REQUEST SCREEN\] When connecting for the first time, your wallet will ask you to approve certain permissions. Read these carefully—they determine what the DApp can do with your wallet. ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#id-3.-navigate-the-interface) 3\. Navigate the Interface \[THIS IS WHERE AN IMAGE WOULD SHOW A TYPICAL DAPP INTERFACE\] DApp interfaces typically include: * Dashboard showing your assets or positions * Action buttons for key functions (swap, deposit, borrow, etc.) * Information panels displaying rates, fees, and other important data ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#id-4.-initiate-transactions) 4\. Initiate Transactions \[THIS IS WHERE AN IMAGE WOULD SHOW A TRANSACTION BEING INITIATED\] When you click an action button, you'll typically see a form to fill out with transaction details (amount, recipient, etc.). ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#id-5.-review-and-confirm) 5\. Review and Confirm \[THIS IS WHERE AN IMAGE WOULD SHOW A TRANSACTION CONFIRMATION SCREEN\] Before executing any transaction: * Double-check all details * Review the estimated gas fee * Understand the potential impact on your portfolio ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#id-6.-sign-the-transaction) 6\. Sign the Transaction \[THIS IS WHERE AN IMAGE WOULD SHOW A WALLET SIGNING PROMPT\] Your wallet will prompt you to sign the transaction. This is your final chance to review before committing. ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#id-7.-wait-for-confirmation) 7\. Wait for Confirmation \[THIS IS WHERE AN IMAGE WOULD SHOW A PENDING TRANSACTION\] After signing, your transaction will be submitted to the blockchain. Confirmation times vary based on network congestion and the gas price you set. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#common-dapp-interactions) Common DApp Interactions ------------------------------------------------------------------------------------------------------------------------------------ ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#token-approvals) Token Approvals Before interacting with a DApp that will handle your tokens, you'll need to approve it to spend those tokens on your behalf. This is a security feature of the token standard. circle-exclamation **Important**: Approvals give DApps permission to move specified tokens from your wallet. Only approve trusted DApps, and consider limiting approval amounts when possible. ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#transaction-batching) Transaction Batching Some DApps offer transaction batching, which combines multiple actions into a single transaction to save on gas fees. This is particularly useful for complex operations. ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#canceling-transactions) Canceling Transactions If you submit a transaction with a low gas price during network congestion, it might remain pending for a long time. Most wallets allow you to: * Cancel the transaction (by sending a 0-value transaction with the same nonce) * Speed up the transaction (by resubmitting with a higher gas price) [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#security-considerations) Security Considerations ---------------------------------------------------------------------------------------------------------------------------------- * **Verify Smart Contract Addresses**: Check that you're interacting with legitimate contracts * **Start with Small Amounts**: Test new DApps with minimal funds first * **Check for Audits**: Prioritize DApps with security audits from reputable firms * **Be Wary of High APYs**: Unusually high returns often indicate higher risk * **Understand the Risks**: DeFi involves various risks including smart contract vulnerabilities, market volatility, and liquidation [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#common-questions) Common Questions -------------------------------------------------------------------------------------------------------------------- **What if a transaction fails?** Failed transactions still consume gas for the computational resources used, but don't change the blockchain state. Check error messages for troubleshooting. **Do I need to connect my wallet every time?** Most DApps will remember your connection between sessions, but you may need to reconnect after clearing browser data or using a different device. **Can DApps access all my funds once connected?** Connecting only gives DApps the ability to request transactions—you still need to approve each transaction individually. However, token approvals can grant spending permissions, so be careful with these. **What's the difference between DApps and websites?** Traditional websites run on centralized servers and typically rely on a company to maintain them. DApps run on decentralized blockchain networks and can continue to function even if the original developers disappear. **How can I tell if a DApp is legitimate?** Research the project's team, check for security audits, look for community feedback, and verify smart contract addresses against official sources. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dapps#related-resources) Related Resources ---------------------------------------------------------------------------------------------------------------------- * [Wallet Setup & Management](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup) * [Understanding Gas](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees) * [USDFC Stablecoin Overview](https://docs.secured.finance/usdfc-stablecoin/overview) * [Fixed-Rate Lending Overview](https://docs.secured.finance/fixed-rate-lending/overview) [PreviousGas Feeschevron-left](https://docs.secured.finance/introduction/defi-starter-guide/gas-fees) [NextDEXchevron-right](https://docs.secured.finance/introduction/defi-starter-guide/dex) Last updated 10 months ago * [Overview](https://docs.secured.finance/introduction/defi-starter-guide/dapps#overview) * [How It Works](https://docs.secured.finance/introduction/defi-starter-guide/dapps#how-it-works) * [Step-by-Step Guide to Using DApps](https://docs.secured.finance/introduction/defi-starter-guide/dapps#step-by-step-guide-to-using-dapps) * [1\. Connect Your Wallet](https://docs.secured.finance/introduction/defi-starter-guide/dapps#id-1.-connect-your-wallet) * [2\. Review Permissions](https://docs.secured.finance/introduction/defi-starter-guide/dapps#id-2.-review-permissions) * [3\. Navigate the Interface](https://docs.secured.finance/introduction/defi-starter-guide/dapps#id-3.-navigate-the-interface) * [4\. Initiate Transactions](https://docs.secured.finance/introduction/defi-starter-guide/dapps#id-4.-initiate-transactions) * [5\. Review and Confirm](https://docs.secured.finance/introduction/defi-starter-guide/dapps#id-5.-review-and-confirm) * [6\. Sign the Transaction](https://docs.secured.finance/introduction/defi-starter-guide/dapps#id-6.-sign-the-transaction) * [7\. Wait for Confirmation](https://docs.secured.finance/introduction/defi-starter-guide/dapps#id-7.-wait-for-confirmation) * [Common DApp Interactions](https://docs.secured.finance/introduction/defi-starter-guide/dapps#common-dapp-interactions) * [Token Approvals](https://docs.secured.finance/introduction/defi-starter-guide/dapps#token-approvals) * [Transaction Batching](https://docs.secured.finance/introduction/defi-starter-guide/dapps#transaction-batching) * [Canceling Transactions](https://docs.secured.finance/introduction/defi-starter-guide/dapps#canceling-transactions) * [Security Considerations](https://docs.secured.finance/introduction/defi-starter-guide/dapps#security-considerations) * [Common Questions](https://docs.secured.finance/introduction/defi-starter-guide/dapps#common-questions) * [Related Resources](https://docs.secured.finance/introduction/defi-starter-guide/dapps#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Core Mechanics | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics#overview) Overview ---------------------------------------------------------------------------------------------- The USDFC Stablecoin Protocol introduces a variety of innovative features that enable users to efficiently mint, manage, and utilize **USDFC**, our decentralized, Filecoin-backed stablecoin. These core mechanics work together to ensure the stability, security, and usability of the protocol. [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics#what-youll-learn) What You'll Learn --------------------------------------------------------------------------------------------------------------- * How to mint USDFC using Filecoin (FIL) as collateral * How the Trove system manages individual collateralized debt positions * How liquidations protect the protocol from undercollateralization * How the redemption mechanism maintains USDFC's peg to the US Dollar * How protocol fees contribute to the system's sustainability [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics#key-components) Key Components ---------------------------------------------------------------------------------------------------------- * [**The Trove System**](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) : Individual vaults where users deposit FIL collateral and mint USDFC * [**Mint & Borrow**](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow) : The process of creating new USDFC backed by FIL collateral * [**Liquidation**](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) : The mechanism for handling undercollateralized positions * [**Redemption**](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption) : The process allowing USDFC holders to exchange for FIL at face value * [**Protocol Fees**](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees) : The fee structure supporting the protocol's long-term sustainability [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics#related-resources) Related Resources ---------------------------------------------------------------------------------------------------------------- * [System Overview](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview) * [Advanced Topics](https://docs.secured.finance/usdfc-stablecoin/advanced-topics) * [FAQs](https://docs.secured.finance/usdfc-stablecoin/faqs) [PreviousRedeeming USDFCchevron-left](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc) [NextSystem Overviewchevron-right](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview) Last updated 10 months ago * [Overview](https://docs.secured.finance/usdfc-stablecoin/core-mechanics#overview) * [What You'll Learn](https://docs.secured.finance/usdfc-stablecoin/core-mechanics#what-youll-learn) * [Key Components](https://docs.secured.finance/usdfc-stablecoin/core-mechanics#key-components) * [Related Resources](https://docs.secured.finance/usdfc-stablecoin/core-mechanics#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # White Paper | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/overview/white-paper#d5df) Executive Summary ----------------------------------------------------------------------------------------------------------- Secured Finance is a decentralized finance (DeFi) platform that provides a unique solution to the liquidity problem in the industry. Our protocol enables peer-to-peer lending and derivatives trading for fixed-income investments and hedging, offering a more efficient and cost-effective alternative to traditional financial institutions. By utilizing a smart-contract-based platform, we eliminate the need for intermediaries and provide a transparent, robust, censorship-resistant, and low-cost way of transacting. Our OTC market for digital assets ensures that primary and secondary markets have enough liquidity, while our smart-contract-based central clearing counterparty model guarantees transparent and efficient transactions. Moreover, our unique features, including the standardization of plain vanilla products, order-book-based price discovery, on-chain orderbook matchmaking, smart-contract-based collateral management, and auto-rolling, provide a hassle-free solution that benefits long-term investors and borrowers. These features offer a solution to the DeFi industry’s challenges, paving the way for an inclusive, accessible, and efficient financial system. Secured Finance has a clear roadmap for growth, a strong use case and a dedicated team committed to building a strong and vibrant community around the Secured Finance ecosystem. We welcome anyone who shares our vision to join us on this exciting journey. You can read the [full articlearrow-up-right](https://blog.secured.finance/secured-finance-protocol-6cee22f571b4) in our blog. [PreviousOverviewchevron-left](https://docs.secured.finance/fixed-rate-lending/overview) [NextConcept Paperchevron-right](https://docs.secured.finance/fixed-rate-lending/overview/concept-paper) Last updated 1 year ago sun-brightdesktopmoon sun-brightdesktopmoon --- # Concept Paper | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/overview/concept-paper#id-1ae2) Executive Summary ---------------------------------------------------------------------------------------------------------------- The convergence of Eurocurrency and cryptocurrency markets has become a vital topic in the finance world, offering new opportunities for the transition from centralized to decentralized monetary systems in global financial transactions. While both currencies share common characteristics of being non-regulated, stateless, representing potential regulatory and risk control challenges, it is due to their similarities that they could have the most significant impact on the future of finance by offering increasingly flexible and efficient liquidity solutions within global financial transactions. This paper explores the implications of the convergence of the Eurocurrency and cryptocurrency markets by specifically concentrating on developing over-the-counter (OTC) markets for cryptocurrencies and proposes solutions to address some of the key regulatory and risk control challenges. We will also explore the need for industry-wide standardization efforts, embedded supervision, and the development of a peer-to-contract architecture to provide a safer trading environment while continuing to maintain the key benefits of the blockchain system within a decentralized finance (DeFi) setting. Visit the [full article arrow-up-right](https://blog.secured.finance/the-intersection-of-the-eurocurrency-and-cryptocurrency-markets-f933418ae349) for more details. [PreviousWhite Paperchevron-left](https://docs.secured.finance/fixed-rate-lending/overview/white-paper) [NextGetting Startedchevron-right](https://docs.secured.finance/fixed-rate-lending/getting-started) Last updated 1 year ago sun-brightdesktopmoon sun-brightdesktopmoon --- # Liquidation | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#overview) Overview ---------------------------------------------------------------------------------------------------------- Liquidation is a critical mechanism in the USDFC Stablecoin Protocol that ensures the system remains solvent by handling under-collateralized positions. When a Trove's collateral ratio falls below 110%, it becomes eligible for liquidation, allowing the protocol to use the Stability Pool to cover the debt and distribute the collateral to depositors. [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#how-it-works) How It Works ------------------------------------------------------------------------------------------------------------------ Liquidations occur when a Trove's collateral ratio falls below the minimum threshold of 110%. The process involves using USDFC from the Stability Pool to repay the debt of the liquidated Trove, while distributing the Trove's collateral to Stability Pool depositors at a discount. ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#liquidation-process) Liquidation Process 1. **Triggering Liquidation**: When a Trove's collateral ratio falls below 110%, a Liquidator triggers the liquidation 2. **Debt Repayment**: The Stability Pool covers the Trove's debt by burning the corresponding amount of USDFC 3. **Collateral Distribution**: The collateral (FIL) from the liquidated Trove is distributed to the Stability Pool depositors based on their pool share, minus the Liquidator's compensation ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#the-stability-pool) The Stability Pool The Stability Pool is a reserve of USDFC dedicated to absorbing liquidations when a borrower's collateral ratio falls below the required 110%. The pool serves several important functions: * **Purpose**: The Stability Pool repays the debt of liquidated borrowers using the deposited USDFC * **Depositor Rewards**: When USDFC from the pool is used, depositors receive Filecoin (FIL) from the liquidated collateral at a discount * **System Stability**: By providing a mechanism to handle under-collateralized positions, the Stability Pool helps maintain the overall stability of the protocol [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#key-parameters) Key Parameters ---------------------------------------------------------------------------------------------------------------------- Parameter Description Default Value Liquidation Threshold Collateral ratio below which a Trove can be liquidated 110% Liquidator Reward Percentage of liquidated collateral given to the liquidator 0.5% Liquidation Reserve USDFC reserved for potential liquidation gas costs 20 USDFC [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#stakeholders-in-the-liquidation-process) Stakeholders in the Liquidation Process ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#id-1.-stability-pool-depositors) 1\. Stability Pool Depositors * Provide USDFC to the pool and receive FIL at a discount when liquidations occur * Effectively "buy FIL cheaper" than market price through the liquidation process * Earn passive rewards by helping maintain system stability ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#id-2.-liquidated-borrowers) 2\. Liquidated Borrowers * Have their Trove liquidated when their collateral ratio falls below 110% * Lose collateral to repay their debt * Trove will be closed, but they keep their borrowed USDFC * Typically incur around a 10% loss in the process ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#id-3.-liquidators) 3\. Liquidators * Trigger the liquidation process by calling the liquidation function * Receive the Liquidation Reserve (20 USDFC) as gas compensation * Earn 0.5% of the liquidated collateral as an incentive [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#price-oracle) Price Oracle ------------------------------------------------------------------------------------------------------------------ Secured Finance uses Pyth as the primary oracle to determine the FIL price. Pyth provides accurate and reliable real-time price feeds essential for system operations. ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#fallback-mechanism) Fallback Mechanism In case of extreme conditions where the Pyth price feed is unavailable, the protocol switches to Tellor as a backup: * Pyth price not updated for over 4 hours * Pyth response reverts, returns invalid data, or shows an invalid timestamp * Price change between consecutive updates exceeds 50% This dual-oracle approach ensures that the protocol maintains accurate pricing and stability, even under extreme conditions. [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#what-happens-if-the-stability-pool-is-empty) What Happens If the Stability Pool Is Empty? --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- If the Stability Pool is empty during a liquidation, the protocol switches to a redistribution mechanism: 1. **Trove Liquidation**: A Trove is liquidated, but the Stability Pool has insufficient USDFC 2. **Debt and Collateral Redistribution**: The debt and collateral are proportionally distributed to other active Troves 3. **Impact on Troves**: Troves receiving the redistributed collateral and debt may see their collateral ratio lower, while the net USD value increases [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#common-questions) Common Questions -------------------------------------------------------------------------------------------------------------------------- **How can I avoid liquidation?** Maintain a collateral ratio well above 110%. A buffer of 150% or higher is recommended to account for FIL price volatility. **What happens to my borrowed USDFC if my Trove is liquidated?** You keep your borrowed USDFC, but lose your collateral. The liquidation effectively closes your Trove. **How can I benefit from liquidations?** You can deposit USDFC into the Stability Pool to receive discounted FIL when liquidations occur, or become a liquidator to earn rewards for triggering liquidations. [Learn more in the FAQs section](https://docs.secured.finance/usdfc-stablecoin/faqs) [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#related-topics) Related Topics ---------------------------------------------------------------------------------------------------------------------- * [The Trove System](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) * [Collateral Ratioarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/usdfc-stablecoin/core-mechanics/liquidation/collateral-ratio.md) * [Liquidatorsarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/usdfc-stablecoin/core-mechanics/liquidation/liquidators.md) * [Liquidation Case Studyarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/usdfc-stablecoin/core-mechanics/liquidation/case-study.md) * [Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) [PreviousMint & Borrowchevron-left](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow) [NextRedemptionchevron-right](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption) Last updated 4 months ago * [Overview](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#overview) * [How It Works](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#how-it-works) * [Liquidation Process](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#liquidation-process) * [The Stability Pool](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#the-stability-pool) * [Key Parameters](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#key-parameters) * [Stakeholders in the Liquidation Process](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#stakeholders-in-the-liquidation-process) * [1\. Stability Pool Depositors](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#id-1.-stability-pool-depositors) * [2\. Liquidated Borrowers](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#id-2.-liquidated-borrowers) * [3\. Liquidators](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#id-3.-liquidators) * [Price Oracle](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#price-oracle) * [Fallback Mechanism](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#fallback-mechanism) * [What Happens If the Stability Pool Is Empty?](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#what-happens-if-the-stability-pool-is-empty) * [Common Questions](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#common-questions) * [Related Topics](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation#related-topics) sun-brightdesktopmoon sun-brightdesktopmoon --- # Overview | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/overview#secured-finance-pioneering-fixed-rate-defi) **Secured Finance: Pioneering Fixed-Rate DeFi** ------------------------------------------------------------------------------------------------------------------------------------------------------------------- Secured Finance began in 2020 at a hackathon, where we set out to create an [**Orderbook-based Rates DeFi Trading Platform**arrow-up-right](https://docs.secured.finance/fixed-rate-lending-protocol/full-on-chain-orderbook) on Ethereum. Our goal was to enable lending and borrowing of digital assets and establish yield curves in the DeFi ecosystem. Since then, we've evolved into a fully on-chain, fixed-rate, fixed-term lending and borrowing platform. As of 2025, our [**WebApp**arrow-up-right](https://app.secured.finance/) operates seamlessly across Ethereum, Arbitrum, and Filecoin chains. [hashtag](https://docs.secured.finance/fixed-rate-lending/overview#our-core-technology) **Our Core Technology** -------------------------------------------------------------------------------------------------------------------- At the heart of our platform is a unique **Zero-Coupon Bond** instrument, powering secure and efficient crypto asset lending and borrowing. This innovative approach offers several key advantages: * **Predictable Returns:** Fixed rates provide certainty for both lenders and borrowers * **On-Chain Transparency:** All transactions and order matching occur fully on-chain * **Capital Efficiency:** Optimized collateral requirements and liquidation mechanisms * **Composability:** Tokenized debt positions can be used across the DeFi ecosystem We simplify the complexities of traditional bond and loan lifecycle management, delivering a transparent, cost-effective, and user-friendly alternative. Whether you're a borrower seeking stable financing or an investor looking for predictable yields, Secured Finance offers a streamlined DeFi experience. [hashtag](https://docs.secured.finance/fixed-rate-lending/overview#expanding-into-the-future) **Expanding into the Future** -------------------------------------------------------------------------------------------------------------------------------- In 2025, as DeFi evolves and traditional capital flows into Real-World Assets (RWA) and stablecoins, Secured Finance is broadening its horizons. We've introduced: * **RWA-collateralized finance solutions:** Bringing real-world assets on-chain * **USDFC:** A Filecoin-backed stablecoin that strengthens the Filecoin ecosystem * **Expanded token lending options:** Supporting a wider range of digital assets * **Cross-chain interoperability:** Seamless operations across multiple blockchains Join us as we redefine the future of decentralized finance and build a more accessible, transparent financial system for everyone. [PreviousFAQschevron-left](https://docs.secured.finance/usdfc-stablecoin/faqs) [NextWhite Paperchevron-right](https://docs.secured.finance/fixed-rate-lending/overview/white-paper) Last updated 10 months ago * [Secured Finance: Pioneering Fixed-Rate DeFi](https://docs.secured.finance/fixed-rate-lending/overview#secured-finance-pioneering-fixed-rate-defi) * [Our Core Technology](https://docs.secured.finance/fixed-rate-lending/overview#our-core-technology) * [Expanding into the Future](https://docs.secured.finance/fixed-rate-lending/overview#expanding-into-the-future) sun-brightdesktopmoon sun-brightdesktopmoon --- # Creating Your First Trove | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#prerequisites) Prerequisites ----------------------------------------------------------------------------------------------------------------------------------- * A wallet with FIL tokens (Filecoin's native cryptocurrency) * Basic understanding of blockchain transactions * Access to the [USDFC applicationarrow-up-right](https://app.usdfc.net/) [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#overview) Overview ------------------------------------------------------------------------------------------------------------------------- A Trove is your personal collateralized debt position in the USDFC protocol. By creating a Trove, you can deposit FIL as collateral and mint USDFC stablecoins against it. This guide will walk you through the process of creating your first Trove. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#step-1-connect-your-wallet) Step 1: Connect Your Wallet -------------------------------------------------------------------------------------------------------------------------------------------------------------- Before you can create a Trove, you need to connect your wallet to the USDFC application. 1. Navigate to the [USDFC applicationarrow-up-right](https://app.usdfc.net/) 2. Click on the "Connect Wallet" button in the top right corner 3. Select your wallet provider (MetaMask, WalletConnect, etc.) 4. Confirm the connection  The wallet connection interface after the "Connect Wallet" button [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#step-2-navigate-to-the-trove-management-section) Step 2: Navigate to the Trove Management Section -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Once your wallet is connected, you need to navigate to the Trove management section. 1. On the USDFC dashboard, locate and click on the "Open Trove" button 2. You'll see the Trove creation section on the same page  The USDFC dashboard with the Trove/Mint USDFC section [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#step-3-set-your-collateral-and-debt-amounts) Step 3: Set Your Collateral and Debt Amounts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Now you need to decide how much FIL to deposit and how much USDFC to mint. 1. Enter the amount of FIL you want to deposit as collateral 2. Enter the amount of USDFC you want to mint & borrow 3. The system will automatically calculate your collateral ratio 4. Ensure your collateral ratio is above the minimum required (typically 110%)  The collateral and debt input fields with the collateral ratio calculation [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#step-4-review-transaction-details) Step 4: Review Transaction Details ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Before confirming, review all transaction details carefully. 1. Check the collateral amount (FIL) 2. Verify the debt amount (USDFC) 3. Review the collateral ratio 4. Note any fees that will be applied (including the Liquidation Reserve of 20 USDFC) [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#step-5-confirm-and-create-your-trove) Step 5: Confirm and Create Your Trove ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Once you're satisfied with the details, you can create your Trove. 1. Click the "Confirm" button 2. Confirm the transaction in your wallet 3. Wait for the transaction to be processed on the blockchain  The confirmation screen with the "Confirm" button highlighted [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#step-6-verify-your-trove-creation) Step 6: Verify Your Trove Creation ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- After the transaction is confirmed, verify that your Trove was created successfully. 1. Check that your Trove appears in the dashboard 2. Verify that the USDFC has been added to your wallet balance 3. If you don't see USDFC in your wallet, you may need to add it as a custom token (see a [wallet iconarrow-up-right](https://gyazo.com/4102e760883c7c413ee1161a851d5712) in the Protocol Statistics section)  Screenshot showing a successfully created Trove in the dashboard [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#next-steps) Next Steps ----------------------------------------------------------------------------------------------------------------------------- Now that you've created your first Trove, you can: * [Mint additional USDFC](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step) * [Manage your collateral](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively) * [Monitor your position](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position) * [Deposit USDFC into the Stability Pool](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool) [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#troubleshooting) Troubleshooting --------------------------------------------------------------------------------------------------------------------------------------- * **Transaction Failed**: Ensure you have enough FIL for gas fees and that your collateral ratio meets the minimum requirement * **USDFC Not Showing in Wallet**: Add USDFC as a custom token in your wallet using the contract address found in the [deployed contracts](https://docs.secured.finance/usdfc-stablecoin/deployed-contracts) page, or click the wallet icon near the USDFC contract info on the USDFC app * **High Gas Fees**: Try again when network congestion is lower or adjust your gas settings [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#common-questions) Common Questions ----------------------------------------------------------------------------------------------------------------------------------------- **Q: What is the minimum amount of FIL I can deposit?** A: You need to deposit enough FIL to borrow at least 200 USDFC (the minimum borrowing amount) while maintaining at least a 110% collateral ratio. The exact FIL amount will depend on the current FIL price. **Q: What is the Liquidation Reserve?** A: The Liquidation Reserve is a small amount of USDFC (20 USDFC) that is set aside to cover potential gas costs in case your Trove needs to be liquidated. **Q: Can I create multiple Troves?** A: No, each wallet address can only have one Trove at a time. **Q: What happens if my collateral ratio falls below the minimum?** A: Your Trove may be liquidated. Learn more in the [Liquidation](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) section. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#related-topics) Related Topics ------------------------------------------------------------------------------------------------------------------------------------- * [The Trove System](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) * [Mint & Borrow](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow) * [Liquidation](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) * [Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) [PreviousGetting Test USDFC on Testnetchevron-left](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet) [NextMinting USDFC Step-by-Stepchevron-right](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step) Last updated 9 months ago * [Prerequisites](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#prerequisites) * [Overview](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#overview) * [Step 1: Connect Your Wallet](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#step-1-connect-your-wallet) * [Step 2: Navigate to the Trove Management Section](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#step-2-navigate-to-the-trove-management-section) * [Step 3: Set Your Collateral and Debt Amounts](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#step-3-set-your-collateral-and-debt-amounts) * [Step 4: Review Transaction Details](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#step-4-review-transaction-details) * [Step 5: Confirm and Create Your Trove](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#step-5-confirm-and-create-your-trove) * [Step 6: Verify Your Trove Creation](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#step-6-verify-your-trove-creation) * [Next Steps](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#next-steps) * [Troubleshooting](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#troubleshooting) * [Common Questions](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#common-questions) * [Related Topics](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove#related-topics) sun-brightdesktopmoon sun-brightdesktopmoon --- # Advanced Topics | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/advanced-topics#overview) Overview ----------------------------------------------------------------------------------------------- This section covers advanced concepts and mechanisms of the USDFC Stablecoin Protocol that build upon the core functionality. These topics provide deeper insights into how the protocol maintains stability, handles edge cases, and implements sophisticated economic mechanisms. [hashtag](https://docs.secured.finance/usdfc-stablecoin/advanced-topics#what-youll-learn) What You'll Learn ---------------------------------------------------------------------------------------------------------------- * How Recovery Mode protects the protocol during periods of systemic risk * Advanced liquidation scenarios and their impact on the system * Technical implementations of key protocol features * Economic principles underlying the protocol design [hashtag](https://docs.secured.finance/usdfc-stablecoin/advanced-topics#key-components) Key Components ----------------------------------------------------------------------------------------------------------- * [**Recovery Mode**](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) : The protocol's defensive mechanism that activates when system collateralization falls below critical thresholds * **Advanced Liquidation Scenarios**: Complex edge cases in the liquidation process * **Price Oracle Implementation**: Technical details of how the protocol obtains and validates price data * **Economic Mechanisms**: Detailed explanations of incentive structures and game theory considerations [hashtag](https://docs.secured.finance/usdfc-stablecoin/advanced-topics#related-resources) Related Resources ----------------------------------------------------------------------------------------------------------------- * [Core Mechanics](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview) * [FAQs](https://docs.secured.finance/usdfc-stablecoin/faqs) [PreviousProtocol Feeschevron-left](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees) [NextRecovery Modechevron-right](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) Last updated 10 months ago * [Overview](https://docs.secured.finance/usdfc-stablecoin/advanced-topics#overview) * [What You'll Learn](https://docs.secured.finance/usdfc-stablecoin/advanced-topics#what-youll-learn) * [Key Components](https://docs.secured.finance/usdfc-stablecoin/advanced-topics#key-components) * [Related Resources](https://docs.secured.finance/usdfc-stablecoin/advanced-topics#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Core Mechanics | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics#overview) Overview ------------------------------------------------------------------------------------------------ The Fixed-Rate Lending Protocol introduces a variety of innovative features that enable users to efficiently lend and borrow assets at fixed rates for fixed terms. These core mechanics work together to ensure the stability, security, and usability of the protocol. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics#what-youll-learn) What You'll Learn ----------------------------------------------------------------------------------------------------------------- * How the Order Book System facilitates fixed-rate lending and borrowing * How Zero-Coupon Bonds are used to represent lending and borrowing positions * How collateralization protects the protocol from defaults * How liquidation mechanisms maintain system solvency * How standardization ensures predictable market behavior [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics#key-components) Key Components ------------------------------------------------------------------------------------------------------------ * [**Order Book System**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system) : The on-chain system that matches lenders and borrowers * [**Standardization**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization) : The standardized components ensuring interoperability * [**Collateralization**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization) : The process of securing loans with collateral * [**Tokenization**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/tokenization) : The representation of lending positions as transferable tokens * [**Liquidation**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation) : The mechanism for handling undercollateralized positions * [**Protocol Fees**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/protocol-fees) : The fee structure supporting the protocol's long-term sustainability [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics#related-resources) Related Resources ------------------------------------------------------------------------------------------------------------------ * [System Overview](https://docs.secured.finance/fixed-rate-lending/overview) * [Advanced Topics](https://docs.secured.finance/fixed-rate-lending/advanced-topics) * [FAQs](https://docs.secured.finance/fixed-rate-lending/faqs) [PreviousCampaignchevron-left](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/campaign) [NextOrder Book Systemchevron-right](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/core-mechanics#overview) * [What You'll Learn](https://docs.secured.finance/fixed-rate-lending/core-mechanics#what-youll-learn) * [Key Components](https://docs.secured.finance/fixed-rate-lending/core-mechanics#key-components) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/core-mechanics#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Lending Assets | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#prerequisites) Prerequisites -------------------------------------------------------------------------------------------------------------------------- * A connected wallet with sufficient assets to lend * Basic understanding of fixed-rate lending concepts * Access to the Secured Finance platform [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#overview) Overview ---------------------------------------------------------------------------------------------------------------- Lending assets on Secured Finance's Fixed-Rate Lending Protocol allows you to earn predictable yields on your digital assets. By lending through the protocol's orderbook system, you can lock in fixed rates for specific time periods, providing certainty about your returns regardless of market volatility. [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#step-1-connect-your-wallet) Step 1: Connect Your Wallet ----------------------------------------------------------------------------------------------------------------------------------------------------- 1. Navigate to the [Secured Finance platformarrow-up-right](https://app.secured.finance/) 2. Click the "Connect Wallet" button in the top right corner 3. Select your wallet provider (MetaMask, WalletConnect, etc.) 4. Approve the connection request in your wallet  Connect Wallet [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#step-2-deposit-assets) Step 2: Deposit Assets ------------------------------------------------------------------------------------------------------------------------------------------- Before lending, you need to deposit the assets you want to lend into the protocol. 1. Go to the "Portfolio" tab 2. Click the "Deposit" button 3. Select the asset you want to deposit for lending 4. Enter the amount and confirm the transaction 5. Wait for the transaction to be confirmed on the blockchain  Deposit Assets [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#step-3-navigate-to-the-trading-interface) Step 3: Navigate to the Trading Interface --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Click on the "Trading" tab in the main navigation 2. Select the asset you want to lend from the dropdown menu 3. Choose the maturity date that suits your investment timeframe  Trading Interface [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#step-4-place-a-lending-order) Step 4: Place a Lending Order --------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Select "Lend" in the order type section 2. Choose between "Market Order" (immediate execution at current market price) or "Limit Order" (execution at your specified price) 3. For a Limit Order: * Set your desired interest rate (APR) * Enter the amount you want to lend 4. For a Market Order: * Enter the amount you want to lend * Review the current market rate 5. Click "Place Order" to submit your lending request  Place Lending Order [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#step-5-confirm-your-transaction) Step 5: Confirm Your Transaction --------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Review the order details in the confirmation modal 2. Check the estimated gas fees 3. Click "Confirm" to proceed 4. Approve the transaction in your wallet 5. Wait for the transaction to be confirmed on the blockchain [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#step-6-monitor-your-position) Step 6: Monitor Your Position --------------------------------------------------------------------------------------------------------------------------------------------------------- After successfully lending assets: 1. Go to the "Portfolio" tab to view your active lending positions 2. You'll receive Zero-Coupon Bonds (ZC Bonds) representing your lending position 3. These ZC Bonds will mature to their full face value at the maturity date 4. You can track the current value of your lending position in the Portfolio section  Monitor Position [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#step-7-managing-your-lending-position) Step 7: Managing Your Lending Position --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- You have several options for managing your lending position: 1. **Hold Until Maturity**: Receive the full face value of your ZC Bonds at maturity 2. **Unwind Position**: Exit your position early by selling your ZC Bonds on the orderbook 3. **Auto-Rolling**: Set up automatic reinvestment at maturity to maintain your lending position [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#next-steps) Next Steps -------------------------------------------------------------------------------------------------------------------- Now that you've successfully lent assets, you might want to: * [Learn how to manage your positions](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions) * [Explore auto-rolling features](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling) to automatically reinvest at maturity * [Understand how Zero-Coupon Bonds work](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/zero-coupon-bonds) as representations of your lending position [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#troubleshooting) Troubleshooting ------------------------------------------------------------------------------------------------------------------------------ ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#order-not-executing) Order Not Executing If your limit order isn't being executed: * Your specified interest rate may not be competitive with current market rates * There might be insufficient borrowing demand at your specified rate * Try adjusting your rate or switching to a market order for immediate execution ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#transaction-failing) Transaction Failing If your transaction is failing: * Ensure you have enough native tokens (ETH, MATIC, etc.) to cover gas fees * Check that you have sufficient balance of the asset you're trying to lend * Try refreshing the page and attempting the transaction again ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#zc-bonds-not-appearing) ZC Bonds Not Appearing If your ZC Bonds don't appear in your portfolio after lending: * The transaction may still be pending; check your wallet for transaction status * There might be a delay in the UI updating; try refreshing the page * Verify the transaction was successful on the blockchain explorer [PreviousGetting Startedchevron-left](https://docs.secured.finance/fixed-rate-lending/getting-started) [NextBorrowing Assetschevron-right](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets) Last updated 10 months ago * [Prerequisites](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#prerequisites) * [Overview](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#overview) * [Step 1: Connect Your Wallet](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#step-1-connect-your-wallet) * [Step 2: Deposit Assets](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#step-2-deposit-assets) * [Step 3: Navigate to the Trading Interface](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#step-3-navigate-to-the-trading-interface) * [Step 4: Place a Lending Order](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#step-4-place-a-lending-order) * [Step 5: Confirm Your Transaction](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#step-5-confirm-your-transaction) * [Step 6: Monitor Your Position](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#step-6-monitor-your-position) * [Step 7: Managing Your Lending Position](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#step-7-managing-your-lending-position) * [Next Steps](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#next-steps) * [Troubleshooting](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#troubleshooting) * [Order Not Executing](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#order-not-executing) * [Transaction Failing](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#transaction-failing) * [ZC Bonds Not Appearing](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets#zc-bonds-not-appearing) sun-brightdesktopmoon sun-brightdesktopmoon --- # Redemption | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#overview) Overview --------------------------------------------------------------------------------------------------------- The Redemption Mechanism is a critical component of the USDFC Stablecoin Protocol that allows USDFC holders to exchange their tokens for Filecoin (FIL) at face value. This direct conversion path creates arbitrage opportunities that help maintain USDFC's peg to the US Dollar, especially when the market price falls below $1. circle-check **Benefits of Redemption** * **Arbitrage Opportunity**: If USDFC dips below $1, buying and redeeming it for FIL can lock in potential gains and help restore the peg * **Direct FIL Access**: Redemption guarantees a way to swap USDFC for FIL, even when external exchange liquidity is low * **Reduced Market Impact**: Converting large FIL positions into USDFC through redemption avoids triggering selling pressure on open markets [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#how-it-works) How It Works ----------------------------------------------------------------------------------------------------------------- The redemption process allows any USDFC holder to exchange their tokens for FIL at the current USD value, targeting Troves with the lowest collateral ratios first: 1. A user submits a redemption request to the protocol 2. The protocol uses the FIL collateral from the most under-collateralized Troves to fulfill the request 3. The user receives FIL, while the targeted Troves have their debt reduced but also lose collateral circle-info Redemptions target Troves with the **lowest collateral ratios** first. Trove owners are advised to keep their collateral ratios well above the 110% minimum (ideally 150% or higher) to reduce the likelihood of being affected by redemptions. Troves affected by redemptions undergo **a forced swap** of USDFC for their collateral at the current spot rate, impacting their collateral balance. ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#important-distinction) Important Distinction **Not Debt Repayment**: Redemption does not mean repaying borrowed USDFC. Instead, it allows the holder to exchange USDFC for FIL directly. Borrowers must repay their debt separately if they wish to close or manage their positions. circle-exclamation The system requires a minimum borrowed amount of 180 USDFC and reserves an additional 20 USDFC as long as trove exists. **You cannot redeem** to reduce a trove's borrowed amount below 180 USDFC; if it would, the redemption amount will be automatically adjusted. However, you may redeem enough to fully close a trove (reducing the borrowed amount to 0). Redemption can span multiple troves, but the same minimum-borrow rule applies to each. [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#key-parameters) Key Parameters --------------------------------------------------------------------------------------------------------------------- Parameter Description Default Value Redemption Fee Fee charged on redemption transactions Base Rate + 0.5% Minimum Fee Minimum fee regardless of Base Rate 0.5% Base Rate Variable component that increases with redemption activity 0% to 4.5% Minimum Trove Size Minimum USDFC debt a Trove must maintain 180 USDFC [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#redemption-fee) Redemption Fee --------------------------------------------------------------------------------------------------------------------- The **Redemption Fee** is calculated as [**Base Rate**](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#base-rate) + 0.5%, which ensures a minimum fee of **0.5%**. This fee dynamically adjusts depending on redemption activity: Redemption Fee\=(Base Rate+0.5%)×Redeemed USDFC\\text{Redemption Fee} = (\\text{Base Rate} + 0.5\\%) \\times \\text{Redeemed USDFC}Redemption Fee\=(Base Rate+0.5%)×Redeemed USDFC * **Base Rate** increases with frequent redemptions and decays over time when redemptions are low * The more redemptions occur, the higher the **Base Rate** will rise, while a lack of redemptions leads the rate to decay back to the **0.5% minimum** circle-info Note that the redeemed amount is taken into account for calculating the base rate and might have an impact on the redemption fee, especially if the amount is large. [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#peg-mechanism) Peg Mechanism ------------------------------------------------------------------------------------------------------------------- The redemption mechanism works alongside minting to maintain USDFC's stability around **1.0 USD**: ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#below-peg-usdfc-less-than-1.0-usd) Below Peg (USDFC < 1.0 USD) * When USDFC trades below 1.0 USD, users can redeem USDFC for FIL at a 1:1 rate, profiting from arbitrage * This reduces the circulating supply of USDFC, pushing its price back toward the peg * The redemption fee (Base Rate + 0.5%) still applies, meaning users should factor in the cost when calculating arbitrage opportunities ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#above-peg-usdfc-greater-than-1.0-usd) Above Peg (USDFC > 1.0 USD) * In this scenario, minting USDFC by depositing FIL becomes attractive because users can borrow USDFC at the 1:1 rate and sell it at a premium * This increases the circulating supply and pushes the price back toward 1.0 USD * Minting requires over-collateralization (at least 110% FIL) and incurs a one-time minting fee (Base Rate + 0.5%) [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#example-of-a-redemption) Example of a Redemption --------------------------------------------------------------------------------------------------------------------------------------- 1. **Market Situation**: USDFC trades at **0.98 USD** 2. **Redemption Initiation**: Buy 1,000 USDFC with **980 USD** and user redeems **1,000 USDFC** 3. **Redemption Fee**: Assume the **Base Rate** is **1.0%** * Redemption Fee = **(1.0% + 0.5%) of 1,000 USDFC** = **15 USDFC** 4. **Net Redemption**: The user receives FIL equivalent to **985 USD** after the fee is deducted. Net profit of **5 USD** [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#common-questions) Common Questions ------------------------------------------------------------------------------------------------------------------------- **Can I redeem USDFC to pay back my own debt?** No, redemption is not a debt repayment mechanism. It's a separate process that allows USDFC holders to exchange their tokens for FIL at face value. **How can I avoid having my Trove targeted by redemptions?** Maintain a higher collateral ratio than other Troves in the system. Redemptions always target Troves with the lowest collateral ratios first. **Is there a limit to how much USDFC can be redeemed at once?** There's no hard cap, but large redemptions may be limited by the available collateral in under-collateralized Troves and will incur higher fees as the Base Rate increases. [Learn more in the FAQs section](https://docs.secured.finance/usdfc-stablecoin/faqs) [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#related-topics) Related Topics --------------------------------------------------------------------------------------------------------------------- * [The Trove System](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) * [Mint & Borrow](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow) * [Liquidation](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) * [Protocol Fees](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees) [PreviousLiquidationchevron-left](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) [NextProtocol Feeschevron-right](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees) Last updated 9 months ago * [Overview](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#overview) * [How It Works](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#how-it-works) * [Important Distinction](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#important-distinction) * [Key Parameters](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#key-parameters) * [Redemption Fee](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#redemption-fee) * [Peg Mechanism](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#peg-mechanism) * [Below Peg (USDFC < 1.0 USD)](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#below-peg-usdfc-less-than-1.0-usd) * [Above Peg (USDFC > 1.0 USD)](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#above-peg-usdfc-greater-than-1.0-usd) * [Example of a Redemption](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#example-of-a-redemption) * [Common Questions](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#common-questions) * [Related Topics](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption#related-topics) sun-brightdesktopmoon sun-brightdesktopmoon --- # FAQs | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#overview) Overview ------------------------------------------------------------------------------------ This FAQ covers everything you need to know about USDFC, from basic concepts to advanced operations and troubleshooting. Whether you're new to stablecoins or looking for specific technical details, you'll find comprehensive answers here. [hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#what-youll-learn) What You'll Learn ----------------------------------------------------------------------------------------------------- * How USDFC stablecoin works and its key features * Step-by-step processes for minting, managing, and redeeming USDFC * Risk management and liquidation mechanics * Advanced topics like Recovery Mode and edge cases * Stability Pool participation and rewards [hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#quick-navigation) Quick Navigation ---------------------------------------------------------------------------------------------------- * [Getting Started](https://docs.secured.finance/usdfc-stablecoin/faqs#getting-started) * [Minting & Borrowing](https://docs.secured.finance/usdfc-stablecoin/faqs#minting--borrowing) * [Risk Management](https://docs.secured.finance/usdfc-stablecoin/faqs#risk-management) * [Advanced Topics](https://docs.secured.finance/usdfc-stablecoin/faqs#advanced-topics) [hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#getting-started) Getting Started -------------------------------------------------------------------------------------------------- chevron-rightWhat is Secured Finance?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#what-is-secured-finance) Secured Finance is a decentralized finance platform that facilitates peer-to-contract lending and derivatives trading. Built on multiple blockchains including Ethereum, Arbitrum, and Filecoin, it offers a transparent, robust, and cost-effective alternative to traditional financial institutions. The platform consists of two main products: * **Fixed-Rate Lending Protocol**: Enables fixed-rate, fixed-term lending and borrowing through zero-coupon bonds * **USDFC Stablecoin**: A dollar-pegged stablecoin backed by Filecoin collateral **Related:** [Platform Overview](https://docs.secured.finance/) chevron-rightWhat is USDFC?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#what-is-usdfc) USDFC is a decentralized stablecoin pegged to the US Dollar and backed by Filecoin (FIL) collateral. It's designed to maintain its value at $1 USD through over-collateralization and various stability mechanisms. **Key features:** * **Decentralized**: No central authority controls USDFC * **Over-collateralized**: Backed by at least 110% FIL collateral * **Redeemable**: Exchange USDFC for underlying FIL anytime * **Yield-generating**: Earn rewards through Stability Pool participation **Related:** [USDFC Overviewarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/overview.md) chevron-rightHow does USDFC maintain its peg to the US Dollar?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#how-does-usdfc-maintain-its-peg-to-the-us-dollar) USDFC maintains its $1 peg through multiple mechanisms: 1. **Over-collateralization**: Minimum 110% FIL collateral backing 2. **Redemption mechanism**: Direct exchange of USDFC for FIL at $1 rate 3. **Liquidation system**: Automatic closure of under-collateralized positions 4. **Stability Pool**: Buffer that absorbs liquidated debt 5. **Arbitrage opportunities**: Market forces help restore peg when deviations occur These mechanisms work together to create strong economic incentives for maintaining the peg. **Related:** [System Overviewarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/core-mechanics/system-overview.md) chevron-rightWhat are the benefits of using USDFC?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#what-are-the-benefits-of-using-usdfc) USDFC offers several advantages: **For Users:** * **Stable value**: Maintains $1 peg for predictable purchasing power * **Decentralized**: No reliance on traditional banking systems * **Transparent**: All operations recorded on blockchain * **Yield opportunities**: Earn rewards through Stability Pool **For DeFi:** * **Composability**: Use in other DeFi protocols * **Liquidity**: Trade on decentralized exchanges * **Collateral**: Use as collateral for other loans **Related:** [USDFC Overviewarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/overview.md) chevron-rightHow do I get started with USDFC?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#how-do-i-get-started-with-usdfc) To get started with USDFC: 1. **Set up a wallet**: Use a Web3 wallet like MetaMask 2. **Acquire FIL**: Purchase Filecoin on exchanges 3. **Connect to platform**: Access the USDFC interface 4. **Create a Trove**: Deposit FIL as collateral 5. **Mint USDFC**: Borrow against your collateral 6. **Manage position**: Monitor and maintain healthy ratios **Related:** [Getting Started Guidearrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/getting-started/README.md) [hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#minting-and-borrowing) Minting & Borrowing ------------------------------------------------------------------------------------------------------------ chevron-rightHow do I mint USDFC?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#how-do-i-mint-usdfc) To mint USDFC: 1. **Connect your wallet** to the USDFC platform 2. **Create a Trove** by depositing FIL as collateral 3. **Set collateral ratio** (minimum 110%, recommended 150%+) 4. **Mint USDFC** against your collateral 5. **Pay borrowing fee** (0.5% base fee) 6. **Confirm transaction** and receive USDFC **Example:** * Deposit 100 FIL worth $500 * Mint 400 USDFC (125% collateral ratio) * Pay 2 USDFC borrowing fee + 20 USDFC liquidation reserve * Receive 378 USDFC in your wallet **Related:** [Minting USDFC Step-by-Steparrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/getting-started/minting-usdfc-step-by-step.md) chevron-rightWhat is the minimum collateral ratio?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#what-is-the-minimum-collateral-ratio) The minimum collateral ratio for USDFC is **110%**. This means you need at least $110 worth of FIL to mint $100 USDFC. **Key points:** * Below 110% = liquidation risk * Recommended: 150%+ for safety * Increases to 150% during Recovery Mode **Related:** [Collateral Ratio Detailsarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/core-mechanics/liquidation/collateral-ratio.md) chevron-rightWhat fees are involved in minting USDFC?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#what-fees-are-involved-in-minting-usdfc) When minting USDFC, you pay: **One-time fees:** * **Borrowing Fee**: 0.5% base fee (may vary with market conditions) * **Liquidation Reserve**: 20 USDFC (refunded when Trove is closed) * **Gas Fees**: Network transaction fees in FIL **No ongoing fees:** * No interest payments * No maintenance fees * No time-based charges **Example:** Minting 1,000 USDFC costs 5 USDFC borrowing fee plus 20 USDFC liquidation reserve plus gas. **Related:** [Protocol Fees Detailsarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/core-mechanics/protocol-fees.md) chevron-rightCan I mint more USDFC from an existing Trove?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#can-i-mint-more-usdfc-from-an-existing-trove) Yes, you can mint additional USDFC from an existing Trove if: 1. **Collateral ratio remains above 110%** after minting 2. **You pay the borrowing fee** on additional USDFC 3. **Sufficient FIL collateral** supports the new total debt **Process:** 1. Access your existing Trove 2. Calculate new collateral ratio 3. Mint additional USDFC 4. Pay borrowing fee on new amount only **Related:** [Managing Collateral Effectivelyarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/getting-started/managing-collateral-effectively.md) chevron-rightWhat happens if I want to close my Trove?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#what-happens-if-i-want-to-close-my-trove) To close your Trove: 1. **Repay all USDFC debt** including any fees 2. **Confirm closure transaction** 3. **Receive all FIL collateral** back to your wallet 4. **Pay gas fees** for the transaction **Requirements:** * Must repay 100% of USDFC debt * Cannot partially close a Trove * Trove is permanently removed after closure * 20 USDFC liquidation reserve is refunded upon closure **Related:** [Monitoring Your Positionarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/getting-started/monitoring-your-position.md) [hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#risk-management) Risk Management -------------------------------------------------------------------------------------------------- chevron-rightWhat is the Stability Pool?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#what-is-the-stability-pool) The Stability Pool is a pool of USDFC tokens that acts as a buffer to absorb debt from liquidated Troves. It provides system stability and rewards for participants. **How it works:** 1. **Users deposit USDFC** into the pool 2. **Liquidated debt** is paid using pool funds 3. **Liquidated FIL collateral** is distributed to depositors 4. **Depositors typically profit** from liquidation premiums **Related:** [Using the Stability Poolarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/getting-started/using-the-stability-pool.md) chevron-rightHow do liquidations work?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#how-do-liquidations-work) When a Trove's collateral ratio falls below 110%: 1. **Liquidation trigger**: Anyone can initiate liquidation 2. **Debt payment**: Stability Pool USDFC pays off the debt 3. **Collateral distribution**: FIL collateral goes to Stability Pool depositors 4. **Liquidator reward**: Liquidator receives gas compensation (20 USDFC) and 0.5% of collateral **Example:** * Trove has 100 FIL ($400) and 380 USDFC debt * Collateral ratio = 105% (below 110%) * Liquidation occurs, Stability Pool receives ~$400 FIL for $380 debt **Related:** [Liquidation Processarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/core-mechanics/liquidation.md) chevron-rightWhat are the benefits of depositing in the Stability Pool?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#what-are-the-benefits-of-depositing-in-the-stability-pool) Stability Pool depositors receive: **Rewards:** * **FIL from liquidations**: Typically profitable due to 110%+ collateral * **Liquidation premiums**: Receive more value than USDFC deposited * **System rewards**: Potential additional token rewards **Example profit:** * Deposit 1,000 USDFC * Liquidation occurs, receive 1,100 USDFC worth of FIL * Net profit: 100 USDFC equivalent **Related:** [Using the Stability Poolarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/getting-started/using-the-stability-pool.md) chevron-rightWhat are the risks of the Stability Pool?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#what-are-the-risks-of-the-stability-pool) Risks include: 1. **USDFC reduction**: Your deposit decreases during liquidations 2. **FIL price volatility**: Received FIL may fluctuate in value 3. **Opportunity cost**: Might miss FIL price appreciation 4. **Smart contract risk**: Protocol vulnerabilities (though audited) **Mitigation strategies:** * **Diversify exposure**: Don't deposit all USDFC * **Monitor FIL price**: Consider market conditions * **Understand mechanics**: Know when liquidations likely occur **Related:** [Using the Stability Poolarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/getting-started/using-the-stability-pool.md) [hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#advanced-topics) Advanced Topics -------------------------------------------------------------------------------------------------- chevron-rightWhat is redemption and how does it work?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#what-is-redemption-and-how-does-it-work) Redemption allows USDFC holders to exchange their USDFC for underlying FIL collateral directly from the protocol at face value. **Process:** 1. **Submit redemption request** with USDFC amount 2. **Protocol selects Troves** with lowest collateral ratios 3. **Receive equivalent FIL** based on current price 4. **Pay redemption fee** (Base Rate + 0.5%, minimum 0.5%) **Use cases:** * **Arbitrage**: When USDFC trades below $1 * **Exit strategy**: Convert back to FIL * **Peg maintenance**: Helps maintain $1 peg **Important:** Redemptions target Troves with the lowest collateral ratios first. Maintaining a ratio above 150% reduces redemption risk. **Related:** [Redemption Process Detailsarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/core-mechanics/redemption.md) chevron-rightWhat is Recovery Mode?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#what-is-recovery-mode) Recovery Mode activates when the system's Total Collateral Ratio falls below 150%. It implements stricter rules to restore system health: * **Higher liquidation threshold**: Positions below 150% at risk * **No borrowing fees**: Encourages adding collateral * **Restricted operations**: Limited new borrowing **User actions:** Add collateral or repay debt to stay above 150%. **Related:** [Recovery Mode Detailsarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/advanced-topics/recovery-mode.md) chevron-rightWhat happens if the Stability Pool is empty during liquidation?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#what-happens-if-the-stability-pool-is-empty-during-liquidation) If the Stability Pool is empty when liquidation occurs: 1. **Redistribution mechanism**: Debt and collateral redistribute to all Troves 2. **Proportional allocation**: Based on each Trove's existing debt 3. **Automatic updates**: Positions adjust automatically 4. **No user action required**: System handles redistribution **Impact on Trove owners:** * **Debt increases**: Receive portion of liquidated debt * **Collateral increases**: Receive portion of liquidated FIL * **Ratio may improve**: Net effect often positive **Related:** [Liquidation Processarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/core-mechanics/liquidation.md) chevron-rightWhat if FIL price crashes significantly?[hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#what-if-fil-price-crashes-significantly) In case of severe FIL price decline: 1. **Mass liquidations**: Many Troves become under-collateralized 2. **Recovery Mode**: System automatically activates 3. **Stability mechanisms**: Built-in protections engage 4. **Market forces**: Arbitrage opportunities help stabilize **User protections:** * **Over-collateralization**: 110%+ provides buffer * **Liquidation premiums**: Incentivize quick liquidations * **Redemption mechanism**: Maintains peg pressure **Related:** [Recovery Modearrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/advanced-topics/recovery-mode.md) [hashtag](https://docs.secured.finance/usdfc-stablecoin/faqs#related-resources) Related Resources ------------------------------------------------------------------------------------------------------ * [Getting Started Guidearrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/getting-started/README.md) * [Core Mechanics Documentationarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/core-mechanics/README.md) * [Advanced Topicsarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/advanced-topics/README.md) * [System Overviewarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/core-mechanics/system-overview.md) * [Developer Portal](https://docs.secured.finance/developer-portal/introduction) [PreviousContracts and Securitychevron-left](https://docs.secured.finance/usdfc-stablecoin/deployed-contracts) [NextOverviewchevron-right](https://docs.secured.finance/fixed-rate-lending/overview) Last updated 8 months ago * [Overview](https://docs.secured.finance/usdfc-stablecoin/faqs#overview) * [What You'll Learn](https://docs.secured.finance/usdfc-stablecoin/faqs#what-youll-learn) * [Quick Navigation](https://docs.secured.finance/usdfc-stablecoin/faqs#quick-navigation) * [Getting Started](https://docs.secured.finance/usdfc-stablecoin/faqs#getting-started) * [Minting & Borrowing](https://docs.secured.finance/usdfc-stablecoin/faqs#minting-and-borrowing) * [Risk Management](https://docs.secured.finance/usdfc-stablecoin/faqs#risk-management) * [Advanced Topics](https://docs.secured.finance/usdfc-stablecoin/faqs#advanced-topics) * [Related Resources](https://docs.secured.finance/usdfc-stablecoin/faqs#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # System Overview | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#overview) Overview -------------------------------------------------------------------------------------------------------------- The USDFC Stablecoin Protocol is a decentralized system that enables users to mint a USD-pegged stablecoin (USDFC) by depositing Filecoin (FIL) as collateral. The protocol maintains stability through a series of interconnected mechanisms that ensure USDFC maintains its 1:1 peg to the US Dollar. [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#how-it-works) How It Works ---------------------------------------------------------------------------------------------------------------------- The protocol operates through several key components that work together to maintain stability, manage collateral, and ensure the proper functioning of the system: 1. **Trove System**: Individual vaults where users deposit FIL collateral and mint USDFC 2. **Stability Pool**: A reserve of USDFC that absorbs liquidations of under-collateralized Troves 3. **Redemption Mechanism**: Allows USDFC holders to exchange their tokens for FIL at face value 4. **Recovery Mode**: A special state that activates when the system's overall collateral ratio falls below 150% 5. **Price Oracle**: Provides accurate FIL/USD price data to determine collateral values [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#system-architecture) System Architecture ------------------------------------------------------------------------------------------------------------------------------------ ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#normal-mode) Normal Mode  USDFC Protocol Architecture in Normal Mode ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#recovery-mode) Recovery Mode  USDFC Protocol Architecture in Recovery Mode [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#key-parameters) Key Parameters -------------------------------------------------------------------------------------------------------------------------- Parameter Description Default Value Minimum Collateral Ratio (MCR) Minimum required ratio of collateral to debt 110% Recovery Mode Threshold TCR level that triggers Recovery Mode 150% Liquidation Reserve USDFC reserved for potential liquidation gas costs 20 USDFC Minimum Borrow Amount Minimum USDFC that can be borrowed 180 USDFC Base Rate Variable component of minting and redemption fees 0% to 4.5% [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#common-questions) Common Questions ------------------------------------------------------------------------------------------------------------------------------ **What happens if the price of FIL drops significantly?** If FIL price drops, Troves with lower collateral ratios may become eligible for liquidation. The protocol prioritizes liquidating the riskiest Troves first to maintain system solvency. **How does the protocol maintain the USDFC peg?** The redemption mechanism allows USDFC holders to exchange their tokens for FIL at face value, creating arbitrage opportunities that help maintain the peg. **What is the difference between Normal Mode and Recovery Mode?** In Normal Mode, Troves require a minimum 110% collateral ratio. In Recovery Mode, stricter rules apply, including higher liquidation thresholds and restrictions on borrowing. [Learn more in the FAQs section](https://docs.secured.finance/usdfc-stablecoin/faqs) [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#related-topics) Related Topics -------------------------------------------------------------------------------------------------------------------------- * [The Trove System](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) * [Mint & Borrow](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow) * [Liquidation](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) * [Redemption](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption) * [Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) [PreviousCore Mechanicschevron-left](https://docs.secured.finance/usdfc-stablecoin/core-mechanics) [NextThe Trove Systemchevron-right](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) Last updated 10 months ago * [Overview](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#overview) * [How It Works](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#how-it-works) * [System Architecture](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#system-architecture) * [Normal Mode](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#normal-mode) * [Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#recovery-mode) * [Key Parameters](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#key-parameters) * [Common Questions](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#common-questions) * [Related Topics](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview#related-topics) sun-brightdesktopmoon sun-brightdesktopmoon --- # Getting Test USDFC on Testnet | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#overview) Overview ----------------------------------------------------------------------------------------------------------------------------- This tutorial guides you through the process of obtaining and using test USDFC on the Filecoin Calibration testnet. Testing on the testnet allows you to experiment with USDFC's features without using real assets. You'll learn how to: * Obtain test Filecoin (tFIL) from a faucet * Access the USDFC testnet application * Mint test USDFC using tFIL as collateral * Add test USDFC to your wallet [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#prerequisites) Prerequisites --------------------------------------------------------------------------------------------------------------------------------------- * A web3 wallet (like MetaMask) installed and have your wallet address * Basic understanding of blockchain transactions [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#step-1-get-test-filecoin-tfil-from-the-faucet) Step 1: Get Test Filecoin (tFIL) from the Faucet ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Before minting test USDFC, you'll need test Filecoin (tFIL) to use as collateral. 1. Visit the Filecoin Calibration testnet faucet at [https://faucet.calibnet.chainsafe-fil.io/funds.htmlarrow-up-right](https://faucet.calibnet.chainsafe-fil.io/funds.html) 2. Enter your wallet address 3. Complete any verification steps required by the faucet 4. Request tFIL (you will receive 100 tFIL twice a day) 5. Wait for the transaction to complete (this usually takes a few minutes)  Filecoin Calibration testnet faucet interface [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#step-2-access-the-usdfc-testnet-application) Step 2: Access the USDFC Testnet Application ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The USDFC testnet application is separate from the mainnet application. 1. Go to the USDFC testnet application at [https://stg.usdfc.netarrow-up-right](https://stg.usdfc.net/) 2. Connect your wallet by clicking the "Connect Wallet" button in the top right corner 3. Ensure your wallet is set to the Filecoin Calibration testnet network  USDFC testnet application page with adding Calibration network > **Note:** The testnet application (https://stg.usdfc.net) is different from the mainnet application (https://app.usdfc.net). Make sure you're using the correct URL for testing. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#step-3-mint-test-usdfc-using-tfil) Step 3: Mint Test USDFC Using tFIL -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Now that you have tFIL and are connected to the testnet application, you can mint test USDFC. 1. On the USDFC testnet application, navigate to the "Trove" section and click "Open Trove" 2. Enter the amount of tFIL you want to use as collateral 3. The application will calculate the amount of USDFC you can mint based on your collateral 4. Adjust the collateral ratio as needed (higher ratios provide more protection against liquidation) 5. Confirm the transaction in your wallet 6. Wait for the transaction to be confirmed on the blockchain  Minting USDFC [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#step-4-add-test-usdfc-to-your-wallet) Step 4: Add Test USDFC to Your Wallet -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- After minting, you'll want to see your test USDFC in your wallet. 1. On the Dashboard page, navigate to the "Protocol Statistics" section and find "USDFC contract. 2. Click "Add to Wallet" icon. 3. The token symbol (USDFC) and decimals should be added 4. Click "Add" or "Import" to add test USDFC to your wallet ([videoarrow-up-right](https://gyazo.com/4102e760883c7c413ee1161a851d5712) )  Adding USDFC to Wallet [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#step-5-closing-your-trove) Step 5: Closing Your Trove ---------------------------------------------------------------------------------------------------------------------------------------------------------------- Most cases, 'Adjust' should allow withdrawing collateralized FIL, but if you no longer need to use USDFC system, you can close your trove and you can reopen a trove again. circle-exclamation Don't forget to repay the borrowing fees. If you wish to close the trove with the USDFC amount you just borrowed, it doesn't work. You should repay borrowing fees. Please get additional USDFC from another account or via swap. 1. On the Dashboard page, navigate to the "Trove" section 2. Click "Close Trove" button 3. If you see error message that you need more USDFC to pay borrowing fees, please get it. 4. If you just wish to withdraw FIL as much as possible, you can cancel closing and click "Adjust" 5. Click "Confirm" to send the transaction with your wallet  Closing Your Trove requires repayment of the borrowed amount and fees in USDFC [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#using-test-usdfc-on-testnet) Using Test USDFC on Testnet ------------------------------------------------------------------------------------------------------------------------------------------------------------------- Now that you have test USDFC, you can explore various features of the USDFC ecosystem on testnet: ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#stability-pool) Stability Pool You can deposit your test USDFC into the Stability Pool to help secure the protocol and potentially earn rewards from liquidations. Learn more with [Using the Stability Pool](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool)  Stability Pool ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#fixed-rate-lending-market) Fixed Rate Lending Market While Bridge and SushiSwap features are not available on testnet, you can use the USDFC fixed rate lending market. 1. Visit [http://stg.secured.finance/?chain\_id=314159arrow-up-right](http://stg.secured.finance/?chain_id=314159) 2. Connect your wallet 3. Navigate to the lending markets 4. Explore lending or borrowing with your test USDFC. Learn more with [Lending Assets](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets) [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#testnet-limitations) Testnet Limitations --------------------------------------------------------------------------------------------------------------------------------------------------- It's important to understand the differences between testnet and mainnet: * **Bridge functionality** is not available on testnet * **SushiSwap integration** is not available on testnet * Test tokens have no real-world value * Transaction times and network behavior may differ from mainnet * The USDFC fixed rate lending market is available at [https://stg.secured.financearrow-up-right](http://stg.secured.finance/?chain_id=314159) [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#common-questions) Common Questions --------------------------------------------------------------------------------------------------------------------------------------------- **Q: How often can I request test FIL from the faucet?** A: Faucet limitations vary, but typically you can request once every 24 hours. **Q: Are there any fees for transactions on testnet?** A: Yes, you'll need to pay gas fees in tFIL, but since tFIL has no real value, these fees are effectively free. **Q: Can I transfer my test USDFC to mainnet?** A: No, testnet tokens cannot be transferred to mainnet as they exist on separate networks. **Q: What should I do if my transaction fails?** A: Check that you have enough tFIL for gas fees, ensure your wallet is connected to the Filecoin Calibration testnet, and try again with a higher gas limit if necessary. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#related-resources) Related Resources ----------------------------------------------------------------------------------------------------------------------------------------------- * [USDFC Overview](https://docs.secured.finance/usdfc-stablecoin/overview) * [Creating Your First Trove](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove) * [Minting USDFC Step-by-Step](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step) * [Using the Stability Pool](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool) [PreviousGetting Startedchevron-left](https://docs.secured.finance/usdfc-stablecoin/getting-started) [NextCreating Your First Trovechevron-right](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove) Last updated 8 months ago * [Overview](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#overview) * [Prerequisites](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#prerequisites) * [Step 1: Get Test Filecoin (tFIL) from the Faucet](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#step-1-get-test-filecoin-tfil-from-the-faucet) * [Step 2: Access the USDFC Testnet Application](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#step-2-access-the-usdfc-testnet-application) * [Step 3: Mint Test USDFC Using tFIL](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#step-3-mint-test-usdfc-using-tfil) * [Step 4: Add Test USDFC to Your Wallet](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#step-4-add-test-usdfc-to-your-wallet) * [Step 5: Closing Your Trove](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#step-5-closing-your-trove) * [Using Test USDFC on Testnet](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#using-test-usdfc-on-testnet) * [Stability Pool](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#stability-pool) * [Fixed Rate Lending Market](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#fixed-rate-lending-market) * [Testnet Limitations](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#testnet-limitations) * [Common Questions](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#common-questions) * [Related Resources](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Getting Started | Secured Finance Docs Welcome to the USDFC stablecoin protocol! This section provides step-by-step guides to help you start using USDFC, a dollar-pegged stablecoin backed by Filecoin (FIL) collateral. Whether you're new to DeFi or an experienced user, these guides will walk you through the essential operations of the USDFC protocol. USDFC allows you to unlock the value of your FIL holdings while maintaining exposure to FIL's potential price appreciation. By depositing FIL as collateral in a Trove, you can mint USDFC stablecoins and use them across the DeFi ecosystem. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started#what-youll-learn) What You'll Learn ---------------------------------------------------------------------------------------------------------------- * How to create a Trove and deposit FIL collateral * How to mint USDFC stablecoins against your collateral * How to manage your collateral ratio to avoid liquidation * How to monitor your position's health * How to participate in the Stability Pool to earn rewards * How to redeem USDFC for FIL under low liquidity conditions [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started#key-components) Key Components -----------------------------------------------------------------------------------------------------------  Overview of the USDFC protocol workflow ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started#core-operations) Core Operations Operation Description Guide Creating a Trove Set up your collateralized debt position [Creating Your First Trove](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove) Minting USDFC Generate stablecoins against your collateral [Minting USDFC Step-by-Step](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step) Managing Collateral Add or withdraw collateral to adjust risk [Managing Collateral Effectively](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively) Monitoring Position Track your Trove's health and liquidation risk [Monitoring Your Position](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position) Using Stability Pool Earn rewards by helping secure the protocol [Using the Stability Pool](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool) Redeeming USDFC Exchange USDFC for FIL at face value [Redeeming USDFC](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc) ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started#what-you-can-do-with-usdfc) What You Can Do With USDFC After minting USDFC, you have several options to put your stablecoins to work: 1. **Deposit into the Stability Pool** - Earn liquidated FIL at a discount while helping secure the protocol 2. **Provide Liquidity on DEXs** - Pair USDFC with FIL on SushiSwap to earn trading fees 3. **Lend in Fixed-Income Markets** - Earn interest by lending USDFC in Secured Finance's [Fixed Income Marketarrow-up-right](https://app.secured.finance/) 4. **Bridge to Other Chains** - Use the [bridge and swaparrow-up-right](https://usdfc.secured.finance/#/bridge) functionality to move USDFC to other blockchains [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started#testnet-resources) Testnet Resources ----------------------------------------------------------------------------------------------------------------- If you want to try USDFC on testnet first: * Access the [Getting Test USDFC on Testnet](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet) * Get testnet tFIL from the [Calibration Faucetarrow-up-right](https://faucet.calibnet.chainsafe-fil.io/) * Watch the [Demo from FIL Dev Summit 2024arrow-up-right](https://www.youtube.com/watch?v=LOnCu4HZnXg&list=PL_0VrY55uV1__uv3uOvZ3L6exG9y10lSy&index=13) [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started#related-resources) Related Resources ----------------------------------------------------------------------------------------------------------------- * [USDFC Overview](https://docs.secured.finance/usdfc-stablecoin/overview) * [Core Mechanics](https://docs.secured.finance/usdfc-stablecoin/core-mechanics) * [Advanced Topics](https://docs.secured.finance/usdfc-stablecoin/advanced-topics) * [FAQs](https://docs.secured.finance/usdfc-stablecoin/faqs) * [Fixed-Rate Lending](https://docs.secured.finance/fixed-rate-lending/overview) [PreviousOverviewchevron-left](https://docs.secured.finance/usdfc-stablecoin/overview) [NextGetting Test USDFC on Testnetchevron-right](https://docs.secured.finance/usdfc-stablecoin/getting-started/getting-test-usdfc-on-testnet) Last updated 9 months ago * [What You'll Learn](https://docs.secured.finance/usdfc-stablecoin/getting-started#what-youll-learn) * [Key Components](https://docs.secured.finance/usdfc-stablecoin/getting-started#key-components) * [Core Operations](https://docs.secured.finance/usdfc-stablecoin/getting-started#core-operations) * [What You Can Do With USDFC](https://docs.secured.finance/usdfc-stablecoin/getting-started#what-you-can-do-with-usdfc) * [Testnet Resources](https://docs.secured.finance/usdfc-stablecoin/getting-started#testnet-resources) * [Related Resources](https://docs.secured.finance/usdfc-stablecoin/getting-started#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Using the Stability Pool | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#prerequisites) Prerequisites ---------------------------------------------------------------------------------------------------------------------------------- * USDFC tokens in your wallet * Access to the [USDFC applicationarrow-up-right](https://app.usdfc.net/) * Connected wallet with enough FIL for gas fees [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#overview) Overview ------------------------------------------------------------------------------------------------------------------------ The Stability Pool is a key component of the USDFC protocol that helps maintain system stability. By depositing your USDFC into the Stability Pool, you contribute to the liquidation mechanism and earn rewards in the form of liquidated FIL collateral. This guide will walk you through the process of depositing USDFC into the Stability Pool and understanding how rewards work. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#step-1-access-the-stability-pool) Step 1: Access the Stability Pool ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- First, you need to navigate to the Stability Pool section in the USDFC application. 1. Navigate to the [USDFC applicationarrow-up-right](https://app.usdfc.net/) 2. Connect your wallet if not already connected 3. Locate the "Stability Pool" section on the Dashboard page 4. See the "Protocol Statistics" section to check the Stability Pool information  Stability Pool section and Protocol Statistics section [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#step-2-review-stability-pool-information) Step 2: Review Stability Pool Information ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Before depositing, review the current Stability Pool information. 1. Check the total USDFC deposited in the Stability Pool 2. Review the current rewards (if displayed) 3. Note that liquidation rewards are automatically calculated and distributed on a pro rata basis based on your Stability Pool contribution 4. Be aware that liquidation history is not displayed in the app but may be available through external on-chain analytics tools [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#step-3-deposit-usdfc) Step 3: Deposit USDFC ------------------------------------------------------------------------------------------------------------------------------------------------- Now you can deposit your USDFC into the Stability Pool. 1. Enter the amount of USDFC you want to deposit 2. Review any fees or conditions associated with the deposit 3. Click the "Confirm" button 4. Confirm the transaction in your wallet 5. Wait for the transaction to be processed on the blockchain  The Stability Pool deposit interface with the amount input field [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#step-4-monitor-your-deposit-and-rewards) Step 4: Monitor Your Deposit and Rewards --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- After depositing, you can monitor your position and earned rewards. 1. Your deposit amount will be displayed in the Stability Pool dashboard 2. Any earned FIL rewards will accumulate over time 3. The dashboard will show your share of the Stability Pool and Liquidation gain as rewards  Screenshot showing deposit and rewards information [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#step-5-claim-rewards-when-available) Step 5: Claim Rewards (When Available) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- When you've earned rewards, you can claim them. 1. Locate the "Claim FIL" or similar button in the Stability Pool dashboard 2. Click the button to claim your earned FIL rewards 3. Confirm the transaction in your wallet 4. Wait for the transaction to be processed 5. Verify that the FIL rewards have been added to your trove [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#step-6-withdraw-usdfc-when-desired) Step 6: Withdraw USDFC (When Desired) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- You can withdraw your USDFC from the Stability Pool at any time. 1. Enter the amount of USDFC you want to keep in the Stability Pool by subtracting the amount of USDFC you want to withdraw 2. Click the "Confirm" button 3. Confirm the transaction in your wallet 4. Wait for the transaction to be processed 5. Verify that the USDFC has been returned to your wallet  The withdrawal by deposit amount adjustment [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#how-stability-pool-rewards-work) How Stability Pool Rewards Work ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#liquidation-process) Liquidation Process When a Trove is liquidated, the following happens: 1. The system identifies Troves with collateral ratios below the minimum requirement 2. USDFC from the Stability Pool is used to repay the debt of the liquidated Trove 3. The liquidated Trove's collateral is distributed to Stability Pool depositors proportionally ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#reward-distribution) Reward Distribution Rewards are distributed based on your share of the Stability Pool: Your Reward\=Liquidated Collateral×Your DepositTotal Stability Pool\\text{Your Reward} = \\text{Liquidated Collateral} \\times \\frac{\\text{Your Deposit}}{\\text{Total Stability Pool}}Your Reward\=Liquidated Collateral×Total Stability PoolYour Deposit \[Image: Visual representation of the reward distribution mechanism\] ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#deposit-dilution) Deposit Dilution It's important to understand that your deposit may be "diluted" over time: 1. When liquidations occur, some of your deposited USDFC is used to repay debt 2. Your deposit amount decreases, but you receive FIL collateral in return 3. This is not a loss but a conversion from USDFC to FIL at a potentially favorable rate \[Image: Diagram explaining deposit dilution during liquidations\] [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#strategies-for-stability-pool-participation) Strategies for Stability Pool Participation ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#conservative-strategy) Conservative Strategy * Deposit a small portion of your USDFC (10-20%) * Lower risk and lower potential rewards * Good for those who want to maintain liquidity ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#balanced-strategy) Balanced Strategy * Deposit a moderate portion of your USDFC (30-60%) * Balance between liquidity and potential rewards * Monitor the system health regularly ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#aggressive-strategy) Aggressive Strategy * Deposit a large portion of your USDFC (70-100%) * Higher potential rewards during periods of liquidations * Less liquidity for other opportunities \[Image: Comparison chart of different Stability Pool strategies\] [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#next-steps) Next Steps ---------------------------------------------------------------------------------------------------------------------------- * Learn about [redeeming USDFC](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc) when you're ready to exit * Understand [Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) and how it affects the Stability Pool * Explore other ways to use your USDFC in the ecosystem [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#troubleshooting) Troubleshooting -------------------------------------------------------------------------------------------------------------------------------------- * **Transaction Failed**: Ensure you have enough FIL for gas fees * **Cannot Deposit**: Verify that you have the USDFC amount you're trying to deposit * **Rewards Not Showing**: Rewards only accumulate when liquidations occur; there may not have been recent liquidations [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#common-questions) Common Questions ---------------------------------------------------------------------------------------------------------------------------------------- **Q: Is there a minimum amount I need to deposit?** A: There is typically no minimum amount, but very small deposits may result in gas fees outweighing potential rewards. **Q: How often are rewards distributed?** A: Rewards are distributed automatically during liquidation events. The frequency depends on market conditions and system health. **Q: Can I lose my deposited USDFC?** A: Your deposit is used to repay liquidated debt, but you receive FIL collateral in return, often at a discount to market value. **Q: How do I know if the Stability Pool is profitable?** A: Monitor the liquidation history and current system health. More liquidations generally mean more rewards for depositors. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#related-topics) Related Topics ------------------------------------------------------------------------------------------------------------------------------------ * [Liquidation](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) * [Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) * [Protocol Fees](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees) * [The Trove System](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) [PreviousMonitoring Your Positionchevron-left](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position) [NextRedeeming USDFCchevron-right](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc) Last updated 9 months ago * [Prerequisites](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#prerequisites) * [Overview](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#overview) * [Step 1: Access the Stability Pool](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#step-1-access-the-stability-pool) * [Step 2: Review Stability Pool Information](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#step-2-review-stability-pool-information) * [Step 3: Deposit USDFC](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#step-3-deposit-usdfc) * [Step 4: Monitor Your Deposit and Rewards](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#step-4-monitor-your-deposit-and-rewards) * [Step 5: Claim Rewards (When Available)](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#step-5-claim-rewards-when-available) * [Step 6: Withdraw USDFC (When Desired)](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#step-6-withdraw-usdfc-when-desired) * [How Stability Pool Rewards Work](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#how-stability-pool-rewards-work) * [Liquidation Process](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#liquidation-process) * [Reward Distribution](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#reward-distribution) * [Deposit Dilution](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#deposit-dilution) * [Strategies for Stability Pool Participation](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#strategies-for-stability-pool-participation) * [Conservative Strategy](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#conservative-strategy) * [Balanced Strategy](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#balanced-strategy) * [Aggressive Strategy](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#aggressive-strategy) * [Next Steps](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#next-steps) * [Troubleshooting](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#troubleshooting) * [Common Questions](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#common-questions) * [Related Topics](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool#related-topics) sun-brightdesktopmoon sun-brightdesktopmoon --- # Borrowing Assets | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#prerequisites) Prerequisites ---------------------------------------------------------------------------------------------------------------------------- * A connected wallet with sufficient collateral deposited * Basic understanding of fixed-rate lending concepts * Access to the Secured Finance platform [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#overview) Overview ------------------------------------------------------------------------------------------------------------------ Borrowing assets on Secured Finance's Fixed-Rate Lending Protocol allows you to access liquidity while maintaining exposure to your collateral assets. The protocol uses an orderbook system to match borrowers with lenders at fixed rates, providing certainty about your borrowing costs for the entire term. [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#step-1-connect-your-wallet) Step 1: Connect Your Wallet ------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Navigate to the [Secured Finance platformarrow-up-right](https://app.secured.finance/) 2. Click the "Connect Wallet" button in the top right corner 3. Select your wallet provider (MetaMask, WalletConnect, etc.) 4. Approve the connection request in your wallet  Connect Wallet [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#step-2-deposit-collateral) Step 2: Deposit Collateral ----------------------------------------------------------------------------------------------------------------------------------------------------- Before borrowing, you need to deposit collateral to secure your loan. 1. Go to the "Portfolio" tab 2. Click the "Deposit" button 3. Select the asset you want to deposit as collateral 4. Enter the amount and confirm the transaction 5. Wait for the transaction to be confirmed on the blockchain  Deposit Collateral [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#step-3-navigate-to-the-trading-interface) Step 3: Navigate to the Trading Interface ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Click on the "Trading" tab in the main navigation 2. Select the asset you want to borrow from the dropdown menu 3. Choose the maturity date that suits your needs  Trading Interface [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#step-4-place-a-borrow-order) Step 4: Place a Borrow Order --------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Select "Borrow" in the order type section 2. Choose between "Market Order" (immediate execution at current market price) or "Limit Order" (execution at your specified price) 3. For a Limit Order: * Set your desired interest rate (APR) * Enter the amount you want to borrow 4. For a Market Order: * Enter the amount you want to borrow * Review the current market rate 5. Click "Place Order" to submit your borrow request  Place Borrow Order [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#step-5-confirm-your-transaction) Step 5: Confirm Your Transaction ----------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Review the order details in the confirmation modal 2. Check the estimated gas fees 3. Click "Confirm" to proceed 4. Approve the transaction in your wallet 5. Wait for the transaction to be confirmed on the blockchain [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#step-6-monitor-your-position) Step 6: Monitor Your Position ----------------------------------------------------------------------------------------------------------------------------------------------------------- After successfully borrowing assets: 1. Go to the "Portfolio" tab to view your active positions 2. Monitor your collateralization ratio to ensure it stays above the minimum requirement 3. Keep track of the maturity date to plan for repayment  Monitor Position [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#next-steps) Next Steps ---------------------------------------------------------------------------------------------------------------------- Now that you've successfully borrowed assets, you might want to: * [Learn how to manage your positions](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions) * [Explore auto-rolling features](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling) to extend your loan term * [Understand liquidation risks](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation) to protect your collateral [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#troubleshooting) Troubleshooting -------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#order-not-executing) Order Not Executing If your limit order isn't being executed: * Your specified interest rate may not be competitive with current market rates * There might be insufficient liquidity in the orderbook * Try adjusting your rate or switching to a market order for immediate execution ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#insufficient-collateral-error) Insufficient Collateral Error If you receive an "Insufficient Collateral" error: * Your collateral value may be too low for the amount you're trying to borrow * Deposit additional collateral or reduce your borrow amount * Check the current collateralization requirements for your selected asset ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#transaction-failing) Transaction Failing If your transaction is failing: * Ensure you have enough native tokens (ETH, MATIC, etc.) to cover gas fees * Check that you're not exceeding your borrowing capacity * Try refreshing the page and attempting the transaction again [PreviousLending Assetschevron-left](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets) [NextManaging Positionschevron-right](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions) Last updated 10 months ago * [Prerequisites](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#prerequisites) * [Overview](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#overview) * [Step 1: Connect Your Wallet](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#step-1-connect-your-wallet) * [Step 2: Deposit Collateral](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#step-2-deposit-collateral) * [Step 3: Navigate to the Trading Interface](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#step-3-navigate-to-the-trading-interface) * [Step 4: Place a Borrow Order](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#step-4-place-a-borrow-order) * [Step 5: Confirm Your Transaction](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#step-5-confirm-your-transaction) * [Step 6: Monitor Your Position](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#step-6-monitor-your-position) * [Next Steps](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#next-steps) * [Troubleshooting](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#troubleshooting) * [Order Not Executing](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#order-not-executing) * [Insufficient Collateral Error](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#insufficient-collateral-error) * [Transaction Failing](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets#transaction-failing) sun-brightdesktopmoon sun-brightdesktopmoon --- # Standardization | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization#overview) Overview ---------------------------------------------------------------------------------------------------------------- Standardization is a core principle of the Fixed-Rate Lending Protocol that ensures all market participants can interact with the system in a predictable and efficient manner. By establishing consistent parameters for assets, maturities, and market operations, the protocol creates a more liquid and accessible environment for fixed-rate lending and borrowing. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization#what-youll-learn) What You'll Learn --------------------------------------------------------------------------------------------------------------------------------- * How standardized maturities create predictable market cycles * How Zero-Coupon Bonds represent lending and borrowing positions * How standardization benefits market liquidity and user experience * How the protocol maintains consistency across different markets [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization#key-components) Key Components ---------------------------------------------------------------------------------------------------------------------------- * [**Fixed Maturity**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity) : Standardized time periods for lending and borrowing * [**Zero-Coupon Bonds**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/zero-coupon-bonds) : The standardized representation of lending and borrowing positions [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization#related-resources) Related Resources ---------------------------------------------------------------------------------------------------------------------------------- * [Order Book System](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system) * [Collateralization](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization) * [Advanced Topics](https://docs.secured.finance/fixed-rate-lending/advanced-topics) [PreviousCase Study: Order Status & Transitionchevron-left](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-life-cycle/case-study-order-status-and-transition) [NextZero-Coupon Bondschevron-right](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/zero-coupon-bonds) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization#overview) * [What You'll Learn](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization#what-youll-learn) * [Key Components](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization#key-components) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Platform Guide | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide#overview) Overview ---------------------------------------------------------------------------------------------------------------- Welcome to the Secured Finance platform guide. This section provides a comprehensive overview of our web application interface, designed to help you navigate and utilize all the features of the Fixed-Rate Lending Protocol. The platform offers a user-friendly experience for lending, borrowing, and trading zero-coupon bonds with fixed rates. circle-info If you wish to start trading immediately, please visit our [Beginners Guide](https://docs.secured.finance/fixed-rate-lending/getting-started) featuring tutorial animations. [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide#what-youll-learn) What You'll Learn --------------------------------------------------------------------------------------------------------------------------------- * How to navigate the six main tabs of the platform interface * How to use the Trading tab for buying and selling zero-coupon bonds * How to monitor market conditions and yield curves * How to manage your portfolio, positions, and collateral * How to bridge assets between different blockchains * How to earn and utilize platform points and participate in campaigns [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide#key-components) Key Components ---------------------------------------------------------------------------------------------------------------------------- * [**Trading**](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading) : The main interface for lending and borrowing through zero-coupon bond trading * [**Markets**](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets) : View blockchain status, market conditions, and yield curves for digital assets * [**Portfolio**](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio) : Manage assets, collateral, positions, and transaction history * [**Bridge**](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge) : Transfer assets securely between different blockchain networks * [**Points**](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/points) : Earn rewards based on platform usage and participation [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide#related-resources) Related Resources ---------------------------------------------------------------------------------------------------------------------------------- * [Lending Assets](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets) : Detailed guide on lending through the platform * [Borrowing Assets](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets) : Step-by-step instructions for borrowing * [Managing Positions](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions) : How to monitor and adjust your positions * [Core Mechanics](https://docs.secured.finance/fixed-rate-lending/core-mechanics) : Understanding the protocol's fundamental concepts * [Advanced Topics](https://docs.secured.finance/fixed-rate-lending/advanced-topics) : Exploring technical details and advanced features * * * In the following sections, we provide detailed explanations of each tab's functions and usage. This will enable you to maximize the use of the Secured Finance platform and manage your assets more effectively. [PreviousManaging Positionschevron-left](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions) [NextTradingchevron-right](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide#overview) * [What You'll Learn](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide#what-youll-learn) * [Key Components](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide#key-components) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Managing Positions | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#prerequisites) Prerequisites ------------------------------------------------------------------------------------------------------------------------------ * Active lending or borrowing positions on the Secured Finance platform * A connected wallet * Basic understanding of fixed-rate lending concepts [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#overview) Overview -------------------------------------------------------------------------------------------------------------------- Managing your positions effectively is crucial for maximizing returns and minimizing risks in the Fixed-Rate Lending Protocol. This guide will walk you through the various ways to monitor, adjust, and close your positions, helping you navigate the platform with confidence. [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#step-1-view-your-active-positions) Step 1: View Your Active Positions ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Navigate to the [Secured Finance platformarrow-up-right](https://app.secured.finance/) 2. Connect your wallet if not already connected 3. Go to the "Portfolio" tab to see all your active positions 4. Review your positions, including: * Asset type * Position size * Maturity date * Current value * Profit/loss  Portfolio View [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#step-2-monitor-collateralization-ratio-for-borrowers) Step 2: Monitor Collateralization Ratio (For Borrowers) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- If you have borrowed assets, it's essential to monitor your collateralization ratio: 1. In the Portfolio tab, locate your borrowing positions 2. Check the current collateralization ratio for each position 3. Ensure it stays above the minimum required ratio to avoid liquidation 4. Set up notifications (if available) to alert you when your ratio approaches the minimum threshold [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#step-3-adding-to-existing-positions) Step 3: Adding to Existing Positions --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- To increase an existing position: 1. Navigate to the Trading tab 2. Select the same asset and maturity as your existing position 3. Choose the same position type (Lend or Borrow) 4. Place a new order with the additional amount 5. Confirm the transaction in your wallet  Add to Position [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#step-4-reducing-positions) Step 4: Reducing Positions ------------------------------------------------------------------------------------------------------------------------------------------------------- To partially close a position before maturity: 1. Go to the Portfolio tab 2. Find the position you want to reduce 3. Click the "Unwind" button 4. Select "Partial" unwind option 5. Enter the amount you want to reduce 6. Review the details and confirm the transaction  Reduce Position [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#step-5-unwinding-positions-early-exit) Step 5: Unwinding Positions (Early Exit) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- To completely close a position before maturity: 1. Go to the Portfolio tab 2. Find the position you want to close 3. Click the "Unwind" button 4. Select "Full" unwind option 5. Review the details, including any fees or slippage 6. Confirm the transaction in your wallet circle-info Unwinding positions before maturity may result in different returns than holding until maturity, depending on current market rates. [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#step-6-understanding-auto-rolling) Step 6: Understanding Auto-Rolling ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- Auto-Rolling is a protocol-wide feature that automatically transitions positions to the next maturity period: 1. All positions are subject to Auto-Rolling when they reach maturity 2. The protocol automatically handles the transition to the next maturity period 3. There is no need to manually select or configure Auto-Roll settings 4. Be aware that Auto-Rolling will maintain your exposure to the market circle-info Auto-Rolling is a protocol feature that applies to all positions. You cannot opt out of Auto-Rolling directly, but you can unwind your position before maturity if you wish to exit. [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#step-7-exiting-positions-at-maturity) Step 7: Exiting Positions at Maturity ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- To exit your position when it reaches maturity: 1. You must manually unwind your position before or after maturity 2. Go to the Active Positions tab 3. Find the position you want to exit 4. Click the "Close" button 5. Review the details, including any fees or slippage 6. Confirm the transaction in your wallet circle-exclamation There is no automatic claim system. You must manually unwind your position to exit, which means there is liquidity risk if there are insufficient counterparties in the market. [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#next-steps) Next Steps ------------------------------------------------------------------------------------------------------------------------ After mastering position management, you might want to: * [Explore advanced trading strategies](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics) * [Learn about liquidation mechanics](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation) to better manage risk * [Understand Zero-Coupon Bond tokenization](https://docs.secured.finance/fixed-rate-lending/core-mechanics/tokenization) for additional opportunities [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#troubleshooting) Troubleshooting ---------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#unwind-order-not-executing) Unwind Order Not Executing If your unwind order isn't being executed: * There might be insufficient liquidity in the orderbook * Your unwind price might not be competitive with current market rates * Try using a market unwind instead of a limit unwind for immediate execution ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#position-not-showing-updated-values) Position Not Showing Updated Values If your position values aren't updating: * Refresh the page to get the latest data * Check that your wallet is still connected * Verify that the blockchain network is functioning normally * Contact support if the issue persists [PreviousBorrowing Assetschevron-left](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets) [NextPlatform Guidechevron-right](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide) Last updated 10 months ago * [Prerequisites](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#prerequisites) * [Overview](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#overview) * [Step 1: View Your Active Positions](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#step-1-view-your-active-positions) * [Step 2: Monitor Collateralization Ratio (For Borrowers)](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#step-2-monitor-collateralization-ratio-for-borrowers) * [Step 3: Adding to Existing Positions](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#step-3-adding-to-existing-positions) * [Step 4: Reducing Positions](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#step-4-reducing-positions) * [Step 5: Unwinding Positions (Early Exit)](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#step-5-unwinding-positions-early-exit) * [Step 6: Understanding Auto-Rolling](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#step-6-understanding-auto-rolling) * [Step 7: Exiting Positions at Maturity](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#step-7-exiting-positions-at-maturity) * [Next Steps](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#next-steps) * [Troubleshooting](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#troubleshooting) * [Unwind Order Not Executing](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#unwind-order-not-executing) * [Position Not Showing Updated Values](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions#position-not-showing-updated-values) sun-brightdesktopmoon sun-brightdesktopmoon --- # Monitoring Your Position | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#prerequisites) Prerequisites ---------------------------------------------------------------------------------------------------------------------------------- * An active Trove with FIL collateral * Access to the [USDFC applicationarrow-up-right](https://app.usdfc.net/) * Basic understanding of collateral ratios and liquidation risk [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#overview) Overview ------------------------------------------------------------------------------------------------------------------------ Monitoring your position is essential for maintaining a healthy Trove and avoiding liquidation. This guide will show you how to track your Trove's health, understand key metrics, and set up alerts to stay informed about changes that could affect your position. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#step-1-access-your-trove-dashboard) Step 1: Access Your Trove Dashboard ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The Trove dashboard is your primary tool for monitoring your position. 1. Navigate to the [USDFC applicationarrow-up-right](https://app.usdfc.net/) 2. Connect your wallet if not already connected 3. Go to the "Trove" section on the USDFC Dashboard page 4. Review your current Trove details  Screenshot of the Trove dashboard showing key metrics [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#step-2-understand-key-metrics) Step 2: Understand Key Metrics ------------------------------------------------------------------------------------------------------------------------------------------------------------------- To effectively monitor your position, you need to understand the key metrics displayed on your dashboard. ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#collateral-ratio) Collateral Ratio The collateral ratio is the most important metric to monitor. It represents the value of your collateral relative to your debt. Collateral Ratio\=Collateral Value in USDDebt in USDFC×100%\\text{Collateral Ratio} = \\frac{\\text{Collateral Value in USD}}{\\text{Debt in USDFC}} \\times 100\\%Collateral Ratio\=Debt in USDFCCollateral Value in USD×100% * **Safe Zone**: Above 200% (Conservative) * **Caution Zone**: 150% to 200% (Moderate risk) * **Danger Zone**: 110% to 150% (High risk) * **Liquidation Zone**: Below 110% (Immediate risk) \[Image: Visual representation of collateral ratio zones\] ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#liquidation-price) Liquidation Price The liquidation price is the FIL price at which your Trove would reach the minimum collateral ratio (110%) and become eligible for liquidation. Liquidation Price\=Debt in USDFC×1.1Collateral in FIL\\text{Liquidation Price} = \\frac{\\text{Debt in USDFC} \\times 1.1}{\\text{Collateral in FIL}}Liquidation Price\=Collateral in FILDebt in USDFC×1.1 \[Image: Visualization of liquidation price calculation\] ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#current-fil-price) Current FIL Price The current price of FIL relative to USD is displayed to help you understand how close you are to your liquidation price. ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#available-actions) Available Actions Based on your current metrics, the dashboard may suggest available actions to improve your position's health. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#step-3-set-up-external-alerts) Step 3: Set Up External Alerts ------------------------------------------------------------------------------------------------------------------------------------------------------------------- While the USDFC application doesn't currently offer built-in alerts, you can set up external alerts to monitor your position. ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#price-alerts) Price Alerts Set up price alerts for FIL using cryptocurrency tracking apps or exchanges. 1. Calculate your liquidation price 2. Set an alert for when FIL price approaches this threshold (e.g., 20% above liquidation price) 3. Popular platforms for price alerts include [CoinGeckoarrow-up-right](https://www.coingecko.com/learn/how-to-set-up-the-price-alert-function-on-coingecko) , CoinMarketCap, or exchange apps ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#blockchain-monitoring-tools) Blockchain Monitoring Tools Use blockchain monitoring tools to track your Trove's health. 1. Find your Trove's address or ID 2. Set up monitoring using tools like [Filfoxarrow-up-right](https://filfox.info/en) , Tenderly, or DeFi-specific monitoring platforms 3. Configure alerts for significant changes to your Trove [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#step-4-regular-check-ins) Step 4: Regular Check-ins --------------------------------------------------------------------------------------------------------------------------------------------------------- Establish a routine for checking your Trove's health. ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#daily-checks-high-risk-positions) Daily Checks (High-Risk Positions) If your collateral ratio is close to the minimum (110%-150%): * Check your position at least once daily * Monitor FIL price movements throughout the day * Be prepared to add collateral quickly if needed ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#weekly-checks-moderate-risk-positions) Weekly Checks (Moderate-Risk Positions) If your collateral ratio is in a safer range (150%-200%): * Check your position at least once weekly * Review FIL price trends for the week * Adjust collateral as needed based on market outlook ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#monthly-checks-low-risk-positions) Monthly Checks (Low-Risk Positions) If your collateral ratio is very high (>200%): * Check your position at least once monthly * Evaluate if you're being too conservative with your capital * Consider strategies to optimize your position [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#step-5-respond-to-market-changes) Step 5: Respond to Market Changes ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Develop a plan for responding to different market scenarios. ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#during-fil-price-decreases) During FIL Price Decreases 1. Calculate how much the price can drop before reaching your comfort threshold 2. Prepare additional FIL for collateral if needed 3. Consider reducing your debt by repaying some USDFC ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#during-fil-price-increases) During FIL Price Increases 1. Evaluate if you want to withdraw some collateral 2. Consider minting additional USDFC 3. Rebalance your position to maintain your target collateral ratio \[Image: Flowchart showing decision paths for different market scenarios\] [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#next-steps) Next Steps ---------------------------------------------------------------------------------------------------------------------------- * Learn how to [manage your collateral effectively](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively) * Consider [depositing USDFC into the Stability Pool](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool) to earn rewards * Understand [Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) and how it affects your Trove [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#troubleshooting) Troubleshooting -------------------------------------------------------------------------------------------------------------------------------------- * **Dashboard Not Loading**: Try refreshing the page or reconnecting your wallet * **Metrics Not Updating**: Check if there are pending transactions or network congestion * **Unexpected Collateral Ratio**: Verify the current FIL price from multiple sources [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#common-questions) Common Questions ---------------------------------------------------------------------------------------------------------------------------------------- **Q: How often does the dashboard update?** A: The dashboard updates in real-time based on blockchain data and current price feeds. **Q: Will I receive notifications if my Trove is at risk?** A: The USDFC application doesn't currently send automatic notifications. You should set up external alerts as described above. **Q: What should I do if I can't access the application but know my position is at risk?** A: You can interact with the USDFC protocol directly through the smart contracts if necessary. Keep emergency funds ready to add collateral when needed. **Q: How can I tell if the system is in Recovery Mode?** A: The dashboard will display a prominent notification when the system enters Recovery Mode. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#related-topics) Related Topics ------------------------------------------------------------------------------------------------------------------------------------ * [The Trove System](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) * [Liquidation](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) * [Collateral Ratioarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/usdfc-stablecoin/getting-started/broken-reference/README.md) * [Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) [PreviousManaging Collateral Effectivelychevron-left](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively) [NextUsing the Stability Poolchevron-right](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool) Last updated 9 months ago * [Prerequisites](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#prerequisites) * [Overview](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#overview) * [Step 1: Access Your Trove Dashboard](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#step-1-access-your-trove-dashboard) * [Step 2: Understand Key Metrics](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#step-2-understand-key-metrics) * [Collateral Ratio](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#collateral-ratio) * [Liquidation Price](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#liquidation-price) * [Current FIL Price](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#current-fil-price) * [Available Actions](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#available-actions) * [Step 3: Set Up External Alerts](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#step-3-set-up-external-alerts) * [Price Alerts](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#price-alerts) * [Blockchain Monitoring Tools](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#blockchain-monitoring-tools) * [Step 4: Regular Check-ins](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#step-4-regular-check-ins) * [Daily Checks (High-Risk Positions)](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#daily-checks-high-risk-positions) * [Weekly Checks (Moderate-Risk Positions)](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#weekly-checks-moderate-risk-positions) * [Monthly Checks (Low-Risk Positions)](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#monthly-checks-low-risk-positions) * [Step 5: Respond to Market Changes](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#step-5-respond-to-market-changes) * [During FIL Price Decreases](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#during-fil-price-decreases) * [During FIL Price Increases](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#during-fil-price-increases) * [Next Steps](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#next-steps) * [Troubleshooting](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#troubleshooting) * [Common Questions](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#common-questions) * [Related Topics](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position#related-topics) sun-brightdesktopmoon sun-brightdesktopmoon --- # Order Life Cycle | Secured Finance Docs In this section, we aim to demystify the various stages your order may undergo, providing clarity on your current order status, which is accessible through the 'Order History' tab on our [portfolio page.arrow-up-right](https://app.gitbook.com/o/DralddHerVJQe2eHzg9a/s/5n2yKWdxy0II5Sd3ZIQL/~/changes/105/platform-guide/trading-interface/portfolio) [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-life-cycle#life-cycle-representation-by-order-statuses) Life Cycle Representation by Order Statuses --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- As you embark on your trading journey with us, you initially select an Order Type—either 'Market Order' or 'Limit Order', as detailed in the [preceding section](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type) . As your order progresses, it will assume one of seven distinct states that delineate its current status and actions being undertaken on it.  Order Status Diagram 1. **Open** Exclusive to Limit Order. This state indicates an order is awaiting execution, pending the market price reaching the specified limit. 2. **Partially Filled** Applicable to both Market and Limit Order. Indicates that only a portion of the order has been executed, due to limited liquidity at the desired price. 3. **Filled** Relevant for both Market and Limit Orders, signifying complete execution. Market Orders achieve this state almost immediately at current market prices, while Limit Orders do so once the market price meets the specified limit. 4. **Killed** Specific to Market Orders that have been partially filled. This state indicates that the order cannot proceed to full execution due to **insufficient liquidity**. 5. **Blocked** It pertains solely to market order and arises in exceptional regulatory conditions, such as the activation of [**circuit breakers**arrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/advanced-topics/safety-measures/circuit-breaker/README.md) **.** 6. **Canceled** This state is possible for Limit Order. The trader can cancel the order if it has not yet been executed. 7. **Expired** Specifically for Limit Order, this state is reached when an order remains unfulfilled by the time the underlying bond reaches its maturity in the order book. After an order expires, any funds that were allocated but not used for the trade are returned to your collateral vault. A unique aspect of our order lifecycle is the occurrence of combined states, particularly for orders that still need to be fully executed. These include states such as 'Partially Filled & Cancelled' or 'Partially Filled & Blocked', which serve as final designations for an order. Such combined states are crucial for understanding the nuanced outcomes of your trading actions, indicating that an order has been initiated but not completed due to specific conditions and, subsequently, the action is taken (canceled, blocked, etc.) as a resolution. circle-info For detailed examples, please take a look at the next section. [PreviousOrder Typechevron-left](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type) [NextCase Study: Order Status & Transitionchevron-right](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-life-cycle/case-study-order-status-and-transition) Last updated 1 year ago sun-brightdesktopmoon sun-brightdesktopmoon --- # Overview | Secured Finance Docs [PreviousBug Bountychevron-left](https://docs.secured.finance/developer-portal/bug-bounty) [NextGovernancechevron-right](https://docs.secured.finance/community/governance) Last updated 10 months ago sun-brightdesktopmoon sun-brightdesktopmoon --- # Recovery Mode | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#overview) Overview ------------------------------------------------------------------------------------------------------------- Recovery Mode is a critical safety mechanism in the USDFC Stablecoin Protocol that activates when the Total Collateral Ratio (TCR) falls below 150%. It implements stricter rules for borrowing and liquidation to protect the protocol from systemic under-collateralization and restore stability to the system. circle-exclamation When Recovery Mode is active, Troves with collateral ratios below the current TCR become eligible for liquidation, even if they are above the normal 110% minimum threshold. This creates significant risk for borrowers with lower collateral ratios. [hashtag](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#how-it-works) How It Works --------------------------------------------------------------------------------------------------------------------- Recovery Mode is triggered automatically when the protocol's Total Collateral Ratio (TCR) falls below 150%. During this state, the protocol implements several changes to encourage deleveraging and recapitalization: ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#key-changes-during-recovery-mode) Key Changes During Recovery Mode 1. **Elevated Liquidation Threshold** * Normal Mode: Troves below 110% collateral ratio are eligible for liquidation * Recovery Mode: Troves below the current TCR (which is < 150%) are eligible for liquidation * This means a Trove with 140% collateral ratio could be liquidated if the TCR is 145% 2. **Zero Minting Fee** * The borrowing fee is reduced to 0% to encourage users to add collateral * This makes it more economical to improve collateral ratios by minting additional USDFC 3. **Restricted Borrowing** * New borrowing is only allowed if it improves the TCR * Users can only mint USDFC if they create a new Trove with ≥150% collateral ratio * Existing Trove adjustments are only permitted if they increase the collateral ratio [hashtag](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#key-parameters) Key Parameters ------------------------------------------------------------------------------------------------------------------------- Parameter Normal Mode Recovery Mode Liquidation Threshold 110% Current TCR (< 150%) Minting Fee Base Rate + 0.5% 0% Minimum New Trove CR 110% 150% System Exit Threshold N/A TCR ≥ 150% [hashtag](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#liquidation-behavior-in-recovery-mode) Liquidation Behavior in Recovery Mode ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- Recovery Mode introduces a more complex liquidation process to maximize system stability: Condition Liquidation Behavior ICR ≤ 100% **Redistribute** all debt and collateral (minus gas compensation) to active Troves. 100% < ICR < 110% & SP USDFC > Trove debt USDFC in the Stability Pool equal to the Trove's debt is offset with the Trove's debt. The Trove's FIL collateral (minus gas compensation) is shared between depositors. 100% < ICR < 110% & SP USDFC < Trove debt The total Stability Pool USDFC is offset with an equal amount of debt from the Trove. A fraction of the Trove's collateral (equal to the ratio of its offset debt to its entire debt) is shared between depositors. The remaining debt and collateral (minus gas compensation) is **redistributed** to active Troves. 110% ≤ ICR < TCR & SP USDFC >= Trove debt The Stability Pool USDFC is offset with an equal amount of debt from the Trove. A fraction of FIL collateral with dollar value equal to `1.1 * debt` is shared between depositors. Nothing is redistributed to other active Troves. Since its ICR was `> 1.1`, the Trove has a collateral remainder, which is sent to the `CollSurplusPool` and is claimable by the borrower. The Trove is closed. 110% ≤ ICR < TCR & SP USDFC < Trove debt Do nothing. ICR ≥ TCR Do nothing. Where: * ICR = Individual Collateral Ratio * MCR = Minimum Collateral Ratio (110%) * TCR = Total Collateral Ratio * SP = Stability Pool [hashtag](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#example-scenario) Example Scenario ----------------------------------------------------------------------------------------------------------------------------- 1. **Triggering Recovery Mode** * The TCR falls to 145%, automatically activating Recovery Mode * All Troves with collateral ratios below 145% become eligible for liquidation 2. **System Response** * Minting fees drop to 0% to encourage collateral additions * Borrowers rush to improve their collateral ratios to avoid liquidation * Liquidators target Troves with collateral ratios below 145% 3. **Exiting Recovery Mode** * As users add collateral and repay debt, the TCR gradually improves * Once the TCR exceeds 150%, the system returns to Normal Mode * Regular liquidation thresholds (110%) and minting fees are restored [hashtag](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#risk-management-for-borrowers) Risk Management for Borrowers ------------------------------------------------------------------------------------------------------------------------------------------------------- During Recovery Mode, borrowers should take immediate action to protect their positions: 1. **Add Collateral**: The most direct way to increase your collateral ratio 2. **Repay Debt**: Reducing your debt also improves your collateral ratio 3. **Monitor TCR**: Keep track of the system's TCR to understand your liquidation risk 4. **Maintain Buffer**: Aim for a collateral ratio well above 150% to avoid liquidation risk circle-check **Best Practice**: Maintain a collateral ratio of at least 200% during normal operations to provide a substantial buffer against Recovery Mode liquidations. [hashtag](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#common-questions) Common Questions ----------------------------------------------------------------------------------------------------------------------------- **How long does Recovery Mode typically last?** The duration varies based on market conditions and user behavior. It ends automatically when the TCR returns above 150%. **Will I be notified if Recovery Mode is activated?** The protocol doesn't send direct notifications. You should monitor the protocol's status page or use third-party monitoring tools. **Can I still close my Trove during Recovery Mode?** Yes, you can still close your Trove by repaying all debt, regardless of Recovery Mode status. [Learn more in the FAQs section](https://docs.secured.finance/usdfc-stablecoin/faqs) [hashtag](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#related-topics) Related Topics ------------------------------------------------------------------------------------------------------------------------- * [The Trove System](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) * [Liquidation](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) * [System Overview](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview) [PreviousAdvanced Topicschevron-left](https://docs.secured.finance/usdfc-stablecoin/advanced-topics) [NextContracts and Securitychevron-right](https://docs.secured.finance/usdfc-stablecoin/deployed-contracts) Last updated 10 months ago * [Overview](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#overview) * [How It Works](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#how-it-works) * [Key Changes During Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#key-changes-during-recovery-mode) * [Key Parameters](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#key-parameters) * [Liquidation Behavior in Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#liquidation-behavior-in-recovery-mode) * [Example Scenario](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#example-scenario) * [Risk Management for Borrowers](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#risk-management-for-borrowers) * [Common Questions](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#common-questions) * [Related Topics](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode#related-topics) sun-brightdesktopmoon sun-brightdesktopmoon --- # Campaign | Secured Finance Docs [PreviousPointschevron-left](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/points) [NextCore Mechanicschevron-right](https://docs.secured.finance/fixed-rate-lending/core-mechanics) Last updated 10 months ago sun-brightdesktopmoon sun-brightdesktopmoon --- # Portfolio | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#prerequisites) Prerequisites ------------------------------------------------------------------------------------------------------------------------------------ * A connected wallet * Assets deposited on the platform (for full functionality) * Basic understanding of lending and borrowing concepts [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#overview) Overview -------------------------------------------------------------------------------------------------------------------------- The [**Portfolio tab**arrow-up-right](https://app.secured.finance/portfolio/) on the Secured Finance platform is a comprehensive tool designed to help users effectively manage their digital assets. It provides a detailed overview of your financial position, including key metrics such as Net Asset Value, Active Contracts, Lending Present Value (PV), and Borrowing PV. [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#step-1-accessing-your-portfolio) Step 1: Accessing Your Portfolio ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Navigate to the [Secured Finance platformarrow-up-right](https://app.secured.finance/) 2. Connect your wallet if not already connected 3. Click on the "Portfolio" tab in the main navigation 4. The dashboard will load with your current portfolio information [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#step-2-understanding-your-portfolio-overview) Step 2: Understanding Your Portfolio Overview --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The Portfolio Overview section provides key metrics about your financial position: 1. **Net Asset Value** * View the total value of your digital assets on the platform * This is calculated by adding the value of your active contracts and collateral * Monitor this value to track your overall portfolio performance 2. **Active Contracts** * See all your active lending and borrowing contracts * Review details such as maturity dates, interest rates, and asset amounts * Use this information to plan your financial strategy 3. **Lending PV and Borrowing PV** * Understand the Present Value of your lending and borrowing activities * These metrics show the current worth of your contracts * Compare these values to track your net position  Portfolio Overview [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#step-3-managing-your-assets) Step 3: Managing Your Assets ----------------------------------------------------------------------------------------------------------------------------------------------------------------- The Asset Management section helps you monitor and control your collateral: 1. **Collateral Balance** * Check the total value of assets pledged as collateral * Use this information to ensure your loans are adequately backed * Monitor changes in collateral value due to market fluctuations 2. **Collateral Assets** * View the specific assets you've pledged as collateral * See the distribution of your collateral across different asset types * Manage your collateral portfolio effectively 3. **Non-collateral Assets** * Track borrowed assets held in Secured Finance's Vault * Distinguish between collateral and non-collateral assets * Plan how to utilize these assets effectively [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#step-4-monitoring-risk-metrics) Step 4: Monitoring Risk Metrics ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- Risk management tools help you maintain a healthy portfolio: 1. **Collateral Utilization** * Check the percentage of your collateral being used to back borrowing * Keep this metric at a comfortable level to avoid over-leveraging * Adjust your positions if utilization approaches concerning levels 2. **Liquidation Risk** * Review the risk of your collateral being liquidated * Monitor market conditions that might affect your collateral value * Take proactive measures to avoid liquidation events [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#step-5-tracking-your-transactions) Step 5: Tracking Your Transactions ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The Transactions section provides a comprehensive view of your trading activities: 1. **Active Positions** * Navigate to the "Active Positions" tab * Review your current lending and borrowing positions * Monitor contract details including maturity dates and interest rates 2. **Open Orders** * Click on the "Open Orders" tab * View all your pending orders in the orderbook * Check order details such as price, quantity, and status 3. **Order History** * Access the "Order History" tab * Track your historical trading activity * Analyze your trading strategy and performance over time 4. **My Transactions** * Review the "My Transactions" tab * See a record of all platform transactions * Check transaction types, timestamps, and statuses [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#step-6-taking-action-on-your-portfolio) Step 6: Taking Action on Your Portfolio --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. **Deposit Additional Assets** * Click the "Deposit" button * Select the asset you want to deposit * Enter the amount and confirm the transaction 2. **Withdraw Assets** * Click the "Withdraw" button * Select the asset you want to withdraw * Enter the amount and confirm the transaction 3. **Adjust Collateral** * Use the collateral management tools to optimize your position * Add or remove collateral based on your risk assessment * Ensure you maintain a safe collateralization ratio [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#next-steps) Next Steps ------------------------------------------------------------------------------------------------------------------------------ After mastering the Portfolio management tools, you might want to: * [Place new ordersarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/fixed-rate-lending/getting-started/trading/README.md) to expand your lending or borrowing positions * [Set up auto-rolling](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling) for your positions * [Learn about liquidation mechanics](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation) to better manage risk [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#troubleshooting) Troubleshooting ---------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#portfolio-not-loading) Portfolio Not Loading If your portfolio information isn't loading: * Ensure your wallet is properly connected * Check that you're on the correct network * Try refreshing the page * Clear your browser cache if issues persist ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#transactions-not-appearing) Transactions Not Appearing If recent transactions aren't showing in your history: * Transactions may take a few moments to appear * Verify the transaction was confirmed on the blockchain * Check that you're viewing the correct account * Try switching networks and back if using a multi-chain wallet ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#collateral-value-discrepancies) Collateral Value Discrepancies If you notice unexpected changes in collateral value: * Check for recent market price fluctuations * Verify that all assets are displaying correctly * Ensure there are no pending transactions affecting your balance * Contact support if you believe there's an error in the calculation [PreviousMarketschevron-left](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets) [NextBridgechevron-right](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge) Last updated 10 months ago * [Prerequisites](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#prerequisites) * [Overview](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#overview) * [Step 1: Accessing Your Portfolio](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#step-1-accessing-your-portfolio) * [Step 2: Understanding Your Portfolio Overview](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#step-2-understanding-your-portfolio-overview) * [Step 3: Managing Your Assets](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#step-3-managing-your-assets) * [Step 4: Monitoring Risk Metrics](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#step-4-monitoring-risk-metrics) * [Step 5: Tracking Your Transactions](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#step-5-tracking-your-transactions) * [Step 6: Taking Action on Your Portfolio](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#step-6-taking-action-on-your-portfolio) * [Next Steps](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#next-steps) * [Troubleshooting](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#troubleshooting) * [Portfolio Not Loading](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#portfolio-not-loading) * [Transactions Not Appearing](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#transactions-not-appearing) * [Collateral Value Discrepancies](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio#collateral-value-discrepancies) sun-brightdesktopmoon sun-brightdesktopmoon --- # Collateralization | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#overview) Overview ------------------------------------------------------------------------------------------------------------------ Collateralization is a fundamental mechanism in the Fixed-Rate Lending Protocol that ensures the security and stability of the lending system. By requiring borrowers to deposit assets as collateral, the protocol protects lenders from default risk while enabling borrowers to access liquidity without traditional credit checks. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#how-it-works) How It Works -------------------------------------------------------------------------------------------------------------------------- The collateralization process in the Fixed-Rate Lending Protocol involves users depositing supported assets as collateral before borrowing or trading. The protocol continuously monitors the value of collateral against outstanding loans using real-time price feeds. If the collateralization ratio falls below the required threshold, the position becomes eligible for liquidation to protect the system's solvency. Each collateral type has specific parameters including minimum collateralization ratios, liquidation thresholds, and accepted currencies. The protocol supports multi-collateral positions, allowing users to diversify their risk across different assets. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#key-parameters) Key Parameters ------------------------------------------------------------------------------------------------------------------------------ Parameter Description Value Minimum Collateralization Ratio The minimum ratio of collateral value to loan value required 110%-150% (varies by asset) Liquidation Threshold The collateralization ratio at which a position becomes eligible for liquidation Varies by asset Collateral Factor The percentage of an asset's value that can be borrowed against 50%-90% (varies by asset) Price Feed Update Frequency How often collateral values are updated from oracles Real-time Supported Collateral Types Assets accepted as collateral WBTC, ETH, USDC, FIL, iFIL, pFIL, USDFC (varies by network) [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#what-is-collateral) What is Collateral? --------------------------------------------------------------------------------------------------------------------------------------- Collateral is an asset that borrowers pledge to back a loan. It acts as a safety net for lenders, giving them the assurance that borrowers have a strong reason to repay their loans. If a borrower defaults, the lender can seize the collateral to recover the outstanding loan amount. Collateral can take various forms, such as real estate, vehicles, or other valuable assets, but it's a cornerstone of secured loans. It often allows borrowers to enjoy lower interest rates due to reduced lender risk. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#the-dual-role-of-collateral-in-secured-finance) The Dual Role of Collateral in Secured Finance Collateral serves two main purposes in Secured Finance: 1. **Risk Reduction:** It reduces the risk of loan default. If a borrower's Loan-to-Value (LTV) ratio crosses a certain threshold, or if the collateral's value falls below the loan's required value, the loan becomes eligible for liquidation. This mechanism protects lenders and builds confidence in our platform. 2. **Inclusivity:** It eliminates the need for traditional credit checks, aligning with the DeFi ethos of open and inclusive financial services. * * * [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#collateral-currencies) Collateral Currencies -------------------------------------------------------------------------------------------------------------------------------------------- Secured Finance accepts various cryptocurrencies as collateral, tailored to each supported blockchain network to provide users with effective and flexible options. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#collateral-currencies-on-ethereum-and-arbitrum) Collateral Currencies on Ethereum and Arbitrum We continue to support these collateral assets on **Ethereum** and **Arbitrum**: #### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#wrapped-bitcoin-wbtc) **Wrapped Bitcoin (WBTC)** Represents Bitcoin on Ethereum, allowing BTC holders to tap into Ethereum’s DeFi ecosystem. #### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#ethereum-eth) **Ethereum (ETH)** Native asset of the Ethereum network, widely used for smart contracts and DeFi applications. #### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#usd-coin-usdc) **USD Coin (USDC)** A stablecoin pegged to the US dollar, offering minimal volatility. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#collateral-currencies-on-filecoin-virtual-machine-fvm) Collateral Currencies on Filecoin Virtual Machine (FVM) With the launch of the Filecoin Virtual Machine (FVM), Secured Finance now supports different collateral assets unique to this network: #### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#filecoin-fil) **Filecoin (FIL)** Filecoin is the native cryptocurrency of the Filecoin network, a decentralized storage system aiming to "store humanity's most important information." FIL is used to pay for storage services and incentivize network participants. It can now be used as collateral on Secured Finance within the FVM network. #### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#usd-for-filecoin-community-usdfc) USD for Filecoin Community (USDFC) [**USDFC**](https://docs.secured.finance/usdfc-stablecoin/overview) is a FIL-backed stablecoin minted through a **Collateralized Debt Position (CDP)** approach on the Filecoin Virtual Machine (FVM). By locking FIL as collateral, users can generate USDFC—maintaining a **1:1 peg** to the U.S. dollar—without selling their underlying assets. #### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#ifil-and-pfil-filecoin-liquid-staking-token) **iFIL and pFIL (Filecoin Liquid Staking Token)** iFIL and pFIL are a liquid staking token for Filecoin. It represents staked FIL tokens and provides liquidity to users who stake their FIL. For example, by staking FIL through the [GLIFarrow-up-right](https://glif.io/) platform, users receive iFIL tokens, which can be used as collateral on Secured Finance within the FVM network. circle-check **How to Obtain iFIL** To acquire iFIL tokens, follow these steps: 1. **Stake FIL on GLIF**: Visit the GLIF Staking Platform and stake your FIL tokens. 2. **Receive iFIL**: After staking, you will receive an equivalent amount of iFIL tokens. 3. **Use iFIL as Collateral**: Deposit your iFIL tokens into your Secured Finance portfolio on the FVM network to use them as collateral. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#examples) Examples ------------------------------------------------------------------------------------------------------------------ ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#example-1-borrowing-with-eth-collateral) Example 1: Borrowing with ETH Collateral A user wants to borrow 1,000 USDC on Ethereum. They would: 1. Deposit 1 ETH as collateral (assuming ETH price is $2,000) 2. This gives them a collateralization ratio of 200% (2,000 / 1,000 × 100%) 3. They can now borrow up to 1,000 USDC while maintaining a safe position 4. If ETH price drops below $1,500, their position would be at risk of liquidation ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#example-2-using-ifil-as-collateral-on-fvm) Example 2: Using iFIL as Collateral on FVM A storage provider has 1,000 FIL they want to earn yield on while also accessing liquidity: 1. They stake their 1,000 FIL on GLIF to receive 1,000 iFIL 2. They deposit the 1,000 iFIL as collateral on Secured Finance 3. They can now borrow USDFC while their original FIL continues earning staking rewards 4. This creates a dual yield opportunity: staking rewards plus potential trading gains [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#common-questions) Common Questions ---------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#what-happens-if-my-collateral-value-drops) What happens if my collateral value drops? If your collateral value drops below the required threshold for your loan, your position becomes eligible for liquidation. The protocol will automatically liquidate a portion of your collateral to repay part of your debt and bring your position back to a safe level. To avoid liquidation, you can either add more collateral or repay part of your loan. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#can-i-use-multiple-types-of-collateral-for-a-single-loan) Can I use multiple types of collateral for a single loan? Yes, Secured Finance supports multi-collateral positions. You can deposit different types of accepted collateral assets to back your loan, which can help diversify your risk exposure to any single asset's price volatility. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#how-often-is-my-collateral-value-updated) How often is my collateral value updated? Collateral values are updated in real-time using oracle price feeds. This ensures that your position's health is always calculated based on the most current market prices. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#what-are-the-minimum-collateral-requirements) What are the minimum collateral requirements? Minimum collateral requirements vary by asset type and network. Generally, the protocol requires a minimum collateralization ratio of 110%-150% depending on the volatility and liquidity of the collateral asset. Specific requirements for each asset are displayed in the platform interface. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#future-plans-expanding-collateral-options) Future Plans: Expanding Collateral Options ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- While WBTC, ETH, USDC, FIL, iFIL, pFIL, and USDFC are our current collateral options across supported networks, we continue to explore additional assets that align with our commitment to flexibility, security, and open DeFi principles. Stay tuned for updates on new collateral integrations and chain support as we further evolve the Secured Finance platform. circle-exclamation We are **sunsetting support** for Avalanche and Polygon zkEVM. Collateral options for those networks will no longer be active on Secured Finance Fixed Rate Lending Protocol. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#related-resources) Related Resources ------------------------------------------------------------------------------------------------------------------------------------ * [Liquidation](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation) * [Order Book System](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system) * [Safety Measures](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures) [PreviousFixed Maturitychevron-left](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity) [NextTokenizationchevron-right](https://docs.secured.finance/fixed-rate-lending/core-mechanics/tokenization) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#overview) * [How It Works](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#how-it-works) * [Key Parameters](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#key-parameters) * [What is Collateral?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#what-is-collateral) * [The Dual Role of Collateral in Secured Finance](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#the-dual-role-of-collateral-in-secured-finance) * [Collateral Currencies](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#collateral-currencies) * [Collateral Currencies on Ethereum and Arbitrum](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#collateral-currencies-on-ethereum-and-arbitrum) * [Collateral Currencies on Filecoin Virtual Machine (FVM)](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#collateral-currencies-on-filecoin-virtual-machine-fvm) * [Examples](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#examples) * [Example 1: Borrowing with ETH Collateral](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#example-1-borrowing-with-eth-collateral) * [Example 2: Using iFIL as Collateral on FVM](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#example-2-using-ifil-as-collateral-on-fvm) * [Common Questions](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#common-questions) * [What happens if my collateral value drops?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#what-happens-if-my-collateral-value-drops) * [Can I use multiple types of collateral for a single loan?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#can-i-use-multiple-types-of-collateral-for-a-single-loan) * [How often is my collateral value updated?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#how-often-is-my-collateral-value-updated) * [What are the minimum collateral requirements?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#what-are-the-minimum-collateral-requirements) * [Future Plans: Expanding Collateral Options](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#future-plans-expanding-collateral-options) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Protocol Fees | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#overview) Overview ------------------------------------------------------------------------------------------------------------ The USDFC Stablecoin Protocol implements a fee structure that ensures its long-term sustainability while maintaining user-friendly economics. All fees collected are directed to the Fee Reserve, which will eventually be distributed to Secured Finance Token Stakers following the Token Generation Event (TGE). [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#how-it-works) How It Works -------------------------------------------------------------------------------------------------------------------- The Fee Reserve is a dedicated pool where protocol fees are collected and stored. These accumulated fees are crucial for the protocol's sustainability and will eventually be distributed to the Secured Finance Token Stakers following the Token Generation Event (TGE). The Fee Reserve is funded through various fees generated by user interactions with the protocol: 1. **Minting Fee**: Charged when users mint USDFC by depositing collateral 2. **Redemption Fee**: Applied when users redeem USDFC for Filecoin (FIL) at face value 3. **Interest Fee**: Currently set to 0%, but may be adjusted in the future [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#key-parameters) Key Parameters ------------------------------------------------------------------------------------------------------------------------ Fee Type Calculation Current Range Destination Minting Fee (Base Rate + 0.5%) × Minted USDFC 0.5% to 5% Fee Reserve Redemption Fee (Base Rate + 0.5%) × Redeemed USDFC 0.5% to 5% Fee Reserve Interest Fee 0% 0% N/A [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#fee-structure-details) Fee Structure Details -------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#id-1.-minting-fee) 1\. Minting Fee * The **Minting Fee** is charged whenever users mint **USDFC** by depositing collateral * The fee is calculated as **(**[**Base Rate**](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow) **\+ 0.5%)** applied to the minted amount of USDFC * This fee is directed entirely to the Fee Reserve, ensuring that every minting transaction supports the protocol's sustainability * During Recovery Mode, the Minting Fee is set to 0% to encourage users to add collateral ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#id-2.-redemption-fee) 2\. Redemption Fee * The **Redemption Fee** is applied when users redeem USDFC for **Filecoin (FIL)** at face value * This fee incentivizes stability within the protocol and provides a mechanism to bring USDFC back to its 1:1 USD peg when necessary * The Redemption Fee is calculated as **(Base Rate + 0.5%)** of the redeemed USDFC amount * Like the Minting Fee, all proceeds from the Redemption Fee are added to the Fee Reserve ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#id-3.-interest-fee) 3\. Interest Fee * **Interest Fee** is currently set to **0%** * This means that borrowers do not incur any recurring interest costs on their debt, encouraging wider adoption and utility of USDFC * The zero-interest model is strategic, aiming to boost the initial circulation of USDFC within the Filecoin ecosystem * This parameter may be reconsidered in the future based on market conditions [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#post-tge-distribution) Post-TGE Distribution -------------------------------------------------------------------------------------------------------------------------------------- After the **Token Generation Event (TGE)**, the Fee Reserve will be redistributed back to the Secured Finance Token Stakers as a reward. This model aligns incentives, rewarding early supporters and active participants while maintaining the protocol's stability. [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#common-questions) Common Questions ---------------------------------------------------------------------------------------------------------------------------- **Why is there no ongoing interest fee?** The current 0% interest model is designed to encourage adoption and usage of USDFC in the early stages of the protocol. This may change in the future as the protocol matures. **How does the Base Rate affect fees?** The Base Rate is a dynamic component that increases with redemption activity and decays over time. It ensures that fees adjust based on market conditions and protocol usage. **When will the Fee Reserve be distributed?** The Fee Reserve will be distributed to Secured Finance Token Stakers after the Token Generation Event (TGE). The exact timing and distribution mechanism will be announced closer to the TGE. [Learn more in the FAQs section](https://docs.secured.finance/usdfc-stablecoin/faqs) [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#related-topics) Related Topics ------------------------------------------------------------------------------------------------------------------------ * [Mint & Borrow](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow) * [Redemption](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption) * [The Trove System](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) [PreviousRedemptionchevron-left](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption) [NextAdvanced Topicschevron-right](https://docs.secured.finance/usdfc-stablecoin/advanced-topics) Last updated 7 months ago * [Overview](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#overview) * [How It Works](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#how-it-works) * [Key Parameters](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#key-parameters) * [Fee Structure Details](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#fee-structure-details) * [1\. Minting Fee](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#id-1.-minting-fee) * [2\. Redemption Fee](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#id-2.-redemption-fee) * [3\. Interest Fee](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#id-3.-interest-fee) * [Post-TGE Distribution](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#post-tge-distribution) * [Common Questions](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#common-questions) * [Related Topics](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees#related-topics) sun-brightdesktopmoon sun-brightdesktopmoon --- # Privacy Policy | Secured Finance Docs file-pdf 86KB [Secured Finance - Privacy Policy.pdf](https://2995566130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5n2yKWdxy0II5Sd3ZIQL%2Fuploads%2F9M87zgAjXJbVHthuG7Hs%2FSecured%20Finance%20-%20Privacy%20Policy.pdf?alt=media&token=bad02e8c-efc7-4785-a261-a2f772ee873d) PDF downloadDownload[arrow-up-right-from-squareOpen](https://2995566130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5n2yKWdxy0II5Sd3ZIQL%2Fuploads%2F9M87zgAjXJbVHthuG7Hs%2FSecured%20Finance%20-%20Privacy%20Policy.pdf?alt=media&token=bad02e8c-efc7-4785-a261-a2f772ee873d) [PreviousTerms of Usechevron-left](https://docs.secured.finance/resources/legal/terms-of-use) Last updated 4 months ago sun-brightdesktopmoon sun-brightdesktopmoon --- # Order Type | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#overview) Overview ----------------------------------------------------------------------------------------------------------------------------- Secured Finance's Loan Market Platform supports two primary types of orders: limit orders and market orders. These order types provide users with flexibility and control over their trading strategies in the Fixed-Rate Lending Protocol. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#how-it-works) How It Works ------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#limit-orders) Limit Orders A limit order is an order to buy or sell a zero-coupon bond at a specific price or better. This type of order allows users to specify the maximum price at which they are willing to buy or the minimum price at which they are willing to sell. If the market doesn't reach these prices, the limit order will not be executed. If the market already exists at executable prices (**overlapping limit orders**), such orders will be executed immediately, and non-overlapping orders will remain as open. This ensures that users can control the price points at which they enter or exit their positions. By placing limit orders, users effectively act as market makers, contributing to the liquidity and depth of the market. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#market-orders) Market Orders A market order is an order to buy or sell a zero-coupon bond immediately at the best available current price. Market orders are typically executed quickly unless the market is exceptionally volatile. While market orders do not guarantee a specific price, they ensure the order will be executed. By placing market orders, users effectively act as market takers, accepting the prices currently offered in the market without contributing to the liquidity. By offering these two types of orders, Secured Finance's Loan Market Platform caters to both users who prioritize price control (limit orders) and those who prioritize quick execution (market orders). [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#key-parameters) Key Parameters ----------------------------------------------------------------------------------------------------------------------------------------- Parameter Description Value Order Types Types of orders supported by the platform Limit, Market Limit Order Execution When limit orders are executed When market price reaches or exceeds the limit price Market Order Execution When market orders are executed Immediately at best available price Order Sides Sides of the orderbook Borrow (Sell), Lend (Buy) Maker/Taker Role Role of users based on order type Limit orders = Makers, Market orders = Takers [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#examples) Examples ----------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#example-1-using-a-limit-order-to-lend) Example 1: Using a Limit Order to Lend A user wants to lend 2,000 USDC for 6 months at a minimum 4% APR: 1. They navigate to the lending interface and select the 6-month maturity market 2. For a 4% APR on a 6-month term, they calculate the price as approximately 98.04 (calculated as: 100 / (1 + 0.04 × 0.5) = 98.04) 3. They place a limit order to buy Zero-Coupon bonds at 98.04 4. The order remains in the orderbook until: * A borrower places a market order that matches with this order * A borrower places a limit order at 98.04 or lower that matches with this order * The user cancels the order 5. If the order is filled, the user pays 1,960.8 USDC (2,000 × 98.04 / 100) 6. At maturity, they receive 2,000 USDC, earning 39.2 USDC in interest ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#example-2-using-a-market-order-to-borrow) Example 2: Using a Market Order to Borrow A borrower needs 5,000 USDC immediately and doesn't want to wait for a limit order to be filled: 1. After depositing sufficient collateral, they navigate to the borrowing interface 2. They select the 3-month maturity market 3. They choose to place a market order to sell Zero-Coupon bonds 4. The current best lending offer in the orderbook is at 99.00 5. Their market order is immediately matched with this offer 6. They receive 4,950 USDC upfront (5,000 × 99.00 / 100) 7. At maturity, they will need to repay 5,000 USDC 8. The effective interest paid is 50 USDC on a loan of 4,950 USDC for 3 months [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#common-questions) Common Questions --------------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#when-should-i-use-a-limit-order-versus-a-market-order) When should I use a limit order versus a market order? Use a limit order when: * You want to specify the exact price/rate for your transaction * You're willing to wait for your order to be filled * You want to contribute to market liquidity and potentially earn better rates * You want protection against price slippage in volatile markets Use a market order when: * You need immediate execution * You prioritize speed over getting the best possible rate * You're satisfied with the current market rates * You need funds quickly and can't wait for a limit order to fill ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#what-happens-if-theres-not-enough-liquidity-to-fill-my-market-order) What happens if there's not enough liquidity to fill my market order? If there's insufficient liquidity to fill your entire market order, the order will be partially filled up to the available liquidity at the best available prices. The unfilled portion will remain as an open market order until more liquidity becomes available or you cancel it. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#can-i-modify-my-limit-order-after-placing-it) Can I modify my limit order after placing it? No, you cannot modify an existing limit order. If you want to change the price or amount, you'll need to cancel your existing order and place a new one with the updated parameters. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#do-limit-orders-expire) Do limit orders expire? By default, limit orders do not expire and will remain in the orderbook until they are either filled or canceled. However, when placing a limit order, you have the option to set an expiration time, after which the order will be automatically canceled if not filled. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#what-fees-are-associated-with-limit-versus-market-orders) What fees are associated with limit versus market orders? Both limit and market orders incur protocol fees, but the fee structure may differ: * Limit orders (makers): Generally have lower fees as they provide liquidity to the market * Market orders (takers): Generally have higher fees as they consume liquidity from the market The exact fee structure is subject to change based on protocol governance decisions. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#related-resources) Related Resources ----------------------------------------------------------------------------------------------------------------------------------------------- * [Orderbook Mechanicsarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/fixed-rate-lending/core-mechanics/order-book-system.md) * [Order Life Cycle](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-life-cycle/case-study-order-status-and-transition) * [Zero-Coupon Bonds](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/zero-coupon-bonds) * [Fixed Maturity](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity) [PreviousOrder Book Systemchevron-left](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system) [NextOrder Life Cyclechevron-right](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-life-cycle) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#overview) * [How It Works](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#how-it-works) * [Limit Orders](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#limit-orders) * [Market Orders](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#market-orders) * [Key Parameters](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#key-parameters) * [Examples](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#examples) * [Example 1: Using a Limit Order to Lend](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#example-1-using-a-limit-order-to-lend) * [Example 2: Using a Market Order to Borrow](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#example-2-using-a-market-order-to-borrow) * [Common Questions](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#common-questions) * [When should I use a limit order versus a market order?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#when-should-i-use-a-limit-order-versus-a-market-order) * [What happens if there's not enough liquidity to fill my market order?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#what-happens-if-theres-not-enough-liquidity-to-fill-my-market-order) * [Can I modify my limit order after placing it?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#can-i-modify-my-limit-order-after-placing-it) * [Do limit orders expire?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#do-limit-orders-expire) * [What fees are associated with limit versus market orders?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#what-fees-are-associated-with-limit-versus-market-orders) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Contracts and Security | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/deployed-contracts#contract-addresses) Contract Addresses ------------------------------------------------------------------------------------------------------------------------ The latest version of [`@secured-finance/contracts`arrow-up-right](https://github.com/Secured-Finance/contracts) is deployed at the addresses listed below. Contract Mainnet, Arbitrum One, Filecoin Address Sepolia Arbitrum Sepolia [BeaconProxyControllerarrow-up-right](https://github.com/Secured-Finance/contracts/blob/develop/contracts/protocol/BeaconProxyController.sol) 0x581e463841bD2B30285929448e1A93D74708719F 0xaa38CeF2FBa6F54Ce1cCe9De7035abCEfE4657a0 0x7c221f83b09cA6cA6f89405F4010B307c0B55595 [CurrencyControllerarrow-up-right](https://github.com/Secured-Finance/contracts/blob/develop/contracts/protocol/CurrencyController.sol) 0x7dca6b6BF30cd28ADe83e86e21e82e3F852bF2DC 0x5b82FA84e455F7Ba27Def020F18Dc379AB701f97 0xe36a7122940d0f530c8857dF37dBaAb2d7D17fC3 [GenesisValueVaultarrow-up-right](https://github.com/Secured-Finance/contracts/blob/develop/contracts/protocol/GenesisValueVault.sol) 0xa2700D5feDB13b86Bba3228008C7a0d464a07f2b 0x89fF7044d93bA01b6cEE2eBA09D0f793A8533704 0x087b6E8728C39D298F39d22E1Ceb95E8d0e72B3F [LendingMarketControllerarrow-up-right](https://github.com/Secured-Finance/contracts/blob/develop/contracts/protocol/LendingMarketController.sol) 0x35e9D8e0223A75E51a67aa731127C91Ea0779Fe2 0x66aCc8c1314797fDba0b63676C8Aa367D3821C8C 0xc81ec45EDb30b755f66D050AdEB77cC85522e794 [ProxyControllerarrow-up-right](https://github.com/Secured-Finance/contracts/blob/develop/contracts/protocol/ProxyController.sol) 0x1634D2104B48299DA7D927C4582EA7Ba67020EBB 0xE453FfcA365a46eaf5b3D5752b5Dc87Fc6986cd8 0xE9bDa3831905ABB5f2Ba50D6A23Bf22e5f539E00 [ReserveFundarrow-up-right](https://github.com/Secured-Finance/contracts/blob/develop/contracts/protocol/ReserveFund.sol) 0xD2683E22331B9a6e9F38350d829dBEB64ad2778e 0x4f856edE4846f1dC6A2cD4a452b3E704C61f1134 0x20b24b5A5e45bB27e36B95E1578b13975db19b52 [TokenVaultarrow-up-right](https://github.com/Secured-Finance/contracts/blob/develop/contracts/protocol/TokenVault.sol) 0xB74749b2213916b1dA3b869E41c7c57f1db69393 0x4E01afFD15C58221faC3F77649a483531fF13646 0xB61ec7d5bE3bEdc038bd5f4E32e870B83F725F37 [hashtag](https://docs.secured.finance/fixed-rate-lending/deployed-contracts#audit-reports) Audit Reports -------------------------------------------------------------------------------------------------------------- Auditor Date Report Quantstamp 2023/10/16 - 2023/11/30 [2023-11-Quantstamp.pdfarrow-up-right](https://github.com/Secured-Finance/contracts/blob/develop/audits/2023-11-Quantstamp.pdf) Quantstamp 2024/3/4 - 2024/3/26 [2024-03-Quantstamp.pdfarrow-up-right](https://github.com/Secured-Finance/contracts/blob/develop/audits/2024-03-Quantstamp.pdf) [PreviousCompound Factorchevron-left](https://docs.secured.finance/fixed-rate-lending/advanced-topics/orderbook-deep-dive/compound-factor) [NextFAQschevron-right](https://docs.secured.finance/fixed-rate-lending/faqs) Last updated 1 month ago * [Contract Addresses](https://docs.secured.finance/fixed-rate-lending/deployed-contracts#contract-addresses) * [Audit Reports](https://docs.secured.finance/fixed-rate-lending/deployed-contracts#audit-reports) sun-brightdesktopmoon sun-brightdesktopmoon --- # Markets | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#prerequisites) Prerequisites ---------------------------------------------------------------------------------------------------------------------------------- * A basic understanding of fixed-rate lending concepts * Access to the Secured Finance platform * Familiarity with yield curves and interest rates (helpful but not required) [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#overview) Overview ------------------------------------------------------------------------------------------------------------------------ The [**Markets Tab**arrow-up-right](https://app.secured.finance/dashboard/) is your central hub for interacting with the Secured Finance trading platform. It provides a comprehensive overview of key metrics and functionalities, enabling you to make informed decisions and manage your assets effectively. The dashboard displays real-time data across different blockchain networks, offering insights into the status of each chain and the yield curves for various digital assets. [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#step-1-accessing-the-markets-dashboard) Step 1: Accessing the Markets Dashboard ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Navigate to the [Secured Finance platformarrow-up-right](https://app.secured.finance/) 2. Click on the "Markets" tab in the main navigation 3. The dashboard will load with the latest market data 4. No wallet connection is required to view market data [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#step-2-understanding-key-metrics) Step 2: Understanding Key Metrics ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The Markets Dashboard displays several important metrics: 1. **Digital Assets** * View the total number of different digital assets currently being traded * See which assets are available on each supported blockchain 2. **Total Value Locked (TVL)** * Monitor the total value of all assets locked in the protocol * Track TVL changes over time to gauge platform growth 3. **Total Trading Volume** * See the cumulative trading volume across all markets * Filter by time period (24h, 7d, 30d) to analyze trends 4. **Total Users** * View the number of active users engaging with the platform * Understand the platform's adoption rate  Markets Dashboard [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#step-3-exploring-yield-curves) Step 3: Exploring Yield Curves ------------------------------------------------------------------------------------------------------------------------------------------------------------------- The Yield Curve section is a powerful tool for market analysis: 1. Select the asset you want to analyze from the dropdown menu 2. The chart will display interest rates across different maturities 3. Compare yield curves for multiple assets by selecting additional options 4. Use the time period selector to view historical yield curve data [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#step-4-analyzing-market-opportunities) Step 4: Analyzing Market Opportunities ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Look for steep yield curves, which may indicate good lending opportunities 2. Identify flat or inverted yield curves, which might signal market uncertainty 3. Compare rates across different assets to find the best opportunities 4. Use the data to inform your lending and borrowing decisions [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#step-5-taking-action-based-on-market-data) Step 5: Taking Action Based on Market Data ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Click on any asset to view detailed market information 2. Use the "Trade" button to navigate directly to the trading interface for that asset 3. Set up alerts (if available) for significant yield curve changes 4. Regularly check the Markets tab to stay informed about market conditions [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#next-steps) Next Steps ---------------------------------------------------------------------------------------------------------------------------- After exploring the Markets dashboard, you might want to: * [Start lending assetsarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/fixed-rate-lending/lending-assets.md) based on the yield opportunities you've identified * [Borrow assetsarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/fixed-rate-lending/borrowing-assets.md) at favorable rates * [Learn about auto-rollingarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/advanced-topics/market-dynamics/auto-rolling/README.md) to optimize your lending strategy * [Explore the trading interfacearrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/fixed-rate-lending/getting-started/trading/README.md) to place orders [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#troubleshooting) Troubleshooting -------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#data-not-loading) Data Not Loading If the dashboard data isn't loading: * Check your internet connection * Try refreshing the page * Clear your browser cache * Try accessing the platform from a different browser ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#yield-curve-not-displaying) Yield Curve Not Displaying If the yield curve chart isn't displaying: * Ensure JavaScript is enabled in your browser * Check if you have any browser extensions that might be blocking the chart * Try selecting a different asset or time period * Refresh the page and try again ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#understanding-market-terminology) Understanding Market Terminology If you're having trouble understanding market terms: * Hover over information icons (ℹ️) for tooltip explanations * Refer to our [FAQsarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/faqs.md) for common questions * Check our [educational resourcesarrow-up-right](https://blog.secured.finance/) for detailed explanations [PreviousSupported Currencieschevron-left](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading/supported-currencies) [NextPortfoliochevron-right](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio) Last updated 10 months ago * [Prerequisites](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#prerequisites) * [Overview](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#overview) * [Step 1: Accessing the Markets Dashboard](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#step-1-accessing-the-markets-dashboard) * [Step 2: Understanding Key Metrics](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#step-2-understanding-key-metrics) * [Step 3: Exploring Yield Curves](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#step-3-exploring-yield-curves) * [Step 4: Analyzing Market Opportunities](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#step-4-analyzing-market-opportunities) * [Step 5: Taking Action Based on Market Data](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#step-5-taking-action-based-on-market-data) * [Next Steps](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#next-steps) * [Troubleshooting](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#troubleshooting) * [Data Not Loading](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#data-not-loading) * [Yield Curve Not Displaying](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#yield-curve-not-displaying) * [Understanding Market Terminology](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets#understanding-market-terminology) sun-brightdesktopmoon sun-brightdesktopmoon --- # Mint & Borrow | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#overview) Overview -------------------------------------------------------------------------------------------------------------- Mint & Borrow is the core function of the USDFC Stablecoin Protocol that allows users to deposit Filecoin (FIL) as collateral and mint USDFC stablecoins. This mechanism provides liquidity without selling your FIL, maintaining exposure to potential FIL price appreciation while accessing dollar-denominated value. circle-check **Why Mint & Borrow USDFC?** * Get instant and ample $ liquidity without selling FIL * No need for counterparties or external exchanges * Keep FIL securely in a trove while enhancing capital efficiency [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#how-it-works) How It Works ---------------------------------------------------------------------------------------------------------------------- To use USDFC, you first open a trove to manage your FIL collateral and USDFC debt, maintaining a **minimum collateralization ratio (MCR) of 110%** to avoid [liquidation](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) . This ensures the safety and stability of the system. The process involves the following steps: 1. **Deposit FIL as Collateral** * Prepare FIL in your wallet to cover the USDFC debt (borrowed amount + mint fees) * Open a trove and input a FIL amount to deposit as collateral * Input USDFC amount you want to borrow (after minted inside your trove) * You must maintain at least a 110% collateral ratio 2. **Mint USDFC** * Once the FIL amount and USDFC amount is set, check that the minting costs are added as total debt, then you can click confirm * Your connected wallet (ex. MetaMask) asks you to send a transaction * Once the USDFC amount is minted, you can see your borrowed amount in the app * Import the USDFC contract [address](https://docs.secured.finance/usdfc-stablecoin/deployed-contracts#contract-addresses) to your wallet so you can use it anywhere 3. **Maintain Collateral Ratio** * The minimum collateralization ratio (MCR) is set to 110% * For instance, if you deposit 1,000 USD worth of FIL, you can mint up to 909 USDFC, keeping a 110% collateral ratio * It's crucial to monitor your collateral ratio to avoid liquidation. If the collateral value drops, consider adding more FIL or repaying some USDFC to maintain a healthy buffer 4. **Adjust or Close** * You can make adjustments on your trove to manage FIL collateral and USDFC debt * Adjustment is used to add/reduce collateral, or borrow/repay USDFC * If you no longer need the trove, you can close it by repaying debts (borrowed + fees) in USDFC * You don't need to repay the liquidation reserve 5. **3rd Party Trove Adjustment (Liquidation & Redemption)** * You should be aware that your trove can be adjusted by special conditions below * To protect the system, anyone can liquidate your collateral using USDFC stability pool for the trove below 110% collateral ratio * To ensure 1:1 peg, anyone can bring USDFC and redeem FIL collateral for the trove with the lowest collateral ratio [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#key-parameters) Key Parameters -------------------------------------------------------------------------------------------------------------------------- Parameter Description Default Value Minimum Collateral Ratio Minimum required ratio of collateral to debt 110% Minimum Borrow Amount Minimum USDFC that can be borrowed 180 USDFC Liquidation Reserve USDFC reserved for potential liquidation gas costs 20 USDFC Minting Fee One-time fee charged when minting USDFC 0.5% to 5% Interest Rate Ongoing interest charged on borrowed USDFC 0% (currently) circle-exclamation The system requires a minimum borrowed amount of 180 USDFC and reserves an additional 20 USDFC as long as trove exists. It creates limitations on all trove activities. circle-exclamation When you want to close your trove completely, you should repay borrowed amount + minting fees in USDFC. [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#minting-costs) Minting Costs ------------------------------------------------------------------------------------------------------------------------ When you mint USDFC, the following costs apply: Minting Fee\=Liquidation Reserve+One-Time Minting Fee\\text{Minting Fee} = \\text{Liquidation Reserve} + \\text{One-Time Minting Fee}Minting Fee\=Liquidation Reserve+One-Time Minting Fee ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#id-1.-liquidation-reserve) 1\. Liquidation Reserve * A **20 USDFC reserve** is added to your debt when minting USDFC. This reserve is intended to cover gas fees in case of liquidation * If no liquidation occurs and you fully repay your debt, the **20 USDFC reserve** will be refunded when you close your position * When you close your trove completely, the reserve will be returned and burnt ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#id-2.-one-time-minting-fees) 2\. One-Time Minting Fees One-Time Minting Fee\=(Base Rate+0.5%)×Minted USDFC\\text{One-Time Minting Fee} = (\\text{Base Rate} + 0.5\\%) \\times \\text{Minted USDFC}One-Time Minting Fee\=(Base Rate+0.5%)×Minted USDFC * The **Minting (Borrowing) Fee** consists of two parts: * **Fixed Fee (0.5%)**: Fixed fee charged at the time of minting * **Base Rate (0% to 4.5%)**: The Base Rate varies depending on the system's conditions * Together, the Minting Fee ranges from **0.5% to 5%**, making it a one-time cost and added to your debt * During **Recovery Mode**, the Minting Fee is set to **0%**, encouraging users to add collateral and stabilize the system ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#total-debt-calculation-example) Total Debt Calculation Example Total Debt = Borrowed amount + Liquidation Reserve + One-Time Minting Fees\\text{Total Debt = Borrowed amount + Liquidation Reserve + One-Time Minting Fees}Total Debt = Borrowed amount + Liquidation Reserve + One-Time Minting Fees * If you mint **4,000 USDFC** with a **Base Rate** of **0.5%**: * **Liquidation Reserve**: 20 USDFC * **One-Time Minting Fee**: Fixed Fee + Base Rate = 40 USDFC * **Fixed Fee**: 0.5% of 4,000 USDFC = 20 USDFC * **Base Rate**: 0.5% of 4,000 USDFC = 20 USDFC (usually 0%) * **Total Debt**: 4,060 USDFC [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#base-rate-explanation) Base Rate Explanation ---------------------------------------------------------------------------------------------------------------------------------------- The **Base Rate** is a dynamic component of the borrowing fee that adjusts according to market conditions and redemption activity: ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#dynamic-range) Dynamic Range * The Base Rate ranges from **0% to 4.5%**, adjusting based on the amount of USDFC redeemed relative to the total USDFC supply * The full Minting and Redemption Fee (fixed fee + base rate) therefore ranges between **0.5% and 5%** ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#calculation) Calculation The Base Rate is initially set at **0%** and adjusts based on the redemption activity. The formula for updating the Base Rate is: Base Ratet\=Base Ratet−1+0.5×(mn)\\text{Base Rate}\_t = \\text{Base Rate}\_{t-1} + 0.5 \\times \\left( \\frac{m}{n} \\right)Base Ratet\=Base Ratet−1+0.5×(nm) Where: m = amount of USDFC redeemed n = current total supply of USDFC ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#decay) Decay The Base Rate decays over time when there is low redemption activity, following a **12-hour half-life**. This ensures that the Base Rate gradually returns to its baseline if no significant redemption activity occurs. The decay formula is: Base Ratet\=Base Ratet−1×δΔt\\text{Base Rate}\_t = \\text{Base Rate}\_{t-1} \\times \\delta^{\\Delta t}Base Ratet\=Base Ratet−1×δΔt Where: δ = hourly decay factor (e.g., 0.944) Δt = time elapsed (in hours) since the last redemption or loan issuance circle-info The decay factor `δ` (0.944) is selected to ensure a 12-hour half-life for the base rate. ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#purpose) Purpose The Base Rate is designed to maintain stability in the USDFC supply by adapting to market conditions. It helps regulate borrowing behavior, balancing liquidity and redemption activity while keeping the system solvent. [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#interest-rate) Interest Rate ------------------------------------------------------------------------------------------------------------------------ At the current stage, Secured Finance does not charge any ongoing **interest rate fees** on USDFC. This strategic decision allows for a more accessible and user-friendly experience: circle-info **Why no interest fees?** * Our primary goal is to foster the **widespread adoption of USDFC** within the Filecoin ecosystem and make it more attractive for DeFi users * By keeping the **interest rate at 0%**, we are encouraging users to mint and use USDFC without the added burden of accumulating interest over time We may introduce an **interest rate fee** on borrowed USDFC in the future to further support the long-term sustainability of the protocol [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#common-questions) Common Questions ------------------------------------------------------------------------------------------------------------------------------ **What is the minimum amount of USDFC I can borrow?** The minimum borrow amount is 180 USDFC, plus the 20 USDFC liquidation reserve. **Do I need to repay the liquidation reserve when closing my trove?** No, the liquidation reserve is automatically refunded when you close your trove. **What happens if the value of my FIL collateral drops?** If your collateral ratio falls below 110%, your trove becomes eligible for liquidation. It's recommended to maintain a higher ratio (150%+) as a safety buffer. [Learn more in the FAQs section](https://docs.secured.finance/usdfc-stablecoin/faqs) [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#related-topics) Related Topics -------------------------------------------------------------------------------------------------------------------------- * [The Trove System](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) * [Liquidation](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) * [Redemption](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption) * [Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) [PreviousThe Trove Systemchevron-left](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) [NextLiquidationchevron-right](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) Last updated 10 months ago * [Overview](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#overview) * [How It Works](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#how-it-works) * [Key Parameters](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#key-parameters) * [Minting Costs](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#minting-costs) * [1\. Liquidation Reserve](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#id-1.-liquidation-reserve) * [2\. One-Time Minting Fees](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#id-2.-one-time-minting-fees) * [Total Debt Calculation Example](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#total-debt-calculation-example) * [Base Rate Explanation](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#base-rate-explanation) * [Dynamic Range](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#dynamic-range) * [Calculation](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#calculation) * [Decay](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#decay) * [Purpose](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#purpose) * [Interest Rate](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#interest-rate) * [Common Questions](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#common-questions) * [Related Topics](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow#related-topics) sun-brightdesktopmoon sun-brightdesktopmoon --- # Tokenomics | Secured Finance Docs [🔵Secured Finance Coin (SFC)chevron-right](https://docs.secured.finance/community/tokenomics/secured-finance-coin-sfc) [🔶Secured Finance Points (SFP) v2chevron-right](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2) [PreviousGovernancechevron-left](https://docs.secured.finance/community/governance) [NextSecured Finance Coin (SFC)chevron-right](https://docs.secured.finance/community/tokenomics/secured-finance-coin-sfc) Last updated 10 months ago sun-brightdesktopmoon sun-brightdesktopmoon --- # Media Kit | Secured Finance Docs [🖼️Secured Finance Logochevron-right](https://docs.secured.finance/resources/media-kit/brand-assets) [💲USDFC Logochevron-right](https://docs.secured.finance/resources/media-kit/usdfc-logo) [PreviousSupport & Contactschevron-left](https://docs.secured.finance/community/support-and-contacts) [NextSecured Finance Logochevron-right](https://docs.secured.finance/resources/media-kit/brand-assets) sun-brightdesktopmoon sun-brightdesktopmoon --- # DAOs | Secured Finance Docs [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dao#overview) Overview -------------------------------------------------------------------------------------------------- A Decentralized Autonomous Organization (DAO) is a blockchain-based governance structure that enables collective decision-making without traditional hierarchical management. DAOs represent a fundamental shift in how organizations can be structured and operated in the digital age, allowing for transparent, community-driven governance of shared resources and protocols. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dao#how-it-works) How It Works ---------------------------------------------------------------------------------------------------------- DAOs operate through smart contracts that establish the rules for governance and automatically execute decisions made by the community. The typical workflow includes: 1. **Formation**: A DAO begins with developers creating smart contracts that define the organization's rules 2. **Funding**: Members acquire governance tokens, often through direct purchase or by contributing to the project 3. **Proposal Submission**: Any token holder can submit proposals for changes or actions 4. **Voting**: Members vote on proposals, with voting power typically proportional to token holdings 5. **Execution**: Approved proposals are automatically executed through the smart contract This process creates a self-governing system where decisions are made collectively rather than by a central authority. All activities are recorded on the blockchain, ensuring transparency and immutability. ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dao#organizational-structure-dao-foundation-and-devco) Organizational Structure: DAO, Foundation, and DevCo Most mature DeFi protocols operate with a three-part organizational structure: #### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dao#dao) DAO * **Purpose**: Community governance and protocol direction * **Structure**: Decentralized collection of token holders * **Legal Status**: Often unincorporated association or DAO LLC in some jurisdictions * **Decision Making**: Token-weighted voting on major protocol changes #### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dao#foundation) Foundation * **Purpose**: Legal entity that supports the DAO * **Structure**: Non-profit organization with board of directors or supervisors * **Legal Status**: Typically incorporated in crypto-friendly jurisdictions * **Functions**: Treasury management, grants distribution, legal representation, regulatory compliance #### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dao#devco-development-company) DevCo (Development Company) * **Purpose**: Technical development of the protocol * **Structure**: For-profit company with traditional corporate structure * **Legal Status**: Incorporated business entity * **Functions**: Code development, protocol maintenance, implementation of DAO-approved updates This separation of concerns helps manage legal and regulatory risks while ensuring the protocol can continue to develop in a decentralized manner. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dao#key-differences-dao-vs-foundation-vs-devco) Key Differences: DAO vs Foundation vs DevCo ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- Aspect DAO Foundation DevCo Governance Community-driven through token voting Board-directed with community input Corporate management Decision Speed Slower (days to weeks) Medium (days) Faster (hours to days) Transparency Fully transparent on-chain Partially transparent Often private Risk Exposure Distributed across token holders Limited liability Corporate liability Funding Source Protocol fees, token reserves DAO treasury grants Service contracts, equity Primary Focus Strategic direction, treasury allocation Legal compliance, ecosystem growth Technical implementation [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dao#examples) Examples -------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dao#defi-protocol-daos) DeFi Protocol DAOs * MakerDAO: Governs the DAI stablecoin system * Uniswap: Community governance of the decentralized exchange protocol * Aave: Manages parameters and upgrades for the lending protocol ### [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dao#investment-daos) Investment DAOs * BitDAO: One of the largest DAOs focused on supporting DeFi development * FlamingoDAO: Collective focused on NFT investments * MetaCartel: Funds early-stage decentralized applications [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dao#common-questions) Common Questions ------------------------------------------------------------------------------------------------------------------ **How do I join a DAO?** Typically, you join a DAO by acquiring its governance tokens, either through direct purchase on exchanges or by contributing to the project in some way. **What rights do DAO members have?** Members can typically propose changes, vote on proposals, and receive a share of any profits generated by the DAO, depending on its structure. **Are DAOs legally recognized?** Legal recognition varies by jurisdiction. Some regions like Wyoming in the US have created legal frameworks for DAOs, while in most places they operate in a regulatory gray area. **What happens if a DAO is hacked?** Unlike traditional organizations, DAOs may have limited recourse if exploited. The immutable nature of blockchain means that hacks can be difficult to reverse without community consensus for extraordinary measures. **Can DAOs replace traditional companies?** While DAOs excel at certain functions like treasury management and open-source development, they currently face challenges in areas requiring rapid decision-making or confidentiality. [hashtag](https://docs.secured.finance/introduction/defi-starter-guide/dao#related-resources) Related Resources -------------------------------------------------------------------------------------------------------------------- * [DeFi vs CeFi](https://docs.secured.finance/introduction/defi-starter-guide/defi-vs-cefi) * [Interacting with DApps](https://docs.secured.finance/introduction/defi-starter-guide/dapps) * [Wallet Setup & Management](https://docs.secured.finance/introduction/defi-starter-guide/wallet-setup) [PreviousGovernance Tokenschevron-left](https://docs.secured.finance/introduction/defi-starter-guide/governance-tokens) [NextOverviewchevron-right](https://docs.secured.finance/usdfc-stablecoin/overview) Last updated 10 months ago * [Overview](https://docs.secured.finance/introduction/defi-starter-guide/dao#overview) * [How It Works](https://docs.secured.finance/introduction/defi-starter-guide/dao#how-it-works) * [Organizational Structure: DAO, Foundation, and DevCo](https://docs.secured.finance/introduction/defi-starter-guide/dao#organizational-structure-dao-foundation-and-devco) * [Key Differences: DAO vs Foundation vs DevCo](https://docs.secured.finance/introduction/defi-starter-guide/dao#key-differences-dao-vs-foundation-vs-devco) * [Examples](https://docs.secured.finance/introduction/defi-starter-guide/dao#examples) * [DeFi Protocol DAOs](https://docs.secured.finance/introduction/defi-starter-guide/dao#defi-protocol-daos) * [Investment DAOs](https://docs.secured.finance/introduction/defi-starter-guide/dao#investment-daos) * [Common Questions](https://docs.secured.finance/introduction/defi-starter-guide/dao#common-questions) * [Related Resources](https://docs.secured.finance/introduction/defi-starter-guide/dao#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Trading | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#prerequisites) Prerequisites ---------------------------------------------------------------------------------------------------------------------------------- * A connected wallet with sufficient assets * Basic understanding of fixed-rate lending concepts * Assets deposited as collateral (for borrowing) [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#overview) Overview ------------------------------------------------------------------------------------------------------------------------ Welcome to the [**Trading tab**arrow-up-right](https://app.secured.finance/) on Secured Finance, your gateway to fixed-income trading. This interface enables you to engage in peer-to-contract lending and trading of zero-coupon (ZC) bonds with simplicity, efficiency, and transparency. [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#step-1-accessing-the-trading-interface) Step 1: Accessing the Trading Interface ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Navigate to the [Secured Finance platformarrow-up-right](https://app.secured.finance/) 2. Connect your wallet if not already connected 3. Click on the "Trading" tab in the main navigation 4. Select the asset pair and maturity date you want to trade  Trading Interface [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#step-2-understanding-zero-coupon-bond-trading) Step 2: Understanding Zero-Coupon Bond Trading --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Before placing orders, it's important to understand the basics: 1. **Buying ZC Bonds (Lending)** * When you buy a bond, you're effectively lending assets * Your initial investment accrues interest over time * At maturity, you receive the full face value of the bond 2. **Selling ZC Bonds (Borrowing)** * When you sell a bond, you're borrowing assets * You receive funds upfront and repay the face value at maturity * Requires sufficient collateral to secure the loan 3. **Orderbook System** * All transactions occur on our Orderbook * Orders are matched directly with counterparties via smart contracts * Provides transparent price discovery and efficient execution [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#step-3-placing-a-buy-order-lending) Step 3: Placing a Buy Order (Lending) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Select "Buy" in the order form 2. Choose between "Market Order" or "Limit Order" * Market Order: Executes immediately at the best available price * Limit Order: Executes only at your specified price or better 3. Enter the amount you want to lend 4. For Limit Orders, specify your desired price (interest rate) 5. Review the order details, including: * Total cost * Expected yield * Maturity date 6. Click "Place Order" to submit 7. Confirm the transaction in your wallet [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#step-4-placing-a-sell-order-borrowing) Step 4: Placing a Sell Order (Borrowing) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Select "Sell" in the order form 2. Choose between "Market Order" or "Limit Order" 3. Enter the amount you want to borrow 4. For Limit Orders, specify your desired price (interest rate) 5. Ensure you have sufficient collateral 6. Review the order details, including: * Amount received * Repayment amount at maturity * Collateral requirements 7. Click "Place Order" to submit 8. Confirm the transaction in your wallet [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#step-5-managing-open-orders) Step 5: Managing Open Orders --------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Navigate to the "Open Orders" section below the orderbook 2. View all your pending orders 3. To cancel an order: * Find the order you want to cancel * Click the "Cancel" button * Confirm the cancellation in your wallet [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#step-6-unwinding-a-position) Step 6: Unwinding a Position --------------------------------------------------------------------------------------------------------------------------------------------------------------- If you need to exit a position before maturity: 1. Go to the "Portfolio" tab 2. Find the position you want to unwind 3. Click the "Unwind" button 4. Choose between Market Unwind or Limit Unwind 5. Enter the amount you want to unwind 6. Review the details and confirm the transaction [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#step-7-understanding-auto-rolling) Step 7: Understanding Auto-Rolling --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- When your loan matures: 1. Funds are automatically reinvested into the next 3-month maturity cycle via our Auto-Roll feature 2. This minimizes reinvestment risks and promotes steady growth 3. You can customize Auto-Roll settings in your Portfolio 4. For more details, see our [Auto-Rolling](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling) section [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#next-steps) Next Steps ---------------------------------------------------------------------------------------------------------------------------- After learning the basics of trading, you might want to: * [Explore advanced trading strategies](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics) * [Learn about collateral managementarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/fixed-rate-lending/getting-started/platform-guide/portfolio/collateral-management.md) * [Understand security measures](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures) that protect your investments [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#troubleshooting) Troubleshooting -------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#order-not-executing) Order Not Executing If your limit order isn't being executed: * Your specified price may not be competitive with current market rates * There might be insufficient liquidity at your price level * Try adjusting your price or using a market order for immediate execution ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#insufficient-collateral-error) Insufficient Collateral Error If you receive an insufficient collateral error when borrowing: * Check your collateral balance in the Portfolio tab * Deposit additional collateral if needed * Reduce the amount you're trying to borrow * Consider using assets with higher collateral factors ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#transaction-failing) Transaction Failing If your transaction is failing: * Ensure you have enough native tokens (ETH, MATIC, etc.) for gas fees * Check that you've approved the necessary token permissions * Try refreshing the page and attempting the transaction again * If issues persist, check the blockchain explorer for specific error details [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#security-measures) Security Measures ------------------------------------------------------------------------------------------------------------------------------------------ Secured Finance prioritizes loan security with: 1. **Robust Collateral Management** * Borrowers must pledge collateral * Collateral is managed by smart contracts to reduce counterparty risk * Automatic liquidation processes protect lenders 2. **Smart Contract Technology** * Enforces loan terms automatically * Enhances security and reliability * Undergoes regular audits and security reviews For more details, see our [Collateralarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/fixed-rate-lending/getting-started/platform-guide/portfolio/collateral-management.md) and [Security & Safety Measures](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures) sections. [PreviousPlatform Guidechevron-left](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide) [NextSupported Currencieschevron-right](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading/supported-currencies) Last updated 10 months ago * [Prerequisites](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#prerequisites) * [Overview](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#overview) * [Step 1: Accessing the Trading Interface](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#step-1-accessing-the-trading-interface) * [Step 2: Understanding Zero-Coupon Bond Trading](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#step-2-understanding-zero-coupon-bond-trading) * [Step 3: Placing a Buy Order (Lending)](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#step-3-placing-a-buy-order-lending) * [Step 4: Placing a Sell Order (Borrowing)](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#step-4-placing-a-sell-order-borrowing) * [Step 5: Managing Open Orders](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#step-5-managing-open-orders) * [Step 6: Unwinding a Position](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#step-6-unwinding-a-position) * [Step 7: Understanding Auto-Rolling](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#step-7-understanding-auto-rolling) * [Next Steps](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#next-steps) * [Troubleshooting](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#troubleshooting) * [Order Not Executing](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#order-not-executing) * [Insufficient Collateral Error](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#insufficient-collateral-error) * [Transaction Failing](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#transaction-failing) * [Security Measures](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading#security-measures) sun-brightdesktopmoon sun-brightdesktopmoon --- # Minting USDFC Step-by-Step | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#prerequisites) Prerequisites ------------------------------------------------------------------------------------------------------------------------------------ * An active Trove with FIL collateral * Access to the [USDFC applicationarrow-up-right](https://app.usdfc.net/) * Connected wallet with enough FIL for gas fees [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#overview) Overview -------------------------------------------------------------------------------------------------------------------------- Minting USDFC allows you to generate dollar-pegged stablecoins against your FIL collateral. This guide walks you through the process of minting USDFC from an existing Trove. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#step-1-access-your-trove) Step 1: Access Your Trove ----------------------------------------------------------------------------------------------------------------------------------------------------------- First, you need to access your existing Trove in the USDFC application. 1. Navigate to the [USDFC applicationarrow-up-right](https://app.usdfc.net/) 2. Connect your wallet if not already connected 3. Go to the "Trove" section on the USDFC Dashboard page 4. You should see your current Trove details including collateral amount, debt, and collateral ratio circle-exclamation "Debt" is the Total debt = Borrowed amount + Borrowing Fees (cumulative)  The Trove dashboard showing current position details [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#step-2-select-adjust-trove) Step 2: Select "Adjust Trove" ----------------------------------------------------------------------------------------------------------------------------------------------------------------- To mint additional USDFC, you need to adjust your Trove. 1. Click on the "Adjust" button 2. This will open the Trove adjustment interface circle-info "Net debt" is Total Debt - Liquidation Reserve. In this example, 221.02 - 20 = 201.02 USDFC.  Screenshot after clicking the "Adjust Trove" button [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#step-3-specify-minting-amount) Step 3: Specify Minting Amount --------------------------------------------------------------------------------------------------------------------------------------------------------------------- Now you need to specify how much additional USDFC you want to mint. 1. In the adjustment interface, locate the "Collateral" and "Net debt" input fields 2. Enter the amount of Collateral and USDFC debt you want to adjust 3. The system will automatically calculate your new collateral ratio 4. Ensure your new collateral ratio remains above the minimum required (recommended 150%) circle-info "Total debt" is Net debt + Liquidation Reserve + Borrowing Fee (this mint fee). In this example, 220.00 + 20 + 0.10 = 240.10 USDFC.  The minting interface with the adjusted amount and collateral ratio calculation [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#step-4-review-transaction-details) Step 4: Review Transaction Details ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Before confirming, review all transaction details carefully. 1. Check the additional USDFC amount you're minting 2. Verify your new collateral ratio 3. Review any fees that will be applied 4. Ensure you understand how this affects your liquidation risk [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#step-5-confirm-and-mint-usdfc) Step 5: Confirm and Mint USDFC --------------------------------------------------------------------------------------------------------------------------------------------------------------------- Once you're satisfied with the details, you can proceed with minting. 1. Click the "Confirm" button 2. Confirm the transaction in your wallet 3. Wait for the transaction to be processed on the blockchain  The confirmation screen with the "Adjust Trove" method [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#step-6-verify-minted-usdfc) Step 6: Verify Minted USDFC --------------------------------------------------------------------------------------------------------------------------------------------------------------- After the transaction is confirmed, verify that your USDFC was minted successfully. 1. Check that your Trove details have been updated with the new debt amount 2. Verify that the additional USDFC has been added to your wallet balance 3. If you don't see the additional USDFC in your wallet, you may need to refresh or check your transaction history on your wallet or [a blockchain explorerarrow-up-right](https://filfox.info/en) 4. Check that your wallet balance reflects Borrowing Fee subtracted circle-info Wallet balance = Total debt - Liquidation Reserve - Borrowing Fees (cumulative). In this example, 240.10 - 20 - 0.10 (this mint fee) - 1.02 (prev mint fee) = 218.98 USDFC.  Screenshot showing updated Trove details and wallet balance [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#next-steps) Next Steps ------------------------------------------------------------------------------------------------------------------------------ Now that you've minted USDFC, you can: * [Manage your collateral](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively) to adjust your risk level * [Monitor your position](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position) to stay informed about your Trove's health * [Deposit USDFC into the Stability Pool](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool) to earn rewards * [Redeem USDFC](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc) for FIL when you're ready [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#troubleshooting) Troubleshooting ---------------------------------------------------------------------------------------------------------------------------------------- * **Transaction Failed**: Ensure you have enough FIL for gas fees and that your collateral ratio meets the minimum requirement * **Cannot Mint More USDFC**: You may have reached the maximum debt for your current collateral amount * **High Gas Fees**: Try again when network congestion is lower or adjust your gas settings [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#common-questions) Common Questions ------------------------------------------------------------------------------------------------------------------------------------------ **Q: Is there a limit to how much USDFC I can mint?** A: The amount of USDFC you can mint is limited by your collateral amount and the minimum collateral ratio requirement. **Q: Are there any fees for minting USDFC?** A: Yes, there is a small minting fee that varies based on the current base rate. This fee helps maintain the stability of the protocol. **Q: How does minting more USDFC affect my liquidation risk?** A: Minting more USDFC without adding collateral increases your debt, which lowers your collateral ratio and increases your liquidation risk. **Q: Can I mint USDFC in small increments?** A: Yes, you can mint USDFC in any amount as long as your collateral ratio remains above the minimum requirement. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#related-topics) Related Topics -------------------------------------------------------------------------------------------------------------------------------------- * [The Trove System](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) * [Mint & Borrow](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow) * [Protocol Fees](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees) * [Liquidation](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) [PreviousCreating Your First Trovechevron-left](https://docs.secured.finance/usdfc-stablecoin/getting-started/creating-your-first-trove) [NextManaging Collateral Effectivelychevron-right](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively) Last updated 9 months ago * [Prerequisites](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#prerequisites) * [Overview](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#overview) * [Step 1: Access Your Trove](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#step-1-access-your-trove) * [Step 2: Select "Adjust Trove"](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#step-2-select-adjust-trove) * [Step 3: Specify Minting Amount](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#step-3-specify-minting-amount) * [Step 4: Review Transaction Details](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#step-4-review-transaction-details) * [Step 5: Confirm and Mint USDFC](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#step-5-confirm-and-mint-usdfc) * [Step 6: Verify Minted USDFC](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#step-6-verify-minted-usdfc) * [Next Steps](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#next-steps) * [Troubleshooting](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#troubleshooting) * [Common Questions](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#common-questions) * [Related Topics](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step#related-topics) sun-brightdesktopmoon sun-brightdesktopmoon --- # How Liquidation Works | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#overview) Overview ---------------------------------------------------------------------------------------------------------------------------------------------- The liquidation process in the Fixed-Rate Lending Protocol involves identifying undercollateralized positions and executing liquidation calls through smart contract functions. This technical guide explains the implementation details of how liquidation works from a developer's perspective. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#how-it-works) How It Works ------------------------------------------------------------------------------------------------------------------------------------------------------ First of all, it is necessary to identify the target user through off-chain actions before executing liquidation. The function `getCoverage()` is used for this purpose. A user becomes a target for liquidation if this function returns a value of `8000` or higher. For more details, refer to the documentation at [TokenVault Documentationarrow-up-right](https://github.com/Secured-Finance/contracts/blob/develop/docs/protocol/TokenVault.md#getcoverage) . To execute with liquidation, you must specify the currency of the collateral to be received, the currency of the debt to be liquidated, and its maturity. This is done by calling the function `executeLiquidationCall()`. To maximize the profit of the liquidation in the case that users have collateral or debt in multiple currencies, you need to estimate each case and choose one of them through off-chain action. For more details of the function, refer to the documentation at [LendingMarketController Documentationarrow-up-right](https://github.com/Secured-Finance/contracts/blob/develop/docs/protocol/LendingMarketController.md#executeliquidationcall) . Upon executing this process, the liquidator receives the liquidated debt and the collateral plus a 5% fee. However, if the liquidator's collateral coverage exceeds 80% at the end of the process, this liquidation process will fail. When executing the liquidation process through a smart contract, functions `executeOperationForCollateral()` for receiving collateral, and `executeOperationForDebt()` for receiving debt, can be set as callback functions. For usage, please refer to the sample contract at [Liquidator Contractarrow-up-right](https://github.com/Secured-Finance/contracts/blob/develop/contracts/external/liquidation/Liquidator.sol) . During the liquidation process, these callback functions enable the handling of received collateral by swapping it through external services or unwinding the received debt. The process flow is as follows: spinner [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#key-parameters) Key Parameters ---------------------------------------------------------------------------------------------------------------------------------------------------------- Parameter Description Value Coverage Threshold The threshold value returned by `getCoverage()` that makes a position eligible for liquidation 8000 Liquidation Fee The additional collateral received by the liquidator 5% Liquidator Coverage Limit Maximum coverage value a liquidator can have after liquidation 80% Callback Functions Functions that can be implemented to handle received assets `executeOperationForCollateral()`, `executeOperationForDebt()` [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#examples) Examples ---------------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#example-1-identifying-positions-for-liquidation) Example 1: Identifying Positions for Liquidation A liquidator bot wants to find undercollateralized positions: ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#example-2-executing-a-liquidation-call) Example 2: Executing a Liquidation Call A liquidator wants to liquidate an undercollateralized position: [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#common-questions) Common Questions -------------------------------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#how-do-i-determine-which-collateral-and-debt-currencies-to-liquidate) How do I determine which collateral and debt currencies to liquidate? You should analyze all possible combinations of collateral and debt currencies for a target user and choose the one that maximizes your profit. This typically involves: 1. Fetching all collateral and debt positions for the user 2. Calculating the potential profit for each combination (collateral value × 1.05 - debt value) 3. Considering gas costs for each liquidation 4. Selecting the combination with the highest net profit ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#what-happens-if-a-user-has-multiple-collateral-types) What happens if a user has multiple collateral types? If a user has multiple collateral types, you can only liquidate one collateral type per liquidation call. You would need to make separate liquidation calls for each collateral type you want to liquidate. It's generally most profitable to start with the collateral type that has the highest value or the one with the highest liquidation fee relative to its debt. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#can-i-implement-my-own-liquidation-strategy) Can I implement my own liquidation strategy? Yes, you can implement custom liquidation strategies by creating your own smart contract that inherits from the base Liquidator contract. You can override the callback functions `executeOperationForCollateral()` and `executeOperationForDebt()` to implement custom logic for handling the received assets, such as immediately swapping them on a DEX or using them for other DeFi strategies. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#what-prevents-a-liquidator-from-liquidating-healthy-positions) What prevents a liquidator from liquidating healthy positions? The protocol checks if the target user's position is undercollateralized by calling `getCoverage()`. If this function returns a value less than 8000, the liquidation call will revert. Additionally, the protocol checks if the liquidator's own position would become too collateralized after the liquidation (coverage > 80%), which prevents liquidators from accumulating too much collateral relative to their debt. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#how-can-i-test-my-liquidation-bot-before-deploying-it-to-mainnet) How can I test my liquidation bot before deploying it to mainnet? You can test your liquidation bot on a testnet or in a forked mainnet environment. To create test scenarios: 1. Set up a test account with collateral and debt positions 2. Manipulate the price oracle to simulate price movements that would make positions undercollateralized 3. Execute your liquidation bot against these test positions 4. Verify that the liquidation was successful and that you received the expected collateral and fee [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#related-resources) Related Resources ---------------------------------------------------------------------------------------------------------------------------------------------------------------- * [Liquidators](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators) * [Liquidation Process](https://docs.secured.finance/fixed-rate-lending/core-mechanics) * [Mark to Marketarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/fixed-rate-lending/core-mechanics/mark-to-market.md) * [Collateral Liquidationsarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/fixed-rate-lending/core-mechanics/collateral-liquidations/README.md) [PreviousLiquidatorschevron-left](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators) [NextLiquidation Case Studychevron-right](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidation-case-study) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#overview) * [How It Works](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#how-it-works) * [Key Parameters](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#key-parameters) * [Examples](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#examples) * [Example 1: Identifying Positions for Liquidation](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#example-1-identifying-positions-for-liquidation) * [Example 2: Executing a Liquidation Call](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#example-2-executing-a-liquidation-call) * [Common Questions](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#common-questions) * [How do I determine which collateral and debt currencies to liquidate?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#how-do-i-determine-which-collateral-and-debt-currencies-to-liquidate) * [What happens if a user has multiple collateral types?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#what-happens-if-a-user-has-multiple-collateral-types) * [Can I implement my own liquidation strategy?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#can-i-implement-my-own-liquidation-strategy) * [What prevents a liquidator from liquidating healthy positions?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#what-prevents-a-liquidator-from-liquidating-healthy-positions) * [How can I test my liquidation bot before deploying it to mainnet?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#how-can-i-test-my-liquidation-bot-before-deploying-it-to-mainnet) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works#related-resources) sun-brightdesktopmoon Copy // Pseudocode for a liquidator bot async function findLiquidationTargets() { const users = await getAllUsers(); const liquidationTargets = []; for (const user of users) { // Check if user's position is undercollateralized const coverage = await tokenVault.getCoverage(user.address); // If coverage is 8000 or higher, the position is eligible for liquidation if (coverage >= 8000) { // Calculate potential profit from liquidation const collateralValue = await getCollateralValue(user.address); const debtValue = await getDebtValue(user.address); const liquidationFee = collateralValue * 0.05; // 5% fee liquidationTargets.push({ user: user.address, coverage, collateralValue, debtValue, potentialProfit: liquidationFee }); } } // Sort by potential profit to prioritize most profitable liquidations return liquidationTargets.sort((a, b) => b.potentialProfit - a.potentialProfit); } Copy // Pseudocode for executing liquidation async function executeLiquidation(targetUser) { // Determine which collateral and debt currencies to liquidate const collateralCurrency = findMostProfitableCollateral(targetUser); const debtCurrency = findMostEfficientDebt(targetUser); const maturity = getCurrentMaturity(); // Execute the liquidation call const tx = await lendingMarketController.executeLiquidationCall( targetUser, collateralCurrency, debtCurrency, maturity ); // Handle the received collateral and debt // This will trigger the callback functions if implemented await tx.wait(); // Check if liquidation was successful const liquidatorCoverage = await tokenVault.getCoverage(liquidatorAddress); if (liquidatorCoverage > 8000) { console.log("Liquidation failed: Liquidator coverage exceeded 80%"); } else { console.log("Liquidation successful"); } } sun-brightdesktopmoon --- # Mark to Market | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#overview) Overview --------------------------------------------------------------------------------------------------------------------------- Mark to Market is a pricing methodology where the value of an asset is calculated based on its current market value. In this methodology, the asset is valued at the current market price instead of its book value. We use this price to evaluate Profit and Loss (PnL) and Loan to Value (LTV) ratio. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#how-it-works) How It Works ----------------------------------------------------------------------------------------------------------------------------------- In our approach to mark-to-market valuation, we focus on zero-coupon bond market pricing, utilizing the 'Mark Price' as our benchmark. This price is derived from the Volume Weighted Average Price (VWAP) calculated over the duration of a single block. Notably, our methodology emphasizes the use of Future Value (FV) in these calculations, as opposed to the more traditional Present Value (PV) approach. > **Example of FV approach for the VWAP** > > In the scenario where transactions A and B occur within the same block, a traditional application of the Volume Weighted Average Price (VWAP) would give a value of 93.00, as illustrated in the example below. However, this traditional VWAP calculation does not adequately represent the relationship between Present Value (PV) and Future Value (FV). To address this, we calculate our Block Price by adopting a methodology centered on the FV approach, ensuring a more accurate reflection of market dynamics and valuation in our decentralized finance context. Transaction PV amount Price FV amount VWAP A 1,000 94.00 1,063.83 B 1,000 92.00 1,086.96 Sum 2,000 2,150.79 92.99 To safeguard against potential price manipulation within a block, we have implemented a **minimum volume threshold**. This measure ensures that only transactions meeting this specified volume criteria contribute to the block's pricing, thereby maintaining the integrity and reliability. #### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#current-volume-threshold) Current Volume Threshold Currency Minimum Volume Threshold USD 100 Should the trading volume within a block fall below our established threshold, we opt not to record the block price for that particular interval. Instead, we continue using the price from the most recent block that met or exceeded this volume threshold for our mark-to-market calculations. This threshold is not arbitrary; it is meticulously calculated for each currency based on the spot price provided by the Chainlink oracle, ensuring accuracy and relevance to current market conditions. circle-info We review and revise Volume Threshold periodically. #### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#fallback-mechanism-waterfall) Fallback Mechanism (Waterfall) In exceptional cases where the primary Mark Price calculation method cannot be applied due to insufficient trading volume or other market conditions, the protocol employs a fallback mechanism to ensure there is always a valid price available for mark-to-market calculations. This waterfall approach follows a strict priority order: 1. Use 'Opening Price' for 'Mark Price' when Itayose Process Executed 2. Use 'Auto-roll Price' for 'Mark Price' if there are no block price 3. Use 'Last traded price' and/or 'VWAP' for 'Mark to Market' price during the same block if there is no matching orders have been executed before and no 'Mark Price' exist * If there are no 'Mark Price' exist yet, we remove the Volume Threshold above and use 'last traded price' [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#key-parameters) Key Parameters --------------------------------------------------------------------------------------------------------------------------------------- Parameter Description Value Minimum Volume Threshold Minimum trading volume required for Mark Price updates 100 USD VWAP Calculation Method How the Volume Weighted Average Price is calculated Future Value (FV) approach Price Update Frequency How often the Mark Price can be updated Per block Waterfall Priority Order of price sources used when determining Mark Price 1\. Itayose Opening Price 2. Auto-roll Price 3. Last traded price/VWAP [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#examples) Examples --------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#example-1-calculating-mark-price-with-sufficient-volume) Example 1: Calculating Mark Price with Sufficient Volume Consider a market with the following transactions in a single block: Transaction PV amount Price FV amount A 500 95.00 526.32 B 700 93.00 752.69 C 300 94.00 319.15 Total 1,500 1,598.16 The total volume (1,500) exceeds the minimum threshold of 100 USD, so the Mark Price is calculated: * VWAP = Total PV / Total FV = 1,500 / 1,598.16 = 93.86 This Mark Price (93.86) will be used for all mark-to-market calculations in this block and subsequent blocks until a new valid Mark Price is established. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#example-2-using-the-waterfall-mechanism) Example 2: Using the Waterfall Mechanism Scenario: A new market has just been created through the Itayose process with an Opening Price of 95.00. 1. **Day 1**: No trades occur. The Mark Price remains 95.00 (from Itayose Opening Price). 2. **Day 2**: A few small trades occur with a total volume of 50 USD (below the threshold). The Mark Price remains 95.00. 3. **Day 3**: The market matures and undergoes Auto-rolling with an Auto-roll Price of 94.50. The Mark Price updates to 94.50. 4. **Day 4**: Significant trading activity occurs with a volume of 200 USD and a VWAP of 94.20. The Mark Price updates to 94.20. This example demonstrates how the waterfall mechanism ensures there is always a valid Mark Price available for collateral valuation and liquidation calculations. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#common-questions) Common Questions ------------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#why-use-future-value-fv-instead-of-present-value-pv-for-vwap-calculations) Why use Future Value (FV) instead of Present Value (PV) for VWAP calculations? Using Future Value (FV) in our VWAP calculations provides a more accurate representation of the true economic value of zero-coupon bonds. Since zero-coupon bonds are traded at a discount to their face value and redeemed at maturity for their full face value, the FV approach better captures the relationship between current prices and future obligations. This method ensures that our mark-to-market valuations reflect the actual economic exposure of positions in the protocol. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#how-does-the-minimum-volume-threshold-protect-against-price-manipulation) How does the minimum volume threshold protect against price manipulation? The minimum volume threshold prevents small trades from disproportionately affecting the Mark Price. Without this threshold, an attacker could execute a small trade at an artificially high or low price to manipulate the Mark Price, potentially triggering unwarranted liquidations or preventing necessary ones. By requiring a minimum trading volume (currently 100 USD), we ensure that only significant market activity influences the Mark Price, making manipulation more costly and less feasible. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#what-happens-if-theres-no-trading-activity-for-an-extended-period) What happens if there's no trading activity for an extended period? If there's no trading activity that meets the minimum volume threshold for an extended period, the protocol continues to use the last valid Mark Price according to the waterfall mechanism. This ensures continuity in valuation even during periods of low market activity. The waterfall mechanism prioritizes: 1. Opening Price from Itayose Process 2. Auto-roll Price 3. Last traded price/VWAP This approach maintains system stability while still allowing for price updates when significant market activity resumes. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#how-often-is-the-mark-price-updated) How often is the Mark Price updated? The Mark Price is updated on a block-by-block basis whenever there is sufficient trading volume (above the minimum threshold) within a block. If multiple trades occur within the same block, they are aggregated into a single VWAP calculation. If no trades meeting the threshold occur in a block, the Mark Price remains unchanged from the previous valid Mark Price. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#can-users-see-the-current-mark-price-for-each-market) Can users see the current Mark Price for each market? Yes, users can view the current Mark Price for each market through the protocol's interface. This transparency allows users to understand how their positions are being valued and to make informed decisions about their borrowing and lending activities. The Mark Price is a critical component for calculating collateralization ratios and determining when positions may be at risk of liquidation. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#related-resources) Related Resources --------------------------------------------------------------------------------------------------------------------------------------------- * [Liquidation](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation) * [Collateralizationarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/fixed-rate-lending/collateralization.md) * [Safety Measuresarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/advanced-topics/safety-measures/README.md) * [Circuit Breakerarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/advanced-topics/safety-measures/circuit-breaker/README.md) [PreviousLiquidationchevron-left](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation) [NextLiquidatorschevron-right](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#overview) * [How It Works](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#how-it-works) * [Key Parameters](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#key-parameters) * [Examples](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#examples) * [Example 1: Calculating Mark Price with Sufficient Volume](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#example-1-calculating-mark-price-with-sufficient-volume) * [Example 2: Using the Waterfall Mechanism](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#example-2-using-the-waterfall-mechanism) * [Common Questions](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#common-questions) * [Why use Future Value (FV) instead of Present Value (PV) for VWAP calculations?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#why-use-future-value-fv-instead-of-present-value-pv-for-vwap-calculations) * [How does the minimum volume threshold protect against price manipulation?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#how-does-the-minimum-volume-threshold-protect-against-price-manipulation) * [What happens if there's no trading activity for an extended period?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#what-happens-if-theres-no-trading-activity-for-an-extended-period) * [How often is the Mark Price updated?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#how-often-is-the-mark-price-updated) * [Can users see the current Mark Price for each market?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#can-users-see-the-current-mark-price-for-each-market) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Secured Finance Coin (SFC) | Secured Finance Docs **Points Program Participants:** Based on the TVL milestone achievements, SFP holders will be eligible for SFC airdrops up to 3% of total supply. **Active Community Participants:** Based on the community participants such as Galxe campaign and OAT holders will be eligible for SFC airdrops. [PreviousTokenomicschevron-left](https://docs.secured.finance/community/tokenomics) [NextSecured Finance Points (SFP) v2chevron-right](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2) Last updated 1 year ago sun-brightdesktopmoon sun-brightdesktopmoon --- # Governance | Secured Finance Docs [PreviousOverviewchevron-left](https://docs.secured.finance/community/community) [NextTokenomicschevron-right](https://docs.secured.finance/community/tokenomics) Last updated 10 months ago sun-brightdesktopmoon sun-brightdesktopmoon --- # The Trove System | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#overview) Overview --------------------------------------------------------------------------------------------------------------- The Trove System is the foundation of the USDFC Stablecoin Protocol, providing users with personal vaults to deposit Filecoin (FIL) collateral and borrow USDFC. Each Trove tracks your collateral, debt, and maintains a collateralization ratio that must stay above the minimum threshold to avoid liquidation. [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#how-it-works) How It Works ----------------------------------------------------------------------------------------------------------------------- A Trove is your personal vault within the protocol where you lock up Filecoin (FIL) as collateral in order to borrow USDFC. The system carefully tracks the relationship between your collateral value and debt to ensure the protocol remains solvent. ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#key-components) Key Components 1. **Collateral**: The amount of FIL you deposit to secure your borrowed USDFC 2. **Total Debt**: The sum of your borrowed USDFC, liquidation reserve, and any applicable fees 3. **Collateral Ratio**: The ratio of your collateral value (in USD) to your total debt (in USDFC) ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#trove-lifecycle) Trove Lifecycle 1. **Opening a Trove**: Deposit FIL collateral and specify how much USDFC to borrow 2. **Managing a Trove**: Add collateral or repay debt to maintain a healthy collateral ratio 3. **Closing a Trove**: Repay all debt to reclaim your collateral 4. **Liquidation**: If your collateral ratio falls below the minimum threshold, your Trove may be liquidated [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#key-parameters) Key Parameters --------------------------------------------------------------------------------------------------------------------------- Parameter Description Default Value Minimum Collateral Ratio Minimum required ratio in Normal Mode 110% Recovery Mode Threshold System-wide ratio that triggers Recovery Mode 150% Minimum Borrow Amount Minimum USDFC that can be borrowed 180 USDFC Liquidation Reserve USDFC reserved for potential liquidation gas costs 20 USDFC [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#debt-calculations) Debt Calculations --------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#total-debt-formula) Total Debt Formula Total Debt\=(Borrowed Amount)+(Liquidation Reserve)+(Borrowing Fee)\\text{Total Debt} = (\\text{Borrowed Amount}) + (\\text{Liquidation Reserve}) + (\\text{Borrowing Fee})Total Debt\=(Borrowed Amount)+(Liquidation Reserve)+(Borrowing Fee) The Total Debt represents the full amount you owe to the protocol, including: * **Borrowed Amount**: The USDFC you receive (minimum 180 USDFC) * **Liquidation Reserve**: 20 USDFC set aside to cover potential liquidation costs (refunded when you close your Trove) * **Borrowing Fee**: One-time fee based on your borrowed amount (waived in Recovery Mode) ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#collateral-ratio-formula) Collateral Ratio Formula Collateral Ratio\=Collateral Value (USD)Total Debt (USDFC)\\text{Collateral Ratio} = \\frac{\\text{Collateral Value (USD)}}{\\text{Total Debt (USDFC)}}Collateral Ratio\=Total Debt (USDFC)Collateral Value (USD) * Must remain above 110% in Normal Mode * Recommended to maintain above 150% to avoid liquidation in Recovery Mode * Many users maintain 200-250% as an extra safety buffer [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#action-specific-calculations) Action-Specific Calculations ------------------------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#opening-a-trove) Opening a Trove **Normal Mode**: Total Debt\=(Borrowed Amount)+(Liquidation Reserve)+(Borrowing Fee)\\text{Total Debt} = (\\text{Borrowed Amount}) + (\\text{Liquidation Reserve}) + (\\text{Borrowing Fee})Total Debt\=(Borrowed Amount)+(Liquidation Reserve)+(Borrowing Fee) **Recovery Mode**: Total Debt\=(Borrowed Amount)+(Liquidation Reserve)\\text{Total Debt} = (\\text{Borrowed Amount}) + (\\text{Liquidation Reserve})Total Debt\=(Borrowed Amount)+(Liquidation Reserve) (Borrowing Fee is waived) **Example (Normal Mode)**: * Borrowed Amount: 180 USDFC * Liquidation Reserve: 20 USDFC * Borrowing Fee: 0.90 USDFC (0.5% of 180) * **Total Debt**: 200.90 USDFC ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#closing-a-trove) Closing a Trove To close your Trove, you must repay your Total Debt. However, the protocol immediately refunds the Liquidation Reserve, so you only need to prepare the net amount. **Example**: * Total Debt: 200.90 USDFC * Liquidation Reserve: 20 USDFC * **Amount You Need to Prepare**: 180.90 USDFC [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#common-questions) Common Questions ------------------------------------------------------------------------------------------------------------------------------- **Is there any ongoing interest on my borrowed USDFC?** No, the protocol only charges a one-time Borrowing Fee when you mint USDFC. There are no recurring interest charges. **What collateral ratio should I maintain to be safe?** While the minimum is 110%, it's recommended to maintain at least 150% to avoid liquidation during Recovery Mode. Many users maintain 200-250% as an extra safety buffer. **What happens to my Liquidation Reserve?** The 20 USDFC Liquidation Reserve is automatically refunded when you close your Trove. If your Trove is liquidated, this reserve is used to compensate the liquidator for gas costs. [Learn more in the FAQs section](https://docs.secured.finance/usdfc-stablecoin/faqs) [hashtag](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#related-topics) Related Topics --------------------------------------------------------------------------------------------------------------------------- * [Mint & Borrow](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow) * [Liquidation](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) * [Redemption](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption) * [Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) [PreviousSystem Overviewchevron-left](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/system-overview) [NextMint & Borrowchevron-right](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/mint-and-borrow) Last updated 10 months ago * [Overview](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#overview) * [How It Works](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#how-it-works) * [Key Components](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#key-components) * [Trove Lifecycle](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#trove-lifecycle) * [Key Parameters](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#key-parameters) * [Debt Calculations](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#debt-calculations) * [Total Debt Formula](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#total-debt-formula) * [Collateral Ratio Formula](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#collateral-ratio-formula) * [Action-Specific Calculations](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#action-specific-calculations) * [Opening a Trove](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#opening-a-trove) * [Closing a Trove](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#closing-a-trove) * [Common Questions](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#common-questions) * [Related Topics](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system#related-topics) sun-brightdesktopmoon sun-brightdesktopmoon --- # Safety Measures | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures#overview) Overview ----------------------------------------------------------------------------------------------------------------- Safety Measures in the Fixed-Rate Lending Protocol are critical mechanisms designed to protect the system from extreme market conditions, price manipulation, and other potential risks. These features work together to ensure the protocol remains stable, secure, and reliable for all participants. [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures#what-youll-learn) What You'll Learn ---------------------------------------------------------------------------------------------------------------------------------- * How Mark to Market provides realistic appraisal of financial positions * How Circuit Breaker prevents price manipulation and extreme volatility * How Base Price Adjustment maintains fair pricing during market stress * How Emergency Global Settlement protects the protocol in extreme scenarios * How these safety mechanisms work together to ensure system stability [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures#key-components) Key Components ----------------------------------------------------------------------------------------------------------------------------- * [**Mark to Market**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market) : Standard accounting practice for fair value assessment * [**Circuit Breaker**](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures/circuit-breaker) : Limits price deviations to prevent manipulation * [**Base Price Adjustment**](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures/base-price-adjustment) : Ensures fair pricing during market stress * [**Emergency Global Settlement**](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures/emergency-global-settlement) : Protocol-wide safety mechanism for extreme scenarios [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures#related-resources) Related Resources ----------------------------------------------------------------------------------------------------------------------------------- * [Market Dynamics](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics) * [Orderbook Deep Dive](https://docs.secured.finance/fixed-rate-lending/advanced-topics/orderbook-deep-dive) * [Core Mechanics](https://docs.secured.finance/fixed-rate-lending/core-mechanics) [PreviousItayose - Fair Price Discoverychevron-left](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/new-market-listing-and-delisting/itayose-fair-price-discovery) [NextCircuit Breakerchevron-right](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures/circuit-breaker) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures#overview) * [What You'll Learn](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures#what-youll-learn) * [Key Components](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures#key-components) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # ZC Bond Price to APR | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#overview) Overview ---------------------------------------------------------------------------------------------------------------------- On our platform, the execution of bond transactions is determined by the bond price. However, we recognize that users may find it more convenient to reference the Annual Percentage Rate (APR) when assessing yields. To accommodate this, we provide the APR as a reference rate, which is based on a linear calculation up to a 1-year tenor using an Act/365 basis. For tenors exceeding 1 year, we utilize annual compounding to determine the yield. [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#how-it-works) How It Works ------------------------------------------------------------------------------------------------------------------------------ The conversion between Zero-Coupon Bond prices and Annual Percentage Rates (APR) is a fundamental calculation in our platform. The method varies depending on the maturity period of the bond. circle-info **What is Act/365?** Act/365 is a day count convention used in bond math to calculate the accrued interest on a bond. It stands for Actual/365 and is also known as the Actual/365 Fixed convention. Note that the Act/365 convention assumes a fixed year of 365 (or 366) days, regardless of the actual number of days in the year. This is different from other day count conventions, such as the 30/360 convention, which assumes a fixed 30-day month and a 360-day year. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#bonds-with-maturity-less-than-1-year) Bonds with Maturity Less Than 1 Year For Zero-Coupon Bonds with maturities less than one year, we use a linear calculation with the Act/365 day count convention: FV\=PV∗(1+r∗Act/365)FV = PV \* (1 + r\*Act/365)FV\=PV∗(1+r∗Act/365) Where: * PV: Present Value * FV: Future Value * r: APR (Annual Percentage Rate) * Act: Actual duration to Maturity in days As an inherent characteristic of the ZC bond market, the present value (PV) of a bond is equivalent to its bond price, while the future value (FV) is fixed at 100, as per the design of our protocol. Duration is calculated using the seconds to maturity compared to seconds per year, enabled by our smart contract technology. To calculate APR from the bond price: APR\=(100/BondPrice−1)∗secondsPerYear/secondsToMaturityAPR = (100/BondPrice - 1)\*secondsPerYear/secondsToMaturityAPR\=(100/BondPrice−1)∗secondsPerYear/secondsToMaturity Where: * secondsPerYear: 365 \* 24 \* 60 \* 60 = 31,536,000 ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#bonds-with-maturity-greater-than-1-year) Bonds with Maturity Greater Than 1 Year For Zero-Coupon Bonds with maturities greater than one year, we use annual compounding: FV\=PV∗(1+r)nFV = PV \*(1 + r)^nFV\=PV∗(1+r)n Where: * PV: Present Value * FV: Future Value * r: APR (Annual Percentage Rate) * n: Years to Maturity Similar to the formulaic approach for tenors less than 1 year, the present value (PV) of a bond equals its bond price, while the future value (FV) remains fixed at 100, in accordance with our protocol design. To calculate APR from the bond price: APR\=(100/BondPrice)(1/YearsToMaturity)−1APR =(100/BondPrice)^{(1/YearsToMaturity)}-1APR\=(100/BondPrice)(1/YearsToMaturity)−1 Where: * Years to Maturity: Seconds to Maturity/Seconds Per Year ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#during-pre-open-period) During Pre-Open Period The pre-open period is a specific time frame before the official opening of a new bond market. During this period, we invite users to place their orders in the pre-open order book. This allows market participants to gauge interest and liquidity before the market officially starts. For more detailed explanation, please visit [Fair Price Discovery](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/new-market-listing-and-delisting/itayose-fair-price-discovery) . During the pre-open period, the APR displayed is based on the estimated 'opening price' at the time the market starts. It's important to note that the APR is not calculated from the spot date to the end of maturity. Instead, it is calculated from the start trading date to the end of maturity. circle-info The formula for APR during the pre-open period would be similar to the existing APR calculation, but the 'Actual duration to Maturity' (Act) and 'Years to Maturity' would be replaced by the 'Actual Bond Duration from Start Trading Date to End of Maturity' and 'PV' will be 'estimated opening price'. [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#key-parameters) Key Parameters ---------------------------------------------------------------------------------------------------------------------------------- Parameter Description Impact on APR Calculation Bond Price Current market price of the Zero-Coupon Bond Lower price → Higher APR Time to Maturity Time remaining until the bond matures Shorter maturity → Different calculation method Day Count Convention Method for counting days (Act/365) Standardizes time calculation Calculation Method Linear vs. Compounding based on maturity Affects APR for different time horizons Pre-Open Status Whether the bond is in pre-open period Changes time basis for calculation Seconds Per Year Standard time basis (31,536,000 seconds) Standardizes annualization [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#examples) Examples ---------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#example-1-calculating-apr-for-a-3-month-bond) Example 1: Calculating APR for a 3-Month Bond Let's calculate the APR for a 3-month Zero-Coupon Bond with a price of 98.50: 1. Since the maturity is less than 1 year, we use the linear calculation formula 2. Calculate seconds to maturity: 3 months = 90 days = 7,776,000 seconds 3. Apply the APR formula: 4. This means a bond priced at 98.50 with 3 months to maturity has an implied APR of 6.17% ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#example-2-calculating-apr-for-an-18-month-bond) Example 2: Calculating APR for an 18-Month Bond For an 18-month Zero-Coupon Bond with a price of 85.00: 1. Since the maturity is greater than 1 year, we use the annual compounding formula 2. Calculate years to maturity: 18 months = 1.5 years 3. Apply the APR formula: 4. This means a bond priced at 85.00 with 18 months to maturity has an implied APR of 11.22% ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#example-3-apr-during-pre-open-period) Example 3: APR During Pre-Open Period During a pre-open period for a new 6-month Zero-Coupon Bond: 1. The estimated opening price based on current orders is 97.00 2. The bond will start trading in 5 days 3. The actual duration from start trading to maturity is 175 days (180 - 5) 4. Apply the modified APR formula: 5. During the pre-open period, this bond would display an estimated APR of 6.44% [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#common-questions) Common Questions -------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#why-does-secured-finance-use-different-calculation-methods-for-different-maturities) Why does Secured Finance use different calculation methods for different maturities? We use different calculation methods for different maturities because: 1. **Market Convention**: This approach aligns with standard market practices in traditional finance 2. **Accuracy**: Linear calculations are simpler and sufficiently accurate for short-term bonds 3. **Compounding Effects**: For longer maturities, compounding effects become more significant 4. **Yield Curve Representation**: Different methods better represent the yield curve across various time horizons 5. **User Expectations**: Users familiar with traditional finance expect these calculation methods ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#how-does-the-apr-calculation-relate-to-the-actual-yield-ill-receive) How does the APR calculation relate to the actual yield I'll receive? The relationship between APR and actual yield: 1. **Exact Return**: For bonds held to maturity, your actual return will be exactly as calculated (bond price to 100) 2. **Annualized Representation**: APR standardizes returns to an annual basis for comparison 3. **No Compounding Assumption**: APR doesn't account for reinvestment of returns (unlike APY) 4. **Trading Impact**: If you sell before maturity, market conditions will determine your actual return 5. **Fee Consideration**: Transaction fees are not included in the APR calculation ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#can-i-compare-aprs-across-different-maturity-periods) Can I compare APRs across different maturity periods? Yes, you can compare APRs across different maturity periods: 1. **Standardized Basis**: APR converts all returns to an annual basis, enabling comparison 2. **Yield Curve Analysis**: Comparing APRs across maturities reveals the yield curve shape 3. **Risk Assessment**: Higher APRs for longer maturities typically indicate higher risk premiums 4. **Investment Strategy**: Comparing APRs helps determine optimal investment horizons 5. **Market Expectations**: Differences in APRs across maturities reflect market expectations for future rates ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#why-might-the-apr-change-during-the-pre-open-period) Why might the APR change during the pre-open period? The APR might change during the pre-open period due to: 1. **Order Flow**: New orders affect the estimated opening price, which changes the APR 2. **Market Sentiment**: Shifting market sentiment can alter bidding patterns 3. **External Factors**: News or events during the pre-open period may influence pricing 4. **Liquidity Dynamics**: Increasing order book depth can stabilize or shift the expected price 5. **Time Passage**: As the start trading date approaches, the time component in the calculation changes ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#how-accurate-is-the-displayed-apr-during-the-pre-open-period) How accurate is the displayed APR during the pre-open period? The accuracy of the pre-open APR: 1. **Estimation**: It's based on the current estimated opening price, which may change 2. **Order Book Depth**: More orders generally lead to more accurate estimates 3. **Market Conditions**: Stable market conditions produce more reliable estimates 4. **Historical Correlation**: Previous pre-open APRs have shown good correlation with actual opening APRs 5. **Indicative Only**: It should be considered indicative rather than guaranteed [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#related-resources) Related Resources ---------------------------------------------------------------------------------------------------------------------------------------- * [APR vs APY](https://docs.secured.finance/fixed-rate-lending/advanced-topics/apr-vs-apy) * [Discount Factor](https://docs.secured.finance/fixed-rate-lending/advanced-topics/discount-factor) * [Market Dynamics](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics) [PreviousAPR vs APYchevron-left](https://docs.secured.finance/fixed-rate-lending/advanced-topics/apr-vs-apy) [NextDiscount Factorchevron-right](https://docs.secured.finance/fixed-rate-lending/advanced-topics/discount-factor) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#overview) * [How It Works](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#how-it-works) * [Bonds with Maturity Less Than 1 Year](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#bonds-with-maturity-less-than-1-year) * [Bonds with Maturity Greater Than 1 Year](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#bonds-with-maturity-greater-than-1-year) * [During Pre-Open Period](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#during-pre-open-period) * [Key Parameters](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#key-parameters) * [Examples](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#examples) * [Example 1: Calculating APR for a 3-Month Bond](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#example-1-calculating-apr-for-a-3-month-bond) * [Example 2: Calculating APR for an 18-Month Bond](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#example-2-calculating-apr-for-an-18-month-bond) * [Example 3: APR During Pre-Open Period](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#example-3-apr-during-pre-open-period) * [Common Questions](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#common-questions) * [Why does Secured Finance use different calculation methods for different maturities?](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#why-does-secured-finance-use-different-calculation-methods-for-different-maturities) * [How does the APR calculation relate to the actual yield I'll receive?](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#how-does-the-apr-calculation-relate-to-the-actual-yield-ill-receive) * [Can I compare APRs across different maturity periods?](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#can-i-compare-aprs-across-different-maturity-periods) * [Why might the APR change during the pre-open period?](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#why-might-the-apr-change-during-the-pre-open-period) * [How accurate is the displayed APR during the pre-open period?](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#how-accurate-is-the-displayed-apr-during-the-pre-open-period) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr#related-resources) sun-brightdesktopmoon Copy APR = (100/98.50 - 1) * 31,536,000/7,776,000 APR = (1.0152 - 1) * 4.0552 APR = 0.0152 * 4.0552 APR = 0.0617 or 6.17% Copy APR = (100/85.00)^(1/1.5) - 1 APR = (1.1765)^(0.6667) - 1 APR = 1.1122 - 1 APR = 0.1122 or 11.22% Copy APR = (100/97.00 - 1) * 365/175 APR = (1.0309 - 1) * 2.0857 APR = 0.0309 * 2.0857 APR = 0.0644 or 6.44% sun-brightdesktopmoon --- # Legal | Secured Finance Docs [⚠️Risk Disclaimerchevron-right](https://docs.secured.finance/resources/legal/risk-disclaimer) [📜Terms of Usechevron-right](https://docs.secured.finance/resources/legal/terms-of-use) [🔒Privacy Policychevron-right](https://docs.secured.finance/resources/legal/privacy-policy) [PreviousUSDFC Logochevron-left](https://docs.secured.finance/resources/media-kit/usdfc-logo) [NextRisk Disclaimerchevron-right](https://docs.secured.finance/resources/legal/risk-disclaimer) Last updated 10 months ago sun-brightdesktopmoon sun-brightdesktopmoon --- # Liquidators | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#overview) Overview ------------------------------------------------------------------------------------------------------------------------ In the Secured Finance ecosystem, Liquidators play a crucial role in maintaining the health and stability of the decentralized loan protocol. As a Liquidator, you have the unique opportunity to participate in the liquidation process, ensuring the safety of lenders' funds while potentially earning rewards for your efforts. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#how-it-works) How It Works -------------------------------------------------------------------------------------------------------------------------------- When a borrower's collateral value falls below the liquidation threshold, their loan becomes susceptible to liquidation. As a Liquidator, your role is to step in and purchase the undercollateralized loan at a discounted price, providing the borrower with an opportunity to recover their position. By liquidating the loan, you allow lenders to recoup their funds and mitigate the risk of defaults. To become a Liquidator, you don't need to meet any specific criteria. Any user, even if using smart contracts, can call the liquidation process. For more technical details, please consult '[How Liquidation Works](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works) '. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#key-parameters) Key Parameters ------------------------------------------------------------------------------------------------------------------------------------ Parameter Description Value Liquidation Threshold The LTV ratio at which a position becomes eligible for liquidation 80% Liquidation Penalty The discount applied to collateral during liquidation 5% Minimum Liquidation Size The smallest position that can be liquidated None Liquidation Cooldown Time required between liquidations of the same position None [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#examples) Examples ------------------------------------------------------------------------------------------------------------------------ ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#example-1-basic-liquidation-process) Example 1: Basic Liquidation Process A liquidator monitors the protocol for undercollateralized positions: 1. The liquidator identifies a borrower with an LTV ratio of 82% (above the 80% threshold) 2. The borrower has 10,000 USDC collateral and 8,200 USDC worth of debt 3. The liquidator calls the liquidation function, specifying the borrower's address 4. The protocol automatically liquidates 50% of the position (4,100 USDC worth of debt) 5. The liquidator pays 4,100 USDC to cover this debt 6. The liquidator receives 4,305 USDC worth of collateral (4,100 × 1.05) 7. The liquidator earns a profit of 205 USDC (5% liquidation fee) ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#example-2-liquidation-bot-implementation) Example 2: Liquidation Bot Implementation [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#common-questions) Common Questions ---------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#who-can-become-a-liquidator) Who can become a liquidator? Anyone can become a liquidator in the Fixed-Rate Lending Protocol. There are no special requirements or permissions needed. Both individuals and smart contracts can participate in the liquidation process. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#how-do-i-profit-from-being-a-liquidator) How do I profit from being a liquidator? Liquidators profit from the liquidation penalty (currently 5%) applied to the liquidated debt. When you liquidate a position, you pay the debt amount but receive collateral worth more than what you paid. The difference is your profit. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#what-tools-do-i-need-to-become-an-effective-liquidator) What tools do I need to become an effective liquidator? To be an effective liquidator, you typically need: 1. A monitoring system to track positions close to liquidation threshold 2. Sufficient capital to cover the debt you're liquidating 3. Automation tools or bots to execute liquidations quickly 4. Gas price monitoring to ensure liquidations remain profitable ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#are-there-any-risks-involved-in-being-a-liquidator) Are there any risks involved in being a liquidator? Yes, there are several risks: 1. **Price Volatility**: Rapid price changes can affect the value of the collateral you receive 2. **Gas Costs**: High gas prices can reduce or eliminate profitability 3. **Competition**: Other liquidators may compete for the same liquidation opportunities 4. **Smart Contract Risk**: As with any DeFi activity, there's always some level of smart contract risk ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#how-quickly-do-i-need-to-act-when-a-position-becomes-eligible-for-liquidation) How quickly do I need to act when a position becomes eligible for liquidation? Speed is crucial in liquidations. Once a position crosses the liquidation threshold, it becomes a race among liquidators to execute the transaction first. Positions are typically liquidated within seconds or minutes of becoming eligible, depending on market conditions and visibility of the position. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#risks-and-rewards) Risks and Rewards ------------------------------------------------------------------------------------------------------------------------------------------ Being a Liquidator comes with both risks and rewards. The main risk is the potential price volatility of the assets involved in the liquidation process. The value of the collateral may fluctuate rapidly, affecting the profitability of the liquidation. On the other hand, the rewards for successful liquidations can be lucrative. Liquidators stand to receive a portion of the discounted collateral acquired during the liquidation. This reward serves as an incentive for participants to actively engage in the liquidation process and contribute to the protocol's stability. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#related-topics) Related Topics ------------------------------------------------------------------------------------------------------------------------------------ * [Liquidation Process](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation) * [How Liquidation Works](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works) * [Mark to Market](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market) [PreviousMark to Marketchevron-left](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market) [NextHow Liquidation Workschevron-right](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators/how-liquidation-works) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#overview) * [How It Works](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#how-it-works) * [Key Parameters](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#key-parameters) * [Examples](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#examples) * [Example 1: Basic Liquidation Process](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#example-1-basic-liquidation-process) * [Example 2: Liquidation Bot Implementation](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#example-2-liquidation-bot-implementation) * [Common Questions](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#common-questions) * [Who can become a liquidator?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#who-can-become-a-liquidator) * [How do I profit from being a liquidator?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#how-do-i-profit-from-being-a-liquidator) * [What tools do I need to become an effective liquidator?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#what-tools-do-i-need-to-become-an-effective-liquidator) * [Are there any risks involved in being a liquidator?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#are-there-any-risks-involved-in-being-a-liquidator) * [How quickly do I need to act when a position becomes eligible for liquidation?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#how-quickly-do-i-need-to-act-when-a-position-becomes-eligible-for-liquidation) * [Risks and Rewards](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#risks-and-rewards) * [Related Topics](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators#related-topics) sun-brightdesktopmoon Copy // Pseudocode for a basic liquidation bot async function monitorForLiquidations() { while (true) { // Get all borrowers from the protocol const borrowers = await protocol.getAllBorrowers(); // Check each borrower's position for (const borrower of borrowers) { const ltv = await protocol.getLTV(borrower); // If LTV is above liquidation threshold if (ltv >= 8000) { // 80% represented as 8000 basis points // Calculate potential profit const debtValue = await protocol.getDebtValue(borrower); const liquidationAmount = debtValue.div(2); // 50% liquidation const profit = liquidationAmount.mul(5).div(100); // 5% fee // Check if profitable after gas costs const gasEstimate = await protocol.estimateGas.liquidate(borrower); const gasCost = gasEstimate.mul(gasPrice); if (profit.gt(gasCost)) { // Execute liquidation await protocol.liquidate(borrower); console.log(`Liquidated ${borrower} for a profit of ${profit} USDC`); } } } // Wait before next check await sleep(30000); // Check every 30 seconds } } sun-brightdesktopmoon --- # Liquidation | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#overview) Overview ------------------------------------------------------------------------------------------------------------ The liquidation process in the Fixed-Rate Lending protocol is a critical mechanism that ensures the solvency and stability of the system. When a borrower's position becomes undercollateralized, the liquidation process allows for the orderly repayment of debt using the borrower's collateral, protecting lenders and maintaining the overall health of the protocol. This section explains the liquidation process specific to the Fixed-Rate Lending protocol. Note that this differs from the liquidation process involving the Stability Pool in the USDFC Stablecoin protocol. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#what-youll-learn) What You'll Learn ----------------------------------------------------------------------------------------------------------------------------- * How the liquidation process protects lenders from default risk * How Loan-to-Value (LTV) ratio determines liquidation eligibility * How liquidation penalties and thresholds work * How price oracles determine collateral value * How liquidators execute the liquidation process [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#key-components) Key Components ------------------------------------------------------------------------------------------------------------------------ * [**Mark to Market**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market) : The valuation mechanism for determining collateral value * [**Liquidators**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators) : The third-party actors who execute liquidations * [**Case Study**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidation-case-study) : A detailed example of the liquidation process [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#why-liquidation-process-is-important) Why Liquidation Process is Important -------------------------------------------------------------------------------------------------------------------------------------------------------------------- The liquidation process holds paramount importance for Secured Finance as a Decentralized Loan Protocol, primarily for two crucial reasons: 1. **Mitigating default risk:** Through the liquidation process, lenders are safeguarded against the risk of default by borrowers. When a borrower's collateral value falls below the liquidation threshold relative to their debt, their loan becomes eligible for liquidation, ensuring the lenders can recover their funds. 2. **Maintaining protocol stability:** The liquidation process plays a pivotal role in preserving the stability of the DeFi loan protocol. It prevents the accumulation of undercollateralized loans. Excessive loan defaults can deplete the protocol's reserves, potentially leading to system instability. By executing liquidations, the protocol can maintain a healthy balance and ensure its overall stability. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#how-does-it-work) How Does It Work? ----------------------------------------------------------------------------------------------------------------------------- When the borrower's [**Loan to Value (LTV)**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#loan-to-value) ratio surpasses the defined [**Threshold**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#threshold) , the borrower's position (collateral) becomes subject to liquidation. During a liquidation process: * A portion of the borrower's outstanding debt (up to 50%) is repaid using their deposited collateral. * The amount of collateral seized is equal to the value of the debt being repaid plus a [**Liquidation Penalty**](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#liquidation-penalty) . * Liquidations are typically executed by third-party [Liquidators](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators) who are incentivized to perform this action. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#loan-to-value-ltv) Loan to Value (LTV) The Loan to Value (LTV) ratio compares the value of a borrower's debt to the value of their collateral. `LTV = (Value of Debt / Value of Collateral) * 100%` A higher LTV indicates a higher risk of liquidation. The platform visualizes this risk: * **Green:** Low risk * **Yellow:** Moderate risk * **Red:** High risk (approaching liquidation threshold)  LTV and Liquidation Risk Visualization ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#threshold) Threshold The liquidation threshold is the LTV percentage at which a borrower's position becomes eligible for liquidation. * **Current Threshold:** 80% for all currencies. * **Dynamic Adjustment:** This threshold may be adjusted based on market conditions (volatility, liquidity) for specific assets. * **Over-Collateralization:** Borrowers must initially deposit collateral worth significantly more than their loan amount to provide a safety buffer. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#price-oracle) Price Oracle The value of collateral is determined using real-time price feeds, primarily from Chainlink. The protocol uses [Mark-to-Market](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market) principles based on recent trading activity (VWAP) where available, falling back to oracle prices if necessary. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#liquidation-penalty) Liquidation Penalty ---------------------------------------------------------------------------------------------------------------------------------- A penalty is applied during liquidation to compensate the liquidator and contribute to the protocol's reserve fund. * **Current Penalty:** 7% on the value of the collateral being liquidated. Borrowers should actively manage their collateral levels to avoid liquidation and the associated penalty. > See a detailed example in the [Liquidation Case Study](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidation-case-study) > . Learn more about the role of liquidators in [Liquidators](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/liquidators) > . [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#related-resources) Related Resources ------------------------------------------------------------------------------------------------------------------------------ * [Collateralization](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization) * [Order Book System](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system) * [Safety Measures](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures) [PreviousTokenizationchevron-left](https://docs.secured.finance/fixed-rate-lending/core-mechanics/tokenization) [NextMark to Marketchevron-right](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation/mark-to-market) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#overview) * [What You'll Learn](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#what-youll-learn) * [Key Components](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#key-components) * [Why Liquidation Process is Important](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#why-liquidation-process-is-important) * [How Does It Work?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#how-does-it-work) * [Loan to Value (LTV)](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#loan-to-value-ltv) * [Threshold](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#threshold) * [Price Oracle](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#price-oracle) * [Liquidation Penalty](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#liquidation-penalty) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/core-mechanics/liquidation#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Support & Contacts | Secured Finance Docs [hashtag](https://docs.secured.finance/community/support-and-contacts#contact-details) Contact Details ----------------------------------------------------------------------------------------------------------- * **Website**: [https://secured.finance/arrow-up-right](https://secured.finance/) * **Github**: [https://github.com/secured-financearrow-up-right](https://github.com/secured-finance) * **Whitepaper**: [https://blog.secured.finance/secured-finance-protocol-6cee22f571b4arrow-up-right](https://blog.secured.finance/secured-finance-protocol-6cee22f571b4) * **Concept Paper**: [https://blog.secured.finance/the-intersection-of-the-eurocurrency-and-cryptocurrency-markets-f933418ae349arrow-up-right](https://blog.secured.finance/the-intersection-of-the-eurocurrency-and-cryptocurrency-markets-f933418ae349) * **Medium**: [https://medium.com/@SecuredFiarrow-up-right](https://medium.com/@SecuredFi) * **Blog**: [https://blog.secured.finance/arrow-up-right](https://blog.secured.finance/) * **Twitter**: [https://twitter.com/Secured\_Fiarrow-up-right](https://twitter.com/Secured_Fi) * **Discord**: [https://discord.com/invite/3kytCrv3qYarrow-up-right](https://discord.com/invite/3kytCrv3qY) * **Youtube**: [https://www.youtube.com/@securedfinance\_officialarrow-up-right](https://www.youtube.com/@securedfinance_official) * **Galxe**: [https://galxe.com/securedfi/campaignsarrow-up-right](https://galxe.com/securedfi/campaigns) * **Guild**: [https://guild.xyz/securedfiarrow-up-right](https://guild.xyz/securedfi) [PreviousSecured Finance Points (SFP) v1chevron-left](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2/secured-finance-points-sfp-v1) [NextMedia Kitchevron-right](https://docs.secured.finance/resources/media-kit) Last updated 10 months ago sun-brightdesktopmoon sun-brightdesktopmoon --- # Order Book System | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#overview) Overview ------------------------------------------------------------------------------------------------------------------ Secured Finance's Loan Market Platform incorporates an on-chain orderbook system, a pioneering application in the DeFi space. This system facilitates the trading of [Zero-Coupon bonds](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/zero-coupon-bonds) with a specific maturity date. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#how-it-works) How It Works -------------------------------------------------------------------------------------------------------------------------- An orderbook is an electronic list of buy and sell orders for Zero-Coupon bonds, organized by price level. It enhances transparency by providing visualized information on price, availability, depth of trade, and more. A borrow order refers to an order to borrow crypto assets, equivalent to selling a bond on our platform. After pledging sufficient collateral, you can place a sell order, selling a Zero-Coupon bond and receiving the equivalent cash upfront. You then owe the obligation to repay the money with interest at maturity. A lend order is an order to lend, equivalent to buying a bond. You buy a Zero-Coupon bond at a discount, which will be redeemable at par at expiration. A Zero-Coupon bond is a debt security that doesn't pay interest (coupons) but is traded at a deep discount, rendering profit at maturity when the bond is redeemed for its full face value. On our platform, bonds will be redeemable at 100. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#key-parameters) Key Parameters ------------------------------------------------------------------------------------------------------------------------------ Parameter Description Value Bond Par Value The value at which bonds are redeemed at maturity 100 Order Types Types of orders supported by the orderbook Market, Limit Order Sides Sides of the orderbook Borrow (Sell), Lend (Buy) Price Precision Decimal precision for bond prices 2 decimal places Minimum Order Size Smallest order that can be placed Varies by asset circle-info **Why is On-Chain Orderbook so difficult?** The on-chain Orderbook system is often perceived as inefficient due to high gas costs. As a result, many DeFi projects rely on the liquidity pool system (LP) which is a great financial innovation for gathering liquidity. However, the interest rate provided by the pool lacks composability and transparency. Secured Finance has successfully deployed an on-chain orderbook system using the 'lazy evaluation' method, which significantly reduces gas costs. Learn more details at '[Full On-Chain Orderbook system](https://docs.secured.finance/fixed-rate-lending/advanced-topics/orderbook-deep-dive) ' at technical overview. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#examples) Examples ------------------------------------------------------------------------------------------------------------------ ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#example-1-placing-a-lend-order) Example 1: Placing a Lend Order A user wants to lend 1,000 USDC for a 3-month term at a 5% APR: 1. They navigate to the lending interface and select the 3-month maturity market 2. They choose to place a limit order to buy a Zero-Coupon bond 3. For a 5% APR on a 3-month term, they set their price at approximately 98.75 (calculated as: 100 / (1 + 0.05 × 0.25) = 98.75) 4. They specify the amount as 1,000 USDC 5. When the order is filled, they receive a Zero-Coupon bond that will be worth 1,000 USDC at maturity 6. At maturity, they automatically receive 1,000 USDC, earning approximately 12.5 USDC in interest ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#example-2-placing-a-borrow-order) Example 2: Placing a Borrow Order A borrower needs 5,000 USDC for 6 months and is willing to pay up to 6% APR: 1. After depositing sufficient collateral, they navigate to the borrowing interface 2. They select the 6-month maturity market 3. They choose to place a market order to sell a Zero-Coupon bond 4. For a 6% APR on a 6-month term, the price would be approximately 97.09 (calculated as: 100 / (1 + 0.06 × 0.5) = 97.09) 5. They specify the amount as 5,000 USDC 6. When the order is filled, they receive approximately 4,854.5 USDC upfront 7. At maturity, they will need to repay 5,000 USDC [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#common-questions) Common Questions ---------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#how-does-the-orderbook-match-orders) How does the orderbook match orders? The orderbook matches orders based on price-time priority. The highest buy (lend) orders are matched with the lowest sell (borrow) orders. If multiple orders exist at the same price, they are matched in the order they were placed (first come, first served). ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#what-happens-if-my-order-is-not-filled-immediately) What happens if my order is not filled immediately? If your order is not filled immediately, it remains in the orderbook until it is either filled, canceled by you, or expires (if you set an expiration time). You can monitor the status of your orders in the "Open Orders" section of the platform. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#can-i-cancel-an-order-after-placing-it) Can I cancel an order after placing it? Yes, you can cancel any unfilled or partially filled order at any time. Once an order is filled, however, it becomes a position and cannot be canceled. You would need to close the position by taking an opposite position. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#whats-the-difference-between-market-and-limit-orders) What's the difference between market and limit orders? A market order is executed immediately at the best available price in the orderbook. A limit order is only executed at the specified price or better. Market orders provide immediate execution but may have price slippage, while limit orders give you price control but may not be filled immediately or at all. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#how-is-the-apr-calculated-from-bond-prices) How is the APR calculated from bond prices? For bonds with maturity less than 1 year: APR = (100/BondPrice - 1) × (365/DaysToMaturity) For example, a 3-month bond priced at 98.75 would have an APR of approximately 5%: (100/98.75 - 1) × (365/90) ≈ 0.05 or 5% [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#related-resources) Related Resources ------------------------------------------------------------------------------------------------------------------------------------ * [Order Types](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type) * [Order Life Cycle](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-life-cycle/case-study-order-status-and-transition) * [Zero-Coupon Bonds](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/zero-coupon-bonds) * [Orderbook Deep Dive](https://docs.secured.finance/fixed-rate-lending/advanced-topics/orderbook-deep-dive) [PreviousCore Mechanicschevron-left](https://docs.secured.finance/fixed-rate-lending/core-mechanics) [NextOrder Typechevron-right](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system/order-type) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#overview) * [How It Works](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#how-it-works) * [Key Parameters](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#key-parameters) * [Examples](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#examples) * [Example 1: Placing a Lend Order](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#example-1-placing-a-lend-order) * [Example 2: Placing a Borrow Order](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#example-2-placing-a-borrow-order) * [Common Questions](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#common-questions) * [How does the orderbook match orders?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#how-does-the-orderbook-match-orders) * [What happens if my order is not filled immediately?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#what-happens-if-my-order-is-not-filled-immediately) * [Can I cancel an order after placing it?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#can-i-cancel-an-order-after-placing-it) * [What's the difference between market and limit orders?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#whats-the-difference-between-market-and-limit-orders) * [How is the APR calculated from bond prices?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#how-is-the-apr-calculated-from-bond-prices) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/core-mechanics/order-book-system#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Introduction | Secured Finance Docs Welcome to the Secured Finance Developer Portal, your comprehensive resource for building on top of Secured Finance's protocols. Whether you're a hackathon participant, a web2 developer exploring blockchain development, or a seasoned web3 developer, this portal provides the tools, documentation, and examples to help you integrate with our ecosystem. [hashtag](https://docs.secured.finance/developer-portal/introduction#what-youll-learn) What You'll Learn ------------------------------------------------------------------------------------------------------------- * How to query Secured Finance protocol data using our subgraphs * How to integrate with USDFC and Fixed-Rate Lending protocols using our SDKs * Best practices for building applications on top of Secured Finance * How to participate in our Bug Bounty program [hashtag](https://docs.secured.finance/developer-portal/introduction#key-components) Key Components -------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/developer-portal/introduction#api-reference) API Reference Our API Reference provides comprehensive documentation for querying data from our protocols using GraphQL through The Graph's subgraphs: * [Fixed-Rate Lending Subgraph](https://docs.secured.finance/developer-portal/api-reference/fixed-rate-lending-subgraph) - Query data from the Fixed-Rate Lending protocol > **Note:** The USDFC Subgraph is currently under development and not yet deployed. USDFC data is only available through the [USDFC SDK](https://docs.secured.finance/developer-portal/sdk-reference/usdfc-sdk) > . ### [hashtag](https://docs.secured.finance/developer-portal/introduction#sdk-reference) SDK Reference Our SDK Reference provides detailed documentation for interacting with our protocols programmatically: * [USDFC SDK](https://docs.secured.finance/developer-portal/sdk-reference/usdfc-sdk) - Integrate with the USDFC stablecoin protocol * [Fixed-Rate Lending SDK](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk) - Integrate with the Fixed-Rate Lending protocol ### [hashtag](https://docs.secured.finance/developer-portal/introduction#bug-bounty) Bug Bounty We maintain an active [Bug Bounty](https://docs.secured.finance/developer-portal/bug-bounty) program to incentivize security researchers to help us identify and fix vulnerabilities in our protocols. [hashtag](https://docs.secured.finance/developer-portal/introduction#getting-started) Getting Started ---------------------------------------------------------------------------------------------------------- If you're new to web3 development, we recommend starting with our [DeFi Starter Guide](https://docs.secured.finance/introduction/defi-starter-guide) to familiarize yourself with fundamental concepts. For experienced developers, you can dive directly into our API and SDK references to start building applications on top of our protocols. [hashtag](https://docs.secured.finance/developer-portal/introduction#related-resources) Related Resources -------------------------------------------------------------------------------------------------------------- * [USDFC Stablecoin Documentation](https://docs.secured.finance/usdfc-stablecoin/overview) * [Fixed-Rate Lending Documentation](https://docs.secured.finance/fixed-rate-lending/overview) * [GitHub Repositoriesarrow-up-right](https://github.com/Secured-Finance) [PreviousFAQschevron-left](https://docs.secured.finance/fixed-rate-lending/faqs) [NextAPI Referencechevron-right](https://docs.secured.finance/developer-portal/api-reference) Last updated 10 months ago * [What You'll Learn](https://docs.secured.finance/developer-portal/introduction#what-youll-learn) * [Key Components](https://docs.secured.finance/developer-portal/introduction#key-components) * [API Reference](https://docs.secured.finance/developer-portal/introduction#api-reference) * [SDK Reference](https://docs.secured.finance/developer-portal/introduction#sdk-reference) * [Bug Bounty](https://docs.secured.finance/developer-portal/introduction#bug-bounty) * [Getting Started](https://docs.secured.finance/developer-portal/introduction#getting-started) * [Related Resources](https://docs.secured.finance/developer-portal/introduction#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Managing Collateral Effectively | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#prerequisites) Prerequisites ----------------------------------------------------------------------------------------------------------------------------------------- * An active Trove with FIL collateral * Access to the [USDFC applicationarrow-up-right](https://app.usdfc.net/) * Connected wallet with FIL for additional collateral (if adding) [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#overview) Overview ------------------------------------------------------------------------------------------------------------------------------- Managing your collateral effectively is crucial for maintaining a healthy Trove and avoiding liquidation. This guide will show you how to add or withdraw collateral, and how to determine the optimal collateral ratio for your risk tolerance. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#step-1-access-your-trove) Step 1: Access Your Trove ---------------------------------------------------------------------------------------------------------------------------------------------------------------- First, you need to access your existing Trove in the USDFC application. 1. Navigate to the [USDFC applicationarrow-up-right](https://app.usdfc.net/) 2. Connect your wallet if not already connected 3. Go to the "Trove" section on the USDFC Dashboard page 4. Review your current collateral amount, debt, and collateral ratio  Trove dashboard showing current position details [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#step-2-select-adjust-trove) Step 2: Select "Adjust Trove" ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- To manage your collateral, you need to adjust your Trove. 1. Click on the "Adjust" button 2. This will open the Trove adjustment interface  "Adjust Trove" interface [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#step-3-add-or-withdraw-collateral) Step 3: Add or Withdraw Collateral ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Now you can add more collateral or withdraw some of your existing collateral. ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#to-add-collateral) To Add Collateral: 1. In the adjustment interface, locate the "Collateral" input field 2. Increase the amount of FIL from your current value 3. The system will automatically calculate your new collateral ratio 4. Adding collateral increases your collateral ratio and reduces liquidation risk  Screenshot of the interface for adding collateral ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#to-withdraw-collateral) To Withdraw Collateral: 1. In the adjustment interface, locate the "Collateral" input field 2. Decrease the amount of FIL from your current value 3. The system will automatically calculate your new collateral ratio 4. Ensure your new collateral ratio remains above the minimum required (110%)  Screenshot of the interface for withdrawing collateral [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#step-4-review-transaction-details) Step 4: Review Transaction Details ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Before confirming, review all transaction details carefully. 1. Check the collateral adjustment amount 2. Verify your new collateral ratio 3. Understand how this affects your liquidation risk 4. Review any fees that will be applied [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#step-5-confirm-and-execute) Step 5: Confirm and Execute -------------------------------------------------------------------------------------------------------------------------------------------------------------------- Once you're satisfied with the details, you can proceed with the adjustment. 1. Click the "Confirm" button 2. Confirm the transaction in your wallet 3. Wait for the transaction to be processed on the blockchain  Screenshot of the wallet confirmation screen [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#step-6-verify-the-adjustment) Step 6: Verify the Adjustment ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ After the transaction is confirmed, verify that your collateral was adjusted successfully. 1. Check that your Trove details have been updated with the new collateral amount 2. Verify your new collateral ratio 3. If withdrawing collateral, confirm that the FIL has been added to your wallet balance  Screenshot showing updated Trove details [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#understanding-collateral-ratios) Understanding Collateral Ratios ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#key-collateral-ratio-thresholds) Key Collateral Ratio Thresholds Threshold Value Description Minimum Collateral Ratio (MCR) 110% The absolute minimum ratio required to avoid liquidation Recovery Mode Threshold 150% When the system enters Recovery Mode if the Total Collateral Ratio falls below this Recommended Safe Ratio 200%+ A conservative ratio that provides a good buffer against price fluctuations ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#calculating-your-liquidation-price) Calculating Your Liquidation Price To calculate the FIL price at which your Trove would reach the minimum collateral ratio (110%): Liquidation Price\=Debt in USDFC×1.1Collateral in FIL\\text{Liquidation Price} = \\frac{\\text{Debt in USDFC} \\times 1.1}{\\text{Collateral in FIL}}Liquidation Price\=Collateral in FILDebt in USDFC×1.1 \[Image: Visual representation of the liquidation price calculation\] [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#strategies-for-collateral-management) Strategies for Collateral Management --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#conservative-strategy-low-risk) Conservative Strategy (Low Risk) * Maintain a collateral ratio of 200% or higher * Add collateral proactively when FIL price starts to decline * Smaller USDFC minting relative to collateral value ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#balanced-strategy-medium-risk) Balanced Strategy (Medium Risk) * Maintain a collateral ratio between 150% and 200% * Monitor FIL price regularly and adjust as needed * Balance between capital efficiency and safety ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#aggressive-strategy-high-risk) Aggressive Strategy (High Risk) * Maintain a collateral ratio between 110% and 150% * Requires very active monitoring and quick reactions to price changes * Maximizes capital efficiency but has higher liquidation risk \[Image: Visual comparison of different collateral management strategies\] [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#next-steps) Next Steps ----------------------------------------------------------------------------------------------------------------------------------- * [Monitor your position](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position) regularly to stay informed about your Trove's health * Consider [depositing USDFC into the Stability Pool](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool) to earn rewards * Learn about [Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) and how it affects your Trove [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#troubleshooting) Troubleshooting --------------------------------------------------------------------------------------------------------------------------------------------- * **Cannot Withdraw Collateral**: Your withdrawal might push your collateral ratio below the minimum requirement * **Transaction Failed**: Ensure you have enough FIL for gas fees * **Collateral Not Showing**: Refresh the page or check your transaction history [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#common-questions) Common Questions ----------------------------------------------------------------------------------------------------------------------------------------------- **Q: How often should I adjust my collateral?** A: This depends on your risk tolerance and FIL price volatility. More volatile markets require more frequent adjustments. **Q: What happens if FIL price drops suddenly?** A: If the price drop causes your collateral ratio to fall below the minimum requirement (110%), your Trove may be liquidated. **Q: Can I add collateral without minting more USDFC?** A: Yes, you can add collateral without changing your debt amount to increase your collateral ratio. **Q: Is there a fee for adjusting my collateral?** A: Adding collateral only incurs gas fees. Withdrawing collateral may incur both gas fees and a small protocol fee. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#related-topics) Related Topics ------------------------------------------------------------------------------------------------------------------------------------------- * [The Trove System](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) * [Liquidation](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/liquidation) * [Collateral Ratioarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/usdfc-stablecoin/getting-started/broken-reference/README.md) * [Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) [PreviousMinting USDFC Step-by-Stepchevron-left](https://docs.secured.finance/usdfc-stablecoin/getting-started/minting-usdfc-step-by-step) [NextMonitoring Your Positionchevron-right](https://docs.secured.finance/usdfc-stablecoin/getting-started/monitoring-your-position) Last updated 9 months ago * [Prerequisites](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#prerequisites) * [Overview](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#overview) * [Step 1: Access Your Trove](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#step-1-access-your-trove) * [Step 2: Select "Adjust Trove"](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#step-2-select-adjust-trove) * [Step 3: Add or Withdraw Collateral](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#step-3-add-or-withdraw-collateral) * [To Add Collateral:](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#to-add-collateral) * [To Withdraw Collateral:](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#to-withdraw-collateral) * [Step 4: Review Transaction Details](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#step-4-review-transaction-details) * [Step 5: Confirm and Execute](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#step-5-confirm-and-execute) * [Step 6: Verify the Adjustment](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#step-6-verify-the-adjustment) * [Understanding Collateral Ratios](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#understanding-collateral-ratios) * [Key Collateral Ratio Thresholds](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#key-collateral-ratio-thresholds) * [Calculating Your Liquidation Price](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#calculating-your-liquidation-price) * [Strategies for Collateral Management](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#strategies-for-collateral-management) * [Conservative Strategy (Low Risk)](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#conservative-strategy-low-risk) * [Balanced Strategy (Medium Risk)](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#balanced-strategy-medium-risk) * [Aggressive Strategy (High Risk)](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#aggressive-strategy-high-risk) * [Next Steps](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#next-steps) * [Troubleshooting](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#troubleshooting) * [Common Questions](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#common-questions) * [Related Topics](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively#related-topics) sun-brightdesktopmoon sun-brightdesktopmoon --- # Terms of Use | Secured Finance Docs file-pdf 256KB [Secured Finance - Terms of Use\_20250220.pdf](https://2995566130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5n2yKWdxy0II5Sd3ZIQL%2Fuploads%2Fgit-blob-51e9aaaa0eb2e8b9bedd31b3c13895a64654e51f%2FSecured%20Finance%20-%20Terms%20of%20Use_20250220.pdf?alt=media) PDF downloadDownload[arrow-up-right-from-squareOpen](https://2995566130-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5n2yKWdxy0II5Sd3ZIQL%2Fuploads%2Fgit-blob-51e9aaaa0eb2e8b9bedd31b3c13895a64654e51f%2FSecured%20Finance%20-%20Terms%20of%20Use_20250220.pdf?alt=media) [PreviousRisk Disclaimerchevron-left](https://docs.secured.finance/resources/legal/risk-disclaimer) [NextPrivacy Policychevron-right](https://docs.secured.finance/resources/legal/privacy-policy) Last updated 4 months ago sun-brightdesktopmoon sun-brightdesktopmoon --- # Bug Bounty | Secured Finance Docs [hashtag](https://docs.secured.finance/developer-portal/bug-bounty#bug-bounty-program) **Bug Bounty Program** ------------------------------------------------------------------------------------------------------------------ **USDFC Bug Bounty:** [https://r.xyz/bug-bounty/programs/usdfc-bug-bounty-by-secured-financearrow-up-right](https://r.xyz/bug-bounty/programs/usdfc-bug-bounty-by-secured-finance) [PreviousUSDFC SDKchevron-left](https://docs.secured.finance/developer-portal/sdk-reference/usdfc-sdk) [NextOverviewchevron-right](https://docs.secured.finance/community/community) Last updated 10 months ago sun-brightdesktopmoon sun-brightdesktopmoon --- # Bridge | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#prerequisites) Prerequisites --------------------------------------------------------------------------------------------------------------------------------- * A connected wallet with assets to transfer * Basic understanding of blockchain networks * Access to the Secured Finance platform [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#overview) Overview ----------------------------------------------------------------------------------------------------------------------- The [**Bridge tab**arrow-up-right](https://app.secured.finance/bridge/) lets you easily transfer assets between different blockchain networks directly within the Secured Finance platform. Powered by **Axelar**, it provides a simple and secure way to perform cross-chain swaps without the need for external exchanges. [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#what-you-can-do-with-the-bridge) What You Can Do with the Bridge --------------------------------------------------------------------------------------------------------------------------------------------------------------------- * **Cross-Chain Swaps**: Exchange tokens from one blockchain network to another (e.g., swap USDC on Ethereum for FIL on the Filecoin network) * **Obtain Native Tokens**: Acquire native tokens required for transaction fees on other networks, such as FIL for the Filecoin network or ETH for Ethereum * **Expand Your Portfolio**: Access assets and opportunities available on multiple blockchain networks [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#step-1-connect-your-wallet) Step 1: Connect Your Wallet ------------------------------------------------------------------------------------------------------------------------------------------------------------ 1. Navigate to the [Bridge tabarrow-up-right](https://app.secured.finance/bridge/) 2. Click **Connect Wallet** at the top right corner 3. Select your wallet provider (MetaMask, WalletConnect, etc.) 4. Approve the connection request in your wallet [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#step-2-select-networks-and-tokens) Step 2: Select Networks and Tokens -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1. In the **From Network** dropdown, choose the blockchain and token you are swapping from (e.g., Ethereum and USDC) 2. In the **To Network** dropdown, select the destination blockchain and token you want to receive (e.g., Filecoin and FIL) 3. Ensure both networks are supported by your wallet  Bridge Interface [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#step-3-enter-the-amount) Step 3: Enter the Amount ------------------------------------------------------------------------------------------------------------------------------------------------------ 1. Specify the amount of the token you wish to swap in the input field 2. Review the estimated amount you will receive after fees 3. Ensure you have sufficient balance in your wallet [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#step-4-approve-token-use) Step 4: Approve Token Use -------------------------------------------------------------------------------------------------------------------------------------------------------- 1. If this is your first time using this token with the bridge, click **Give Permission to Use Token** 2. Confirm the approval transaction in your wallet 3. Wait for the approval transaction to be confirmed on the blockchain [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#step-5-review-and-confirm) Step 5: Review and Confirm ---------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Check the transaction details, including: * Estimated time for completion * Network fees * Exchange rate 2. Click **Swap** to initiate the transfer 3. Confirm the transaction in your wallet 4. Wait for the transaction to be processed [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#step-6-verify-receipt) Step 6: Verify Receipt -------------------------------------------------------------------------------------------------------------------------------------------------- 1. Once completed, check your wallet on the destination network 2. Confirm the arrival of your tokens 3. The transaction history will be available in the Bridge tab circle-info Need more detailed guidance? Here is the step-by-step Medium article: [**How to Obtain Filecoin Using Cross-Chain Swap**arrow-up-right](https://medium.com/secured-finance/how-to-obtain-filecoin-using-cross-chain-swap-4364eeeacbbe) . [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#next-steps) Next Steps --------------------------------------------------------------------------------------------------------------------------- After successfully bridging assets, you might want to: * [Deposit your assets as collateralarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/fixed-rate-lending/borrowing-assets.md) * [Start lending your assetsarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/fixed-rate-lending/lending-assets.md) * [Explore trading opportunitiesarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/fixed-rate-lending/getting-started/trading/README.md) [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#troubleshooting) Troubleshooting ------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#transaction-pending-for-too-long) Transaction Pending for Too Long If your transaction has been pending for an extended period: * Check the network status for congestion * Verify the transaction status on the blockchain explorer * Contact support if the issue persists after 30 minutes ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#tokens-not-received) Tokens Not Received If you don't see your tokens in the destination wallet: * Ensure you're connected to the correct network in your wallet * Check the transaction status on Axelar Explorer * Allow up to 15 minutes during periods of high network congestion * Verify that your wallet supports the token you're receiving ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#insufficient-gas-fees) Insufficient Gas Fees If you encounter gas fee errors: * Ensure you have enough native tokens (ETH, FIL, etc.) to cover gas fees * Try reducing the amount you're swapping to leave room for gas fees * Consider bridging during off-peak hours when gas fees are lower [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#technical-details) Technical Details ----------------------------------------------------------------------------------------------------------------------------------------- The Bridge feature utilizes **Axelar's cross-chain technology** to ensure secure and efficient asset transfers between supported networks. The process involves: 1. Locking your tokens in a smart contract on the source chain 2. Generating proof of this lock 3. Verifying the proof on the destination chain 4. Minting or releasing equivalent tokens on the destination chain This process typically completes within a few minutes but may vary based on network conditions. [PreviousPortfoliochevron-left](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio) [NextPointschevron-right](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/points) Last updated 10 months ago * [Prerequisites](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#prerequisites) * [Overview](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#overview) * [What You Can Do with the Bridge](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#what-you-can-do-with-the-bridge) * [Step 1: Connect Your Wallet](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#step-1-connect-your-wallet) * [Step 2: Select Networks and Tokens](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#step-2-select-networks-and-tokens) * [Step 3: Enter the Amount](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#step-3-enter-the-amount) * [Step 4: Approve Token Use](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#step-4-approve-token-use) * [Step 5: Review and Confirm](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#step-5-review-and-confirm) * [Step 6: Verify Receipt](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#step-6-verify-receipt) * [Next Steps](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#next-steps) * [Troubleshooting](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#troubleshooting) * [Transaction Pending for Too Long](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#transaction-pending-for-too-long) * [Tokens Not Received](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#tokens-not-received) * [Insufficient Gas Fees](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#insufficient-gas-fees) * [Technical Details](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge#technical-details) sun-brightdesktopmoon sun-brightdesktopmoon --- # ZC Bond Collateral | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#overview) Overview -------------------------------------------------------------------------------------------------------------------- At Secured Finance, we offer our users the innovative opportunity to use Zero Coupon Bond (ZC) as collateral for borrowing. This feature allows participants to leverage yield spread trading while enjoying the benefits of lending and borrowing on our platform. However, it's important to understand the specific conditions and risks associated with using ZC as collateral. circle-info Users' ZC bonds will be automatically used as collateral until the usage hits 80%. After that, cash collateral will be used. [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#what-youll-learn) What You'll Learn ------------------------------------------------------------------------------------------------------------------------------------- * How Zero-Coupon Bonds can be used as collateral for borrowing * How collateral valuation and utilization works with ZC Bonds * How the Loan-to-Value (LTV) calculation adjusts for ZC Bond collateral * The liquidation process and risk management for ZC Bond collateral [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#key-components) Key Components -------------------------------------------------------------------------------------------------------------------------------- * [**Collateral Valuation**](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#collateral-valuation) : How ZC Bonds are valued as collateral * [**ZC Collateral Utilization**](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#zc-collateral-utilization) : How the system prioritizes ZC Bonds as collateral * [**Liquidation Process**](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#liquidation-process-with-zc-collateral) : How liquidation works with ZC Bond collateral * [**Risk Management**](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#risk-management) : Important considerations when using ZC Bonds as collateral * [**Case Study**](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral/zc-collateral-case-study) : Practical examples of using ZC Bonds as collateral ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#collateral-valuation) **Collateral Valuation** When leveraging Zero Coupon Bonds (ZCs) as collateral on our platform, the valuation haircut is strategically set at 20% for loans in the same currency as the ZC. Conversely, for loans in a currency different from that of the ZC, a 100% haircut is currently applied. circle-info We are actively exploring adjustments to this policy, aiming to reduce the haircut for different currency borrowings in the future. Factors such as liquidity, volatility, and correlation between currencies will guide these adjustments. Importantly, these potential changes may also be subject to community voting, allowing our users to have a direct impact on future collateral valuation policies. This nuanced approach to collateral valuation is essential for users to understand as they devise their trading strategies and manage their collateral assets effectively, with the added dimension of community-driven governance enhancing the platform's adaptability and responsiveness to user needs. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#understanding-collateral-utilization-ratio-and-ltv-with-zero-coupon-bonds) Understanding Collateral Utilization Ratio and LTV with Zero Coupon Bonds Leveraging Zero Coupon Bonds (ZCs) as collateral on our platform requires an understanding of both the collateral utilization ratio and the Loan-to-Value (LTV) ratio, especially for loans in the same currency as the ZC. Our approach aims to maximize the efficiency of your assets while maintaining a prudent risk profile. #### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#zc-collateral-utilization) **ZC Collateral Utilization** When you secure a loan in the same currency as your ZC, our system implements a specialized collateral utilization strategy. If you're borrowing against a ZC that's denominated in the same currency, the platform prioritizes this ZC as your primary collateral. This prioritization allows for the ZC to be utilized first, up to 80% of its Present Value (PV), before any cash collateral is considered. This method ensures that your ZC assets are leveraged effectively, enhancing your borrowing capabilities. Our platform display the ZC utilization ratio for each currency by the formulaic below. ZC Utilization\=ObligationTotal ZC\\text{ZC Utilization} = \\frac{\\text{Obligation}}{\\text{Total ZC}}ZC Utilization\=Total ZCObligation #### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#adjusted-loan-to-value-ltv-calculation-with-zc-collateral) **Adjusted Loan-to-Value (LTV) Calculation with ZC Collateral** The standard formula for calculating the Loan-to-Value (LTV) ratio is: LTV\=ObligationCash CollateralLTV = \\frac{\\text{Obligation}}{\\text{Cash Collateral}}LTV\=Cash CollateralObligation However, when the obligation currency matches the currency of the ZC you own, the LTV calculation adjusts to incorporate the ZC collateral. The adjusted formula becomes: LTV (with ZC collateral)\=ObligationCash Collateral+Consumed ZC Collateral\\text{LTV (with ZC collateral)} = \\frac{\\text{Obligation}}{\\text{Cash Collateral} + \\text{Consumed ZC Collateral}}LTV (with ZC collateral)\=Cash Collateral+Consumed ZC CollateralObligation In this formula, ZC Collateral is considered alongside cash collateral. We aggregate the cash and the Consumed ZC amount to cover the obligation. The system is designed to cover 125% of the obligation and utilize up to 80% of the total ZC amount. > Even without pledging any Cash Collateral, you can still borrow in the same currency to engage in Yield Spread Strategy. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#liquidation-process-with-zc-collateral) **Liquidation Process with ZC collateral** In the event of a liquidation trigger, liquidators have the flexibility to choose the currency of both the obligation and the collateral, which may include the ZC. It's important to note that even if the Loan-to-Value (LTV) threshold is breached due to fluctuations in **one currency**, your position may be subject to liquidation in **another currency** along with the collateral. This mechanism underscores the importance of vigilant collateral management. Users must be aware that the liquidation process can lead to scenarios where the collateral, including ZC, is liquidated in a currency different from the one that triggered the LTV threshold. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#risk-management) **Risk Management** Utilizing ZC as collateral offers a unique avenue for capitalizing on yield spreads. However, it comes with its set of risks, primarily due to price fluctuations and the potential for liquidation in a different currency. We urge our users to exercise caution and continuously monitor their collateral positions to mitigate risks and avoid unintended liquidations. [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#related-resources) Related Resources -------------------------------------------------------------------------------------------------------------------------------------- * [Core Mechanics](https://docs.secured.finance/fixed-rate-lending/core-mechanics) * [Orderbook Deep Dive](https://docs.secured.finance/fixed-rate-lending/advanced-topics/orderbook-deep-dive) * [Safety Measures](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures) [PreviousDiscount Factorchevron-left](https://docs.secured.finance/fixed-rate-lending/advanced-topics/discount-factor) [NextZC Collateral Case Studychevron-right](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral/zc-collateral-case-study) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#overview) * [What You'll Learn](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#what-youll-learn) * [Key Components](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#key-components) * [Collateral Valuation](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#collateral-valuation) * [Understanding Collateral Utilization Ratio and LTV with Zero Coupon Bonds](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#understanding-collateral-utilization-ratio-and-ltv-with-zero-coupon-bonds) * [Liquidation Process with ZC collateral](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#liquidation-process-with-zc-collateral) * [Risk Management](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#risk-management) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Advanced Topics | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics#overview) Overview ------------------------------------------------------------------------------------------------- This section covers advanced concepts and mechanisms of the Fixed-Rate Lending Protocol that build upon the core functionality. These topics provide deeper insights into how the protocol maintains stability, handles edge cases, and implements sophisticated economic mechanisms. [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics#what-youll-learn) What You'll Learn ------------------------------------------------------------------------------------------------------------------ * How Market Dynamics like Auto-Rolling and Itayose price discovery work * How the On-Chain Orderbook is implemented using Red-Black Tree data structures * How Safety Measures like Circuit Breaker protect the protocol * How Zero-Coupon Bond Collateral functions within the system * Advanced economic concepts like APR vs. APY and Discount Factors [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics#key-components) Key Components ------------------------------------------------------------------------------------------------------------- * [**Market Dynamics**](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics) : Advanced features like Auto-Rolling and Itayose price discovery * [**Orderbook Deep Dive**](https://docs.secured.finance/fixed-rate-lending/advanced-topics/orderbook-deep-dive) : Technical implementation of the on-chain orderbook * [**Safety Measures**](https://docs.secured.finance/fixed-rate-lending/advanced-topics/safety-measures) : Protective mechanisms like Circuit Breaker * [**ZC Bond Collateral**](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-collateral) : Using Zero-Coupon Bonds as collateral * [**Economic Concepts**](https://docs.secured.finance/fixed-rate-lending/advanced-topics/apr-vs-apy) : Advanced financial concepts like APR vs. APY and Discount Factors [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics#related-resources) Related Resources ------------------------------------------------------------------------------------------------------------------- * [Core Mechanics](https://docs.secured.finance/fixed-rate-lending/core-mechanics) * [FAQs](https://docs.secured.finance/fixed-rate-lending/faqs) [PreviousProtocol Feeschevron-left](https://docs.secured.finance/fixed-rate-lending/core-mechanics/protocol-fees) [NextAPR vs APYchevron-right](https://docs.secured.finance/fixed-rate-lending/advanced-topics/apr-vs-apy) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/advanced-topics#overview) * [What You'll Learn](https://docs.secured.finance/fixed-rate-lending/advanced-topics#what-youll-learn) * [Key Components](https://docs.secured.finance/fixed-rate-lending/advanced-topics#key-components) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/advanced-topics#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Getting Started | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started#overview) Overview ------------------------------------------------------------------------------------------------- The Getting Started section provides comprehensive tutorials and guides to help users understand and navigate the Fixed-Rate Lending Protocol. Whether you're new to DeFi or an experienced user, these resources will help you make the most of the platform's features and capabilities. [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started#what-youll-learn) What You'll Learn ------------------------------------------------------------------------------------------------------------------ * How to set up your wallet and connect to the platform * How to deposit assets and manage collateral * How to lend and borrow assets at fixed rates * How to manage your positions effectively * How to navigate the platform's interface and features [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started#key-components) Key Components ------------------------------------------------------------------------------------------------------------- * [**Lending Assets**](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets) : Step-by-step guide to lending assets on the platform * [**Borrowing Assets**](https://docs.secured.finance/fixed-rate-lending/getting-started/borrowing-assets) : Comprehensive tutorial on borrowing with collateral * [**Managing Positions**](https://docs.secured.finance/fixed-rate-lending/getting-started/managing-positions) : Learn how to monitor and adjust your positions * [**Platform Guide**](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide) : Detailed overview of the platform's interface and features * [Trading](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/trading) : Guide to the trading interface * [Markets](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/markets) : Information on available markets * [Portfolio](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/portfolio) : Managing your assets and positions * [Bridge](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/bridge) : Moving assets between blockchains * [Points](https://docs.secured.finance/fixed-rate-lending/getting-started/platform-guide/points) : Earning and using platform points [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started#quick-start-guides) Quick Start Guides --------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started#how-to-deposit) How to Deposit  How to Deposit 1. Go to Secured Finance WebApps and open [Portfolio Tabarrow-up-right](https://app.secured.finance/portfolio/) 2. Connect Your Wallet 3. Click the Deposit Button!!! ### [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started#how-to-provide-liquidity-on-orderbook) How to Provide Liquidity on Orderbook  How to Provide Liquidity on Orderbook 1. Go to Secured Finance [Trading Appsarrow-up-right](https://app.secured.finance/) 2. Set the Condition * Choose Currency and Maturity * Lend or Borrow * Limit order or Market order * Price (APR) * Order Amount 3. Click 'Place Order'!!! [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started#defi-apps-onboarding-guide) DeFi Apps Onboarding Guide ------------------------------------------------------------------------------------------------------------------------------------- This guide will walk you through the steps you need to take to start using DeFi apps. You'll learn how to set up your MetaMask wallet, connect it to DeFi apps, and get test ETH from Sepolia faucets. 1. [Setting up MetaMask Walletarrow-up-right](https://blog.secured.finance/setting-up-metamask-wallet-417336bfc9ce) 2. [Connecting Your Walletarrow-up-right](https://blog.secured.finance/connecting-your-wallet-c7d3c624d364) 3. [Getting Test ETH from Goerli Faucetsarrow-up-right](https://blog.secured.finance/getting-test-eth-from-goerli-faucets-c29cce5a17b0) (We have moved to [Sepoliaarrow-up-right](https://blog.secured.finance/introducing-secured-finance-to-sepolia-4c93c8c3d79c) !) 4. [Getting Test ETH from Sepolia Faucetsarrow-up-right](https://blog.secured.finance/getting-test-eth-from-sepolia-faucets-5aafd96ccdbe) [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started#secured-finance-testnet-user-guide) Secured Finance Testnet User Guide ----------------------------------------------------------------------------------------------------------------------------------------------------- This guide offers a concise walkthrough of the platform, covering key aspects from preparing test tokens and managing collateral to executing transactions. It also delves into advanced trading strategies that are unique to Secured Finance. 1. [Preparing Test Tokens for Practicearrow-up-right](https://blog.secured.finance/preparing-test-tokens-to-play-bd93c7232dde) 2. [Collateral Managementarrow-up-right](https://blog.secured.finance/collateral-management-e82fa98c53f0) 3. [Trading at Itayose (Pre-Open) Order Bookarrow-up-right](https://blog.secured.finance/trading-at-pre-open-order-book-itayose-f9ae35663667) 4. [Placing Limit Orderarrow-up-right](https://blog.secured.finance/placing-limit-order-aeb81431af6f) 5. [Add/Reduce or Unwind Positionarrow-up-right](https://blog.secured.finance/add-reduce-or-unwind-position-266633e74978) [hashtag](https://docs.secured.finance/fixed-rate-lending/getting-started#related-resources) Related Resources ------------------------------------------------------------------------------------------------------------------- * [Core Mechanics](https://docs.secured.finance/fixed-rate-lending/core-mechanics) : Understand the fundamental concepts of the protocol * [Advanced Topics](https://docs.secured.finance/fixed-rate-lending/advanced-topics) : Explore advanced features and technical details * [Blogarrow-up-right](https://blog.secured.finance/) : Additional tutorials and platform updates [PreviousConcept Paperchevron-left](https://docs.secured.finance/fixed-rate-lending/overview/concept-paper) [NextLending Assetschevron-right](https://docs.secured.finance/fixed-rate-lending/getting-started/lending-assets) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/getting-started#overview) * [What You'll Learn](https://docs.secured.finance/fixed-rate-lending/getting-started#what-youll-learn) * [Key Components](https://docs.secured.finance/fixed-rate-lending/getting-started#key-components) * [Quick Start Guides](https://docs.secured.finance/fixed-rate-lending/getting-started#quick-start-guides) * [How to Deposit](https://docs.secured.finance/fixed-rate-lending/getting-started#how-to-deposit) * [How to Provide Liquidity on Orderbook](https://docs.secured.finance/fixed-rate-lending/getting-started#how-to-provide-liquidity-on-orderbook) * [DeFi Apps Onboarding Guide](https://docs.secured.finance/fixed-rate-lending/getting-started#defi-apps-onboarding-guide) * [Secured Finance Testnet User Guide](https://docs.secured.finance/fixed-rate-lending/getting-started#secured-finance-testnet-user-guide) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/getting-started#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # SDK Reference | Secured Finance Docs Secured Finance provides JavaScript SDKs to interact with our protocols programmatically. This section documents how to use these SDKs to integrate with our protocols in your applications. [hashtag](https://docs.secured.finance/developer-portal/sdk-reference#what-youll-learn) What You'll Learn -------------------------------------------------------------------------------------------------------------- * How to integrate with the USDFC stablecoin protocol * How to integrate with the Fixed-Rate Lending protocol * Examples of common SDK operations * Best practices for using our SDKs [hashtag](https://docs.secured.finance/developer-portal/sdk-reference#key-components) Key Components --------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference#sdks) SDKs Secured Finance maintains SDKs for each of its protocols: * [USDFC SDK](https://docs.secured.finance/developer-portal/sdk-reference/usdfc-sdk) - For interacting with the USDFC stablecoin protocol * [Fixed-Rate Lending SDK](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk) - For interacting with the Fixed-Rate Lending protocol ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference#features) Features Our SDKs provide comprehensive functionality for interacting with our protocols: * **Read Operations**: Query protocol state, user positions, and market data * **Write Operations**: Execute transactions such as creating positions, placing orders, and managing collateral * **Event Handling**: Subscribe to protocol events for real-time updates * **Type Safety**: Fully typed interfaces for improved developer experience [hashtag](https://docs.secured.finance/developer-portal/sdk-reference#getting-started) Getting Started ----------------------------------------------------------------------------------------------------------- If you're new to our SDKs, check out the individual SDK documentation pages for installation instructions and basic usage examples. If you're already familiar with JavaScript development, you can jump directly to the specific SDK documentation. [hashtag](https://docs.secured.finance/developer-portal/sdk-reference#related-resources) Related Resources --------------------------------------------------------------------------------------------------------------- * [API Reference](https://docs.secured.finance/developer-portal/api-reference) * [GitHub Repositoriesarrow-up-right](https://github.com/Secured-Finance) * [NPM Packagesarrow-up-right](https://www.npmjs.com/org/secured-finance) [PreviousQuery Exampleschevron-left](https://docs.secured.finance/developer-portal/api-reference/fixed-rate-lending-subgraph/query-examples) [NextFixed-Rate Lending SDKchevron-right](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk) Last updated 10 months ago * [What You'll Learn](https://docs.secured.finance/developer-portal/sdk-reference#what-youll-learn) * [Key Components](https://docs.secured.finance/developer-portal/sdk-reference#key-components) * [SDKs](https://docs.secured.finance/developer-portal/sdk-reference#sdks) * [Features](https://docs.secured.finance/developer-portal/sdk-reference#features) * [Getting Started](https://docs.secured.finance/developer-portal/sdk-reference#getting-started) * [Related Resources](https://docs.secured.finance/developer-portal/sdk-reference#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Secured Finance Points (SFP) v2 | Secured Finance Docs  [hashtag](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#what-is-secured-finance-points-sfp-v2) What is Secured Finance Points (SFP) v2? ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Secured Finance Points (SFP) v2 is a simplified and user-friendly reward system designed to enhance user experience while reflecting individual contributions to the Secured Finance Protocol. These electronic points serve as a versatile metric to quantify user engagement, determine community rankings, and allocate rewards in a transparent and equitable manner. By streamlining the system, SFP v2 ensures a seamless and rewarding experience for all participants. [hashtag](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#when-is-the-sfp-launch) **When is the SFP launch?** -------------------------------------------------------------------------------------------------------------------------------------------------- The point system pre-launch phase started on the Filecoin blockchain on **June 19, 2024**, at 12:00 AM (UTC). The global launch followed on **June 28, 2024**, at 12:00 AM (UTC), expanding to Ethereum, Arbitrum, Avalanche, and Polygon zkEVM. The updated **v2 system** will be implemented starting **December 27, 2024** at 12:00 AM(UTC). Accumulated points will remain intact, and new points will be added to the existing totals. [hashtag](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#sfp-and-sfc) SFP and SFC ----------------------------------------------------------------------------------------------------------------------- **SFP**: Non-transferable points with no economic value, representing user activities and contributions. **SFC**: Governance tokens distributed periodically, using SFP as a reference for reward calculations. * Initially, **1% of the total SFC supply** is allocated for airdrops. * This allocation can increase to: * **2%** if the protocol's TVL reaches **$50M**. * **3%** if TVL reaches **$100M**. Original contributors from early campaigns will be rewarded separately with SFC tokens, acknowledging their foundational support. [hashtag](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#how-to-earn-sfp) How to earn SFP? -------------------------------------------------------------------------------------------------------------------------------- SFP can be earned through various activities within the Secured Finance ecosystem: * Increasing TVL. * Providing order-book liquidity. * Introducing new users via referrals. * Logging in daily to the platform. Visit the [**Points Dashboard**arrow-up-right](https://app.secured.finance/points/) to track your points, rankings, and referral activit [hashtag](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#points-dashboard-page) Points Dashboard Page ------------------------------------------------------------------------------------------------------------------------------------------- The [Points Dashboardarrow-up-right](https://app.secured.finance/points) is designed to monitor earned points from various activities and quickly identify tasks for user contributions from active quests. Users can see their points, ranking, a referral link, and active quests on the dashboard.  Points Dashboard and Leaderboard [hashtag](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#points-calculations) Points Calculations --------------------------------------------------------------------------------------------------------------------------------------- Secured Finance has introduced a points system to quantify and reward user contributions to the ecosystem's success. Points can be earned through five primary activities: Deposits, Limit Orders, Active Positions, Referrals, and Daily Login. As new products and features are added, additional ways to earn points may also emerge. The points accumulated are directly tied to future airdrops. circle-info Points are given by 12 hour observations, with fractional points rounded (0.4 -> 0, 0.5 -> 1). ### [hashtag](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#id-1.-deposit-points) **1\. Deposit Points**: * **Purpose**: Rewards users for deposits, which provide the foundation for protocol liquidity. * **Earning Method**: **1 point per $1 deposited per 24 hours**. ### [hashtag](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#id-2.-limit-order-points) **2\. Limit Order Points**: * **Purpose**: Incentivizes users to provide order-book liquidity and improve market efficiency. * **Earning Method**: **2 points per $1 per 24 hours**, for orders placed within **20% of the Mark Price**. * **Eligibility**: No points are awarded for orders placed beyond 20% of the Mark Price. circle-info Limit order between 64.00 to 96.00 will be eligible for the points when the mark prcie is 80.00 (picture below)  Example case for Mark Price of 80.00 ### [hashtag](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#id-3.-active-position-points) **3\. Active Position Points**: * **Purpose**: Rewards users for maintaining active positions, which contribute to ecosystem growth. * **Earning Method**: **2 points per $1 per 24 hours**, irrespective of position duration. ### [hashtag](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#id-4.-referral-points) 4\. Referral Points: * **Purpose**: Encourages user referrals to grow the community. * **Referrer Benefits**: * Earn **5%** of the points earned by referred users. * **New User Benefits**: * Receive **50 welcome points** when joining via a referral link. * Earn a **5% bonus** on all points earned. ### [hashtag](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#id-5.-daily-login-points) 5\. Daily Login Points: * **Purpose**: Encourages regular engagement with the platform. * **Earning Method**: **10 points per day** for logging in and connecting your wallet. [PreviousSecured Finance Coin (SFC)chevron-left](https://docs.secured.finance/community/tokenomics/secured-finance-coin-sfc) [NextSecured Finance Points (SFP) v1chevron-right](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2/secured-finance-points-sfp-v1) Last updated 1 year ago * [What is Secured Finance Points (SFP) v2?](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#what-is-secured-finance-points-sfp-v2) * [When is the SFP launch?](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#when-is-the-sfp-launch) * [SFP and SFC](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#sfp-and-sfc) * [How to earn SFP?](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#how-to-earn-sfp) * [Points Dashboard Page](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#points-dashboard-page) * [Points Calculations](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#points-calculations) * [1\. Deposit Points:](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#id-1.-deposit-points) * [2\. Limit Order Points:](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#id-2.-limit-order-points) * [3\. Active Position Points:](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#id-3.-active-position-points) * [4\. Referral Points:](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#id-4.-referral-points) * [5\. Daily Login Points:](https://docs.secured.finance/community/tokenomics/secured-finance-points-sfp-v2#id-5.-daily-login-points) sun-brightdesktopmoon sun-brightdesktopmoon --- # Redeeming USDFC | Secured Finance Docs [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#prerequisites) Prerequisites ------------------------------------------------------------------------------------------------------------------------- * USDFC tokens in your wallet * Access to the [USDFC applicationarrow-up-right](https://app.usdfc.net/) * Connected wallet with enough FIL for gas fees * Understanding of repayment with trove adjustments * Understanding of redemption mechanics and fees [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#overview) Overview --------------------------------------------------------------------------------------------------------------- Redemption is a process that allows you to exchange your USDFC for FIL collateral at face value (1 USDFC = $1 worth of FIL). This mechanism helps maintain the USDFC peg to the US dollar. This guide will walk you through the redemption process and help you understand when redemption is beneficial. circle-exclamation Repayment is adjusting your trove. However, the redemption is adjusting 3rd party's lowest collateral trove. To avoid getting redemption, please watch 'Debt in front' amount and increase the collateral ratio. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#step-1-access-the-redemption-feature) Step 1: Access the Redemption Feature ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ First, you need to navigate to the redemption section in the USDFC application. 1. Navigate to the [USDFC applicationarrow-up-right](https://app.usdfc.net/) 2. Connect your wallet if not already connected 3. Locate the "Redemption" page in the "More" tab in the USDFC application  The Redemption page location in the "More" tab [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#step-2-review-redemption-information) Step 2: Review Redemption Information ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Before proceeding, review the current redemption information. 1. Check the current redemption fee (variable based on the base rate) 2. Understand which Troves will be affected by your redemption 3. Review the current FIL price and calculate how much FIL you'll receive  Screenshot of the redemption information page [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#step-3-enter-redemption-amount) Step 3: Enter Redemption Amount ------------------------------------------------------------------------------------------------------------------------------------------------------------ Now you can specify how much USDFC you want to redeem. 1. Enter the amount of USDFC you want to redeem 2. The system will calculate the amount of FIL you will receive based on the current FIL price 3. Review the redemption fee that will be applied 4. Understand which Troves will be affected (redemptions start from the lowest collateral ratio Troves)  The lowest Collateral Ratio Troves get redeemed [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#step-4-review-transaction-details) Step 4: Review Transaction Details ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Before confirming, review all transaction details carefully. 1. Check the USDFC amount you're redeeming 2. Verify the FIL amount you'll receive 3. Review the redemption fee 4. Understand the gas costs for the transaction  The Redemption section shows all relevant details [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#step-5-confirm-and-execute-redemption) Step 5: Confirm and Execute Redemption -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Once you're satisfied with the details, you can proceed with the redemption. 1. Click the "Confirm" button 2. Confirm the transaction in your wallet 3. Wait for the transaction to be processed on the blockchain  Screenshot showing updated wallet balances after redemption \[Image: Screenshot of the confirmation screen with the "Redeem" button highlighted\] [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#step-6-verify-redemption) Step 6: Verify Redemption ------------------------------------------------------------------------------------------------------------------------------------------------ After the transaction is confirmed, verify that your redemption was successful. 1. Check that your USDFC balance has decreased by the redeemed amount 2. Verify that the FIL has been added to your wallet balance 3. Review the transaction details in your wallet history or on a blockchain explorer  Lowest Collateral Ratio Trove's FIL Collateral and USDFC Debt was reduced [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#understanding-redemption-mechanics) Understanding Redemption Mechanics ------------------------------------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#how-redemption-works) How Redemption Works 1. When you redeem USDFC, the system identifies Troves starting from the lowest collateral ratio 2. Your USDFC is used to repay the debt of these Troves 3. In return, you receive an equivalent value of FIL collateral (minus the redemption fee) 4. This process continues until your redemption amount is fulfilled or no more Troves can be redeemed from ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#redemption-fee) Redemption Fee The redemption fee is variable and depends on the current base rate: Redemption Fee\=Base Rate+Redemption Fee Multiplier\\text{Redemption Fee} = \\text{Base Rate} + \\text{Redemption Fee Multiplier}Redemption Fee\=Base Rate+Redemption Fee Multiplier The base rate increases with each redemption and decays over time, which helps prevent large-scale redemptions that could destabilize the system. \[Image: Graph showing how the base rate changes with redemptions\] ### [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#when-to-redeem) When to Redeem Redemption is most beneficial in the following scenarios: 1. When USDFC is trading below its $1 peg (arbitrage opportunity) 2. When you want to exit the USDFC system entirely 3. When you believe FIL price will increase and want to acquire it at the current price \[Image: Decision flowchart for when to consider redemption\] [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#next-steps) Next Steps ------------------------------------------------------------------------------------------------------------------- * Consider [depositing USDFC into the Stability Pool](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool) as an alternative to redemption * Learn about [managing collateral effectively](https://docs.secured.finance/usdfc-stablecoin/getting-started/managing-collateral-effectively) if you have your own Trove * Explore other ways to use your USDFC in the ecosystem [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#troubleshooting) Troubleshooting ----------------------------------------------------------------------------------------------------------------------------- * **Transaction Failed**: Ensure you have enough FIL for gas fees * **Cannot Redeem**: There may not be enough Troves available for redemption, or the system might be in Recovery Mode * **High Redemption Fee**: The base rate might be elevated due to recent redemptions; consider waiting for it to decay [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#common-questions) Common Questions ------------------------------------------------------------------------------------------------------------------------------- **Q: Can I redeem any amount of USDFC?** A: Yes, but smaller amounts may not be cost-effective due to gas fees and the redemption fee. **Q: Which Troves are affected by my redemption?** A: Redemptions start from the Troves with the lowest collateral ratios and move upward. **Q: Is there a waiting period for redemption?** A: No, redemptions can be processed immediately, but the redemption fee increases with each redemption to prevent large-scale redemptions in a short period. **Q: Can redemptions be blocked?** A: Yes, redemptions are disabled during Recovery Mode to protect the system's stability. [hashtag](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#related-topics) Related Topics --------------------------------------------------------------------------------------------------------------------------- * [The Trove System](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/the-trove-system) * [Redemption](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/redemption) * [Protocol Fees](https://docs.secured.finance/usdfc-stablecoin/core-mechanics/protocol-fees) * [Recovery Mode](https://docs.secured.finance/usdfc-stablecoin/advanced-topics/recovery-mode) [PreviousUsing the Stability Poolchevron-left](https://docs.secured.finance/usdfc-stablecoin/getting-started/using-the-stability-pool) [NextCore Mechanicschevron-right](https://docs.secured.finance/usdfc-stablecoin/core-mechanics) Last updated 9 months ago * [Prerequisites](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#prerequisites) * [Overview](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#overview) * [Step 1: Access the Redemption Feature](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#step-1-access-the-redemption-feature) * [Step 2: Review Redemption Information](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#step-2-review-redemption-information) * [Step 3: Enter Redemption Amount](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#step-3-enter-redemption-amount) * [Step 4: Review Transaction Details](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#step-4-review-transaction-details) * [Step 5: Confirm and Execute Redemption](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#step-5-confirm-and-execute-redemption) * [Step 6: Verify Redemption](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#step-6-verify-redemption) * [Understanding Redemption Mechanics](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#understanding-redemption-mechanics) * [How Redemption Works](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#how-redemption-works) * [Redemption Fee](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#redemption-fee) * [When to Redeem](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#when-to-redeem) * [Next Steps](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#next-steps) * [Troubleshooting](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#troubleshooting) * [Common Questions](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#common-questions) * [Related Topics](https://docs.secured.finance/usdfc-stablecoin/getting-started/redeeming-usdfc#related-topics) sun-brightdesktopmoon sun-brightdesktopmoon --- # Fixed Maturity | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#overview) Overview ------------------------------------------------------------------------------------------------------------------------------- Secured Finance's Loan Market Platform operates on a Fixed Maturity Standard, with up to eight distinct order books each representing a unique time horizon. These range from 3 months to 2 years, with a maturity gap of three months. Each order book exists until its maturity, with the duration shortening day by day. All currencies adhere to the same "Maturity". [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#how-it-works) How It Works --------------------------------------------------------------------------------------------------------------------------------------- The Fixed Maturity Standard provides a structured approach to loan terms with eight distinct orderbooks representing different time horizons:  Fixed Maturity Standard of 8 distinct order books ranging from 3 months to 2 years. The maturity of our Loan Market is set on the **last Friday of the contract month** every March, June, September, and December. This convention aligns with the listed future market, providing maximum utility to our users for reference and hedging purposes. circle-info For instance, "SEP23" on our order book system refers to the contract month of September 2023, with a maturity ending on the last Friday, 29th September 2023. Similarly, "DEC24" would represent the contract month of December 2024 within the order book with a maturity of 27th December 2024. To keep the orderbooks current, at Maturity, we will deactivate the orderbook that is expiring each quarter and start a new orderbook with the Itayose process. This new orderbook is added to the farthest term, currently the 2-year order book. For more details, please refer to the 'Orderbook Life Cycle' section. circle-info What happens to your loan position? No worries. Matured Loan position will be reinvested through our platform using our [Auto-Rolling](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling) feature. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#key-parameters) Key Parameters ------------------------------------------------------------------------------------------------------------------------------------------- Parameter Description Value Number of Orderbooks Total number of active orderbooks at any time 8 Maturity Range Time range covered by the orderbooks 3 months to 2 years Maturity Gap Time between consecutive maturities 3 months Maturity Date When loans in an orderbook mature Last Friday of Mar/Jun/Sep/Dec Contract Naming How contracts are named in the system MMM+YY (e.g., SEP23, DEC24) [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#examples) Examples ------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#example-1-lending-across-multiple-maturities) Example 1: Lending Across Multiple Maturities A user wants to diversify their lending strategy across different time horizons: 1. They deposit 3,000 USDC into the platform 2. They allocate 1,000 USDC to the 3-month maturity (JUN24) 3. They allocate 1,000 USDC to the 6-month maturity (SEP24) 4. They allocate 1,000 USDC to the 9-month maturity (DEC24) 5. This creates a "ladder" strategy that provides liquidity at regular intervals 6. When the JUN24 position matures, it will auto-roll to the new 2-year maturity (JUN26) ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#example-2-navigating-orderbook-transitions) Example 2: Navigating Orderbook Transitions A borrower has an active loan in the SEP23 orderbook approaching maturity: 1. As the maturity date (September 29, 2023) approaches, they receive notifications 2. On maturity day, their position is automatically handled by the Auto-Rolling feature 3. The SEP23 orderbook is deactivated and a new orderbook (SEP25) is created 4. Their position is rolled into the next available maturity with similar duration 5. The borrower can view their new position details in the platform interface [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#common-questions) Common Questions ----------------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#what-happens-if-i-want-to-exit-before-maturity) What happens if I want to exit before maturity? If you want to exit your position before maturity, you can take an opposite position in the same maturity orderbook. For example, if you initially lent in the DEC24 orderbook, you can borrow in the same DEC24 orderbook to close your position. Market conditions at the time will determine whether you realize a gain or loss. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#how-are-new-orderbooks-created) How are new orderbooks created? New orderbooks are created through the Itayose process, which is a price discovery mechanism. When the shortest-term orderbook matures, a new orderbook is created for the longest term (currently 2 years out). This maintains a consistent set of eight active orderbooks at all times. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#can-i-choose-which-maturity-my-position-auto-rolls-into) Can I choose which maturity my position auto-rolls into? By default, positions auto-roll according to the protocol's rules, typically into the next available maturity. However, you can manually close your position before maturity and open a new position in your preferred maturity orderbook if you want more control over the rollover process. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#why-use-quarterly-maturities-instead-of-monthly-or-weekly) Why use quarterly maturities instead of monthly or weekly? Quarterly maturities (Mar/Jun/Sep/Dec) align with traditional financial markets and futures contracts, providing better liquidity and price discovery. This standardization also reduces fragmentation of liquidity across too many orderbooks, which could lead to thinner markets and wider spreads. [hashtag](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#related-resources) Related Resources ------------------------------------------------------------------------------------------------------------------------------------------------- * [Zero-Coupon Standard](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/zero-coupon-bonds) * [Orderbook Mechanicsarrow-up-right](https://github.com/Secured-Finance/secured-finance-docs/blob/main/fixed-rate-lending/core-mechanics/order-book-system.md) * [Auto-Rolling](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling) * [New Market Listing and Delisting](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/new-market-listing-and-delisting) [PreviousZero-Coupon Bondschevron-left](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/zero-coupon-bonds) [NextCollateralizationchevron-right](https://docs.secured.finance/fixed-rate-lending/core-mechanics/collateralization) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#overview) * [How It Works](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#how-it-works) * [Key Parameters](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#key-parameters) * [Examples](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#examples) * [Example 1: Lending Across Multiple Maturities](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#example-1-lending-across-multiple-maturities) * [Example 2: Navigating Orderbook Transitions](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#example-2-navigating-orderbook-transitions) * [Common Questions](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#common-questions) * [What happens if I want to exit before maturity?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#what-happens-if-i-want-to-exit-before-maturity) * [How are new orderbooks created?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#how-are-new-orderbooks-created) * [Can I choose which maturity my position auto-rolls into?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#can-i-choose-which-maturity-my-position-auto-rolls-into) * [Why use quarterly maturities instead of monthly or weekly?](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#why-use-quarterly-maturities-instead-of-monthly-or-weekly) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/core-mechanics/standardization/fixed-maturity#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Auto-Rolling | Secured Finance Docs [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#overview) Overview ------------------------------------------------------------------------------------------------------------------------------ Auto-Rolling is an innovative feature in the Fixed-Rate Lending Protocol that streamlines the reinvestment process for users. In traditional finance, bond redemption at maturity requires manual reinvestment, which can be cumbersome. Secured Finance has integrated this auto-roll feature into its protocol, automatically reinvesting matured loans into the nearest 3-month bucket, offering several key advantages. [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#what-youll-learn) What You'll Learn ----------------------------------------------------------------------------------------------------------------------------------------------- * How Auto-Rolling mitigates reinvestment risk * How the automatic reinvestment process works * How Auto-Rolling contributes to cost efficiency * How this feature supports continuous growth in the protocol [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#key-components) Key Components ------------------------------------------------------------------------------------------------------------------------------------------ * [**Price Discovery**](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling/price-discovery-for-auto-rolling) : How prices are determined during the auto-rolling process * **Reinvestment Mechanism**: The process of automatically reinvesting matured positions * **Close-to-Mid Pricing**: The pricing strategy used for auto-rolled positions [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#benefits-of-auto-rolling) Benefits of Auto-Rolling -------------------------------------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#mitigation-of-reinvestment-risk) Mitigation of Reinvestment Risk Reinvestment risk, the possibility of not finding similar reinvestment conditions at maturity, is a common concern with fixed-term investments. The auto-roll feature mitigates this risk by rolling over positions to the nearest market at a close-to-mid price. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#cost-efficiency) Cost Efficiency By eliminating the need to find another counterparty on the order book for reinvestment manually, the auto-roll feature reduces operational costs. This not only results in cost savings for users but also helps maintain the total value locked (TVL) in the protocol. ### [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#continuous-growth) Continuous Growth The auto-roll feature ensures a seamless reinvestment process, fostering continuous growth for users and enhancing the overall value proposition of the Secured Finance platform.  Auto-Roll: Automatic reinvestment of matured loans into the nearest 3-month bucket In essence, the auto-roll feature is designed to provide an easy, efficient, and smooth reinvestment experience, contributing to the overall user-friendliness of the Secured Finance platform. [hashtag](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#related-resources) Related Resources ------------------------------------------------------------------------------------------------------------------------------------------------ * [Market Dynamics](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics) * [Price Discovery for Auto-Rolling](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling/price-discovery-for-auto-rolling) * [New Market Listing and Delisting](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/new-market-listing-and-delisting) [PreviousMarket Dynamicschevron-left](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics) [NextPrice Discovery for Auto-Rollingchevron-right](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling/price-discovery-for-auto-rolling) Last updated 10 months ago * [Overview](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#overview) * [What You'll Learn](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#what-youll-learn) * [Key Components](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#key-components) * [Benefits of Auto-Rolling](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#benefits-of-auto-rolling) * [Mitigation of Reinvestment Risk](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#mitigation-of-reinvestment-risk) * [Cost Efficiency](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#cost-efficiency) * [Continuous Growth](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#continuous-growth) * [Related Resources](https://docs.secured.finance/fixed-rate-lending/advanced-topics/market-dynamics/auto-rolling#related-resources) sun-brightdesktopmoon sun-brightdesktopmoon --- # Fixed-Rate Lending SDK | Secured Finance Docs The Fixed-Rate Lending SDK is a comprehensive toolkit for developers to integrate and interact with the Secured Finance Fixed-Rate Lending protocol. [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#overview) Overview -------------------------------------------------------------------------------------------------------------------- The Fixed-Rate Lending protocol provides a platform for fixed-rate lending and borrowing through an order book system. The SDK provides a programmatic interface to interact with the protocol, allowing developers to build applications that leverage Fixed-Rate Lending functionality. [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#how-it-works) How It Works ---------------------------------------------------------------------------------------------------------------------------- The Fixed-Rate Lending SDK is built on top of viem and provides a type-safe interface to interact with the Fixed-Rate Lending smart contracts. It abstracts away the complexity of direct contract interactions and provides a more developer-friendly API. [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#installation) Installation ---------------------------------------------------------------------------------------------------------------------------- The Fixed-Rate Lending SDK packages are hosted on GitHub Packages registry, not the public NPM registry. You'll need to configure your `.npmrc` file to access them: Copy # Add this to your .npmrc file @secured-finance:registry=https://npm.pkg.github.com //npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN # Then install the individual packages npm install @secured-finance/sf-client npm install @secured-finance/sf-graph-client npm install @secured-finance/sf-core For more details on setting up authentication for GitHub Packages, see the [GitHub documentationarrow-up-right](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-to-github-packages) . [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#key-components) Key Components -------------------------------------------------------------------------------------------------------------------------------- The Fixed-Rate Lending SDK consists of several packages: ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#sf-client) sf-client The core package for interacting with the Fixed-Rate Lending protocol. ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#sf-graph-client) sf-graph-client Utilities for querying the Fixed-Rate Lending subgraph. ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#sf-core) sf-core Core components used across different Secured Finance projects. [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#basic-usage) Basic Usage -------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#connecting-to-the-protocol) Connecting to the Protocol ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#reading-protocol-state) Reading Protocol State ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#order-operations) Order Operations ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#collateral-management) Collateral Management ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#position-management) Position Management [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#advanced-usage) Advanced Usage -------------------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#using-the-graph-client) Using the Graph Client ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#price-calculations) Price Calculations [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#faq) FAQ ---------------------------------------------------------------------------------------------------------- ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#how-do-i-handle-transaction-errors) How do I handle transaction errors? The SDK throws descriptive error objects that contain information about the failure. Wrap your transactions in try-catch blocks to handle errors gracefully. ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#how-do-i-convert-between-unit-price-and-apr) How do I convert between unit price and APR? The conversion between Zero-Coupon Bond prices and APR varies depending on the maturity period. For detailed information, refer to the [official documentation on ZC Bond Price to APR conversion](https://docs.secured.finance/fixed-rate-lending/advanced-topics/zc-bond-price-to-apr) . The calculation is implemented in the Price Calculations section above. ### [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#what-networks-does-the-sdk-support) What networks does the SDK support? The SDK supports all networks where the Fixed-Rate Lending protocol is deployed, including Ethereum, Arbitrum, and Filecoin. [hashtag](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#related-resources) Related Resources -------------------------------------------------------------------------------------------------------------------------------------- * [Fixed-Rate Lending Protocol Documentation](https://docs.secured.finance/fixed-rate-lending/overview) * [Fixed-Rate Lending Subgraph Documentation](https://docs.secured.finance/developer-portal/api-reference/fixed-rate-lending-subgraph) * [GitHub Repositoryarrow-up-right](https://github.com/Secured-Finance/sf-sdk) * [NPM Packagearrow-up-right](https://www.npmjs.com/package/@secured-finance/sf-sdk) [PreviousSDK Referencechevron-left](https://docs.secured.finance/developer-portal/sdk-reference) [NextUSDFC SDKchevron-right](https://docs.secured.finance/developer-portal/sdk-reference/usdfc-sdk) Last updated 9 months ago * [Overview](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#overview) * [How It Works](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#how-it-works) * [Installation](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#installation) * [Key Components](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#key-components) * [sf-client](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#sf-client) * [sf-graph-client](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#sf-graph-client) * [sf-core](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#sf-core) * [Basic Usage](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#basic-usage) * [Connecting to the Protocol](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#connecting-to-the-protocol) * [Reading Protocol State](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#reading-protocol-state) * [Order Operations](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#order-operations) * [Collateral Management](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#collateral-management) * [Position Management](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#position-management) * [Advanced Usage](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#advanced-usage) * [Using the Graph Client](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#using-the-graph-client) * [Price Calculations](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#price-calculations) * [FAQ](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#faq) * [How do I handle transaction errors?](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#how-do-i-handle-transaction-errors) * [How do I convert between unit price and APR?](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#how-do-i-convert-between-unit-price-and-apr) * [What networks does the SDK support?](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#what-networks-does-the-sdk-support) * [Related Resources](https://docs.secured.finance/developer-portal/sdk-reference/fixed-rate-lending-sdk#related-resources) sun-brightdesktopmoon Copy import { SecuredFinanceClient } from "@secured-finance/sf-client"; Copy import { GraphClient } from "@secured-finance/sf-graph-client"; Copy import { Currency, Token } from "@secured-finance/sf-core"; Copy import { SecuredFinanceClient } from "@secured-finance/sf-client"; import { createPublicClient, createWalletClient, http } from "viem"; import { filecoin } from "viem/chains"; // Connect to the protocol async function connectToProtocol() { // Create viem clients const publicClient = createPublicClient({ chain: filecoin, transport: http() }); const walletClient = createWalletClient({ chain: filecoin, transport: http() }); // Create the Secured Finance client const client = new SecuredFinanceClient(); await client.init(publicClient, walletClient); return client; } Copy import { Currency } from "@secured-finance/sf-core"; // Get supported currencies async function getSupportedCurrencies(client) { const currencies = await client.getCurrencies(); console.log("Supported currencies:", currencies); return currencies; } // Get lending markets async function getLendingMarkets(client, currency) { const maturities = await client.getMaturities(currency); console.log("Available maturities:", maturities); const orderBookDetails = await client.getOrderBookDetailsPerCurrency(currency); console.log("Order book details:", orderBookDetails); return { maturities, orderBookDetails }; } // Get order book async function getOrderBook(client, currency, maturity) { const orderBookDetail = await client.getOrderBookDetail(currency, maturity); console.log("Order book detail:", orderBookDetail); const lendOrders = await client.getLendOrderBook(currency, maturity, 0, 10); console.log("Lend orders:", lendOrders); const borrowOrders = await client.getBorrowOrderBook(currency, maturity, 0, 10); console.log("Borrow orders:", borrowOrders); return { orderBookDetail, lendOrders, borrowOrders }; } // Get user positions async function getUserPositions(client, account) { const positions = await client.getPositions(account); console.log("User positions:", positions); return positions; } Copy import { Currency } from "@secured-finance/sf-core"; import { OrderSide, WalletSource } from "@secured-finance/sf-client"; // Place a lend order async function placeLendOrder(client, currency, maturity, amount, unitPrice) { const tx = await client.placeOrder( currency, maturity, OrderSide.LEND, amount, WalletSource.METAMASK, unitPrice ); console.log("Lend order placed:", tx); return tx; } // Place a borrow order async function placeBorrowOrder(client, currency, maturity, amount, unitPrice) { const tx = await client.placeOrder( currency, maturity, OrderSide.BORROW, amount, WalletSource.METAMASK, unitPrice ); console.log("Borrow order placed:", tx); return tx; } // Cancel an order async function cancelOrder(client, currency, maturity, orderId) { const tx = await client.cancelLendingOrder(currency, maturity, orderId); console.log("Order cancelled:", tx); return tx; } Copy // Deposit collateral async function depositCollateral(client, currency, amount) { const tx = await client.depositCollateral(currency, amount); console.log("Collateral deposited:", tx); return tx; } // Get protocol deposit amount async function getProtocolDepositAmount(client) { const depositAmount = await client.getProtocolDepositAmount(); console.log("Protocol deposit amount:", depositAmount); return depositAmount; } Copy // Unwind a position async function unwindPosition(client, currency, maturity) { const tx = await client.unwindPosition(currency, maturity); console.log("Position unwound:", tx); return tx; } // Get total present value async function getTotalPresentValue(client) { const presentValue = await client.getTotalPresentValueInBaseCurrency(); console.log("Total present value:", presentValue); return presentValue; } Copy import { GraphClient, useQuery } from "@secured-finance/sf-graph-client"; import { useEffect, useState } from "react"; // Create a graph client for a specific network const graphClient = new GraphClient({ uri: "https://api.studio.thegraph.com/query/64582/sf-prd-arbitrum-sepolia/version/latest" }); // Example 1: Simple query using the GraphClient directly async function queryLendingMarkets() { try { // Define the query document const { lendingMarkets } = await graphClient.query({ lendingMarkets: { id: true, currency: { id: true, symbol: true, decimals: true }, maturity: true, isReady: true } }); console.log("Lending markets:", lendingMarkets); return lendingMarkets; } catch (error) { console.error("Error querying lending markets:", error); return []; } } // Example 2: Using the useQuery hook in a React component function LendingMarketsComponent() { // Define the query document const queryDocument = { lendingMarkets: { id: true, currency: { id: true, symbol: true }, maturity: true, isReady: true } }; // Execute the query const { data, loading, error } = useQuery(queryDocument, { client: graphClient, variables: {}, fetchPolicy: "network-only" }); // Handle loading and error states if (loading) return
Collateral: {trove.collateral.toString()} FIL
Debt: {trove.debt.toString()} USDFC
Collateral Ratio: {trove.collateralRatio.toString()}%
FIL/USD: ${price.toString()}