Skip to content

Commit 4419559

Browse files
committed
primitives - market::StatusType - add missing statuses
1 parent 9006405 commit 4419559

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

primitives/src/market.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,19 @@ use crate::{BalancesMap, BigNum, Channel};
88
// Data structs specific to the market
99
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
1010
pub enum StatusType {
11-
Initializing,
12-
Ready,
1311
Active,
12+
Ready,
13+
Pending,
14+
Initializing,
15+
Waiting,
1416
Offline,
1517
Disconnected,
1618
Unhealthy,
17-
Withdraw,
19+
Invalid,
1820
Expired,
21+
/// also called "Closed"
1922
Exhausted,
23+
Withdraw,
2024
}
2125

2226
#[derive(Deserialize, Clone, Debug)]

0 commit comments

Comments
 (0)