https://github.com/sky-ecosystem/nfat
https://github.com/sky-ecosystem/nfat
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sky-ecosystem/nfat
- Owner: sky-ecosystem
- License: agpl-3.0
- Created: 2026-01-30T20:02:36.000Z (4 months ago)
- Default Branch: dev
- Last Pushed: 2026-03-17T13:38:35.000Z (3 months ago)
- Last Synced: 2026-03-17T22:40:57.000Z (3 months ago)
- Language: Solidity
- Size: 64.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NFAT Facility
An NFAT Facility manages bespoke capital deployment deals between depositors (Primes) and borrowers (Halos).
- **Subscribe**: Depositors queue an asset (e.g. sUSDS) into the facility.
- **Withdraw**: Depositors can at any time withdraw queued funds not yet deployed.
- **Issue**: The operator deploys queued capital to the borrower and mints an ERC-721 Non-Fungible Allocation Token (NFAT) to the depositor, representing their claim on future repayments.
- **Repay**: The borrower repays into the facility against a given NFAT.
- **Collect**: The NFAT holder collects repayments (principal and interest).
Deal terms (APY, maturity, payment frequency, etc) are tracked off-chain; the contract handles only capital flows.
## Assumptions
It is assumed that only simple, regular ERC-20 tokens will be used as `gem`. In particular, the supported tokens are assumed to revert on failure (instead of returning false), not to execute any hook or apply any fee on transfer, and not to execute any rebasing logic.