| 103 | } |
| 104 | |
| 105 | interface OrderFormProps { |
| 106 | tokenId: string; |
| 107 | currentPrice?: number; // 0–1 |
| 108 | outcomeName?: string; |
| 109 | negRisk?: boolean; |
| 110 | defaultSide?: "BUY" | "SELL"; |
| 111 | compact?: boolean; // inline / fused mode |
| 112 | autoFocusAmount?: boolean; |
| 113 | onSuccess?: (info: { side: string; amount: number; price: number }) => void; |
| 114 | } |
| 115 | |
| 116 | type Side = "BUY" | "SELL"; |
| 117 |
nothing calls this directly
no outgoing calls
no test coverage detected