📍 Page Location
URL: /dashboard/authenticated
📸 Visual Representation of the Page
Step 9: Complete Trade Cycle
TRADER🔔 Notifications
My Contracts (Dual Role)
| Contract ID | My Role | Product | Status | Actions |
|---|---|---|---|---|
| contract-001 | BUYER | Wheat | PENDING DEPOSIT | |
| contract-002 | SUPPLIER | Rice | PENDING CONFIRMATION |
🎨 Detailed Visual Description
Completed contracts show full transaction history from both perspectives. Trader can see all actions they performed as both buyer and supplier.
Key Visual Elements:
- Complete history
- Dual role tracking
- Trade completion
⚙️ Backend Process
API Endpoint: GET /api/contracts
Process Flow:
1. Returns completed contracts
2. Includes all transactions
3. Shows dual role activityDatabase Operations:
- Table:
database.contracts, database.transactions - Action: Query completed trader contracts
➡️ Next Action
Trade cycle complete! Trader can create new dual contracts.