UNPKG

@parifi/sdk

Version:

Parifi SDK with common utility functions

34 lines 1.19 kB
// src/interfaces/subgraphTypes.ts var OrderType = /* @__PURE__ */ ((OrderType2) => { OrderType2["OPEN_NEW_POSITION"] = "OPEN_NEW_POSITION"; OrderType2["CLOSE_POSITION"] = "CLOSE_POSITION"; OrderType2["INCREASE_POSITION"] = "INCREASE_POSITION"; OrderType2["DECREASE_POSITION"] = "DECREASE_POSITION"; OrderType2["CANCEL_ORDER"] = "CANCEL_ORDER"; return OrderType2; })(OrderType || {}); var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => { OrderStatus2["PENDING"] = "PENDING"; OrderStatus2["CANCELLED"] = "CANCELLED"; OrderStatus2["SETTLED"] = "SETTLED"; OrderStatus2["INVALID"] = "INVALID"; return OrderStatus2; })(OrderStatus || {}); var PositionStatus = /* @__PURE__ */ ((PositionStatus2) => { PositionStatus2["OPEN"] = "OPEN"; PositionStatus2["CLOSED"] = "CLOSED"; PositionStatus2["LIQUIDATED"] = "LIQUIDATED"; return PositionStatus2; })(PositionStatus || {}); var SnxAccountType = /* @__PURE__ */ ((SnxAccountType2) => { SnxAccountType2["CORE"] = "CORE"; SnxAccountType2["PERP"] = "PERP"; return SnxAccountType2; })(SnxAccountType || {}); export { OrderStatus, OrderType, PositionStatus, SnxAccountType }; //# sourceMappingURL=index.mjs.map