You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40-1Lines changed: 40 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,49 @@
8
8
9
9
## 🏗 Architecture
10
10
11
-
The system consists of two decoupled smart contracts:
11
+
The system consists of multiple smart contracts:
12
12
13
13
1.**`invoice_nft`**: A standard-compliant NFT representing a verified invoice. It holds metadata (IPFS hash, face value, currency, due date).
14
14
2.**`lending_pool`**: An escrow vault where liquidity providers deposit stablecoins (USDC). It accepts `invoice_nft` as collateral to automate loan origination and repayment.
15
+
3.**`factory`**: Factory contract for deploying liquidity pools with specific fee tiers.
16
+
4.**`amm_pool`**: Automated Market Maker pool contract with configurable fee tiers.
17
+
18
+
## 💰 Fee Tiers
19
+
20
+
The Factory contract supports creating pools with different fee tiers to optimize for various token pair characteristics:
21
+
22
+
| Fee Tier | Basis Points | Percentage | Use Case |
0 commit comments