MCPcopy Create free account
hub / github.com/AmazingAng/PolyWorld / OrderFormProps

Interface OrderFormProps

src/components/OrderForm.tsx:105–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105interface 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
116type Side = "BUY" | "SELL";
117

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected