Step 8 of 9

Step 8: Dual Contract Management

Trader can manage both sides of a trade simultaneously using "Dual Contract" feature.

📍 Page Location

URL: /dashboard/authenticated

📸 Visual Representation of the Page

Step 8: Dual Contract Management
TRADER🔔 Notifications

My Contracts (Dual Role)

Contract IDMy RoleProductStatusActions
contract-001BUYERWheatPENDING DEPOSIT
contract-002SUPPLIERRicePENDING CONFIRMATION

🎨 Detailed Visual Description

"Dual Contract" button opens special view showing both buyer and supplier perspectives of the same contract. Trader can perform actions from either role.

Key Visual Elements:

  • Dual perspective view
  • Role switching
  • Unified management

⚙️ Backend Process

API Endpoint: GET /api/contracts/:contractId

Process Flow:
1. Returns contract with both buyer and supplier actions
2. Shows trader permissions for both roles
3. Enables dual management

Database Operations:

  • Table: database.contracts
  • Action: Query contract with dual role data

➡️ Next Action

Trader manages complete trade lifecycle