B2B Real-World Asset (RWA) TCG Physical Collateral Lending & Dutch Auction Protocol
Physical card custody, authentication, grading & cert hash attestation.
TCG market sales IQR filter + 90d VW-TWAP pricing submitted on-chain.
Verified merchant wallets eligible for isolated credit vault operations.
Protocol-wide centralized Role-Based Access Control registry and merchant KYB whitelist status manager.
Single global collection representing vaulted TCG cards. Supports collateral transfer locking (`isLocked`).
Gas-optimized FMV price registry packed into 1 storage slot (128-bit USD + 128-bit timestamp).
Modular pool collateral filter enforcing grading companies (PSA/BGS) & grade ranges (≥10, ≥9).
Manages isolated CollateralVault instances for stores. Handles NFT custody escrow, continuous per-second interest accrual, LTV validation, draw requests, and liquidation triggers.
Deploys and registers isolated ERC-4626 pools with customized risk parameters per asset.
Permissioned liquidity vault. Enforces non-transferable shares, 3-decimal inflation offset, and pool-level risk caps.
Automated liquidation engine triggered when $HF < 1.0$. Price decays linearly from 120% FMV to Reserve Price (Debt + Penalty). Supports liquidator settlement and Treasury backstop buyback.
Locks vault, fixes 120% start & reserve price.
Liquidator pays clearing price; surplus goes to store.
Protocol backstop if expired after 48 hours.
contracts/HoloFiVaultLoanCore.sol
Central collateral escrow and risk engine. Manages isolated merchant vaults, verifies KYB approvals, computes Health Factors, accrues continuous per-second interest, and coordinates asset draws from registered Lending Pools.
HoloFiVaultCard upon deposit.getMaxBorrowCapacity().ReentrancyGuard.HoloFi implements an isolated multi-vault architecture where each merchant creates their own vault bound to a specific lending pool asset, ensuring pool-level risk separation and transparent NFT collateral backing.