


Flare
Everything you need to learn Flare’s FAssets: 104 comprehensive code tours totaling over 1400 steps, formulas presented in LaTeX, and a detailed glossary.
Click here to watch video preview
Immunefi, 12 May → 09 Jun 2025
Everything you need to learn Flare’s FAssets: 104 comprehensive code tours totaling over 1400 steps, formulas presented in LaTeX, and a detailed glossary.
Click here to watch video preview
Immunefi, 12 May → 09 Jun 2025
Everything you need to learn Flare’s FAssets: 104 comprehensive code tours totaling over 1400 steps, formulas presented in LaTeX, and a detailed glossary.
Click here to watch video preview
Immunefi, 12 May → 09 Jun 2025
Product Preview
Tours
1.1: Flare F-Asset Protocol: A High-Level Journey
2.1: Utils: Overview
2.2: Math & Percent Helpers (MathUtils, SafeMath64, SafePct)
2.3: TimeCumulative – Time-weighted metrics
2.4: Transfers – Safe native transfers with Re-entrancy guard
2.5: Upgrade surface – IUpgradableProxy interface
2.6: Imports.sol – Testing aid
3.1: GovernanceCore: Overview
3.2: AddressUpdatable: Dynamic Address Registry
3.3: GovernedBase: Timelocked Governance Engine
3.4: Governed & GovernedProxyImplementation: Safe Initialisation Wrappers
3.5: IGoverned Interface: Public Governance Surface
4.1: DiamondFramework: Overview
4.2: Diamond.sol – Fallback Router
4.3: LibDiamond (1/2): Storage Layout
4.4: LibDiamond (2/2): Facet Management via diamondCut
4.5: DiamondLoupeFacet: Introspection Utilities
4.6: Diamond Interfaces: External API Definitions
5.1: PriceReaders: Overview
5.2: FtsoV1PriceReader – Legacy oracle wrapper
5.3: FtsoV2PriceStore – Publishing Flow
5.4: FtsoV2PriceStore – Trusted submissions & governance
5.5: FtsoV2PriceStore – Price read API
5.6: Price Reader & Publisher Interfaces
6.1: AccessControl: Overview
6.2: Whitelist Interface
6.3: Whitelist Core
6.4: AgentOwnerRegistry Interface
6.5: AgentOwner Registry
7.1: AgentVault: Overview
7.2: AgentVault Public API
7.3: AgentVault Implementation Deep-Dive
7.4: AgentVault Factory & Upgrade Flow
8.1: CollateralPool: Overview
8.2: CollateralPool Internals: State & Configuration
8.3: Entering & Leaving the Pool
8.4: Self-Close Exit & Redemption Path
8.5: Fee Accounting & Debt Mechanics
8.6: Collateral Ratio Math Utilities
8.7: Pool Governance, Payout & Maintenance
8.8: CollateralPoolToken: Timelocks & Transfer Restrictions
8.9: Factories & Interfaces
9.1: AssetManagerController: Overview
9.2: Controller State & Governance Setup
9.3: Batch Settings Management Pattern
9.4: Emergency Pause Mechanism
9.5: Upgrade & Contract-Address Update Flow
9.6: Proxy Deployment & External Interface
10.1: FAssetToken: Overview
10.2: FAsset.sol – Core Logic & Dynamic Fees
10.3: CheckPointable – Balance & Supply History Layer
10.4: Checkpoint Libraries – Storage & Algorithms
10.5: FAssetProxy & Upgrade Flow
10.6: FAsset Interfaces – External Surface
11.1: AssetManagerDiamondCore: Overview
11.2: Diamond Structure and Facet Management
11.3: Central State: AssetManagerState.sol In-Depth
11.4: Initialization and Base Facet Logic
11.5: Settings Framework: Reading, Initialization, and Validation
11.6: Settings Management In-Depth (Part 1): Core Logic and Structures in SettingsManagementFacet.sol
11.7: Settings Management In-Depth (Part 2): Operations and SettingsUpdater.sol
11.8: System Information and General State Management
11.9: Emergency Mechanisms: Pause and Transfer Pause
11.10: Underlying Asset Interaction: Balance and Timekeeping
11.11: Supporting Libraries, Data Structures, and Interface Review
12.1: AgentAndMinting: Overview
12.2: AgentAndMinting: Agent Data Structures
12.3: AgentAndMinting: Collateral Data and Types
12.4: AgentAndMinting: Core Agent Management
12.5: AgentAndMinting: Agent Collateral and Vault Operations
12.6: AgentAndMinting: Agent Discovery, Information, and External Views
12.7: AgentAndMinting: Minting - Collateral Reservation
12.8: AgentAndMinting: Minting - Execution and Attestation
12.9: AgentAndMinting: Supporting Libraries and Utilities
13.1: CoreVault: Overview
13.2: CoreVaultManager – Storage Anatomy
13.3: CoreVaultManager – Transfer Request Lifecycle
13.4: CoreVaultManager – Escrow Mechanics
13.5: CoreVaultManager – Governance & Safety Controls
13.6: CoreVault Library – Agent ↔ CoreVault Flows
13.7: CoreVault Facets – Diamond Integration
13.8: Deployment & Interfaces – Proxy + ABI Surface
14.1: TransferFeeModule: Overview
14.2: TransferFeeFacet: Interface for Fee Claims
14.3: TransferFees.sol: Core Fee Management Logic
15.1: RedemptionModule: Overview
15.2: RedemptionModule: Data Structures
15.3: RedemptionModule: Requesting Redemption
15.4: RedemptionModule: Agent Payment Confirmation
15.5: RedemptionModule: Core Execution & Queue Info
15.6: RedemptionModule: Handling Failures & Defaults
15.7: RedemptionModule: Time Extensions
16.1: LiquidationModule: Overview
16.2: LiquidationFacet: Initiating and Managing Liquidations
16.3: Liquidation Library: Core Logic and Calculations
16.4: LiquidationPaymentStrategy: Distributing Proceeds
16.5: Challenges System: Disputing Liquidations
16.6: Payment Verification: Confirmations and References
17.1: UserAPI: Overview
17.2: UserAPI: Data Structures
17.3: UserAPI: IAssetManager Interface
17.4: UserAPI: IAssetManagerEvents
17.5: UserAPI: Agent-Specific Interfaces
17.6: UserAPI: Specialized Utility Interfaces