mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-17 19:35:11 +03:00
Semantics improvements
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// https://github.com/orionprotocol/orion-aggregator/blob/11a7847af958726c65ae5f7b14ee6463c75ea14b/src/main/java/io/orionprotocol/aggregator/model/Exchange.java
|
||||
export default [
|
||||
// CEXes
|
||||
'ASCENDEX',
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import subOrderStatuses from './subOrderStatuses.js';
|
||||
|
||||
// https://github.com/orionprotocol/orion-aggregator/blob/develop/src/main/java/io/orionprotocol/aggregator/model/order/status/OrderStatus.java
|
||||
const orderStatuses = [
|
||||
...subOrderStatuses,
|
||||
'ROUTING', // order got sub orders, but not all of them have status ACCEPTED
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export const INTERNAL_ORION_PRECISION = 8;
|
||||
export const INTERNAL_PROTOCOL_PRECISION = 8;
|
||||
export const NATIVE_CURRENCY_PRECISION = 18;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// https://github.com/orionprotocol/orion-aggregator/blob/develop/src/main/java/io/orionprotocol/aggregator/model/order/status/SubOrderStatus.java
|
||||
const subOrderStatuses = [
|
||||
'NEW', // created, wasn't added to IOB or wasn't accepted by the broker
|
||||
'ACCEPTED', // added to IOB or accepted by the broker
|
||||
|
||||
Reference in New Issue
Block a user