Skip to content

Commit aef4101

Browse files
authored
Added WaitingTinyAmount to WithdrawDepositStatus enum (#141)
1 parent 2b6de72 commit aef4101

File tree

2 files changed

+34
-24
lines changed

2 files changed

+34
-24
lines changed

HTX.Net/Enums/WithdrawDepositStatus.cs

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ namespace HTX.Net.Enums
99
/// </summary>
1010
[JsonConverter(typeof(EnumConverter<WithdrawDepositStatus>))]
1111
public enum WithdrawDepositStatus
12-
{
13-
/// <summary>
14-
/// Awaiting verification
15-
/// </summary>
16-
[Map("verifying")]
17-
Verifying,
18-
/// <summary>
19-
/// Verification failed
20-
/// </summary>
21-
[Map("failed")]
22-
Failed,
12+
{
13+
/// <summary>
14+
/// Awaiting verification
15+
/// </summary>
16+
[Map("verifying")]
17+
Verifying,
18+
/// <summary>
19+
/// Verification failed
20+
/// </summary>
21+
[Map("failed")]
22+
Failed,
2323
/// <summary>
2424
/// Withdraw request submitted successfully
2525
/// </summary>
@@ -29,42 +29,42 @@ public enum WithdrawDepositStatus
2929
/// Under examination for withdraw validation
3030
/// </summary>
3131
[Map("reexamine")]
32-
Reexamine,
32+
Reexamine,
3333
/// <summary>
3434
/// Withdraw canceled by user
3535
/// </summary>
3636
[Map("canceled")]
37-
Canceled,
37+
Canceled,
3838
/// <summary>
3939
/// Withdraw validation passed
4040
/// </summary>
4141
[Map("pass")]
42-
Pass,
42+
Pass,
4343
/// <summary>
4444
/// Withdraw validation rejected
4545
/// </summary>
4646
[Map("reject")]
47-
Reject,
47+
Reject,
4848
/// <summary>
4949
/// Withdraw is about to be released
5050
/// </summary>
5151
[Map("pre-transfer")]
52-
PreTransfer,
52+
PreTransfer,
5353
/// <summary>
5454
/// On-chain transfer initiated
5555
/// </summary>
5656
[Map("wallet-transfer")]
57-
WalletTransfer,
57+
WalletTransfer,
5858
/// <summary>
5959
/// Transfer rejected by chain
6060
/// </summary>
6161
[Map("wallet-reject")]
62-
WalletReject,
62+
WalletReject,
6363
/// <summary>
6464
/// On-chain transfer completed with one confirmation for withdraw or for at least one block for deposit
6565
/// </summary>
6666
[Map("confirmed")]
67-
Confirmed,
67+
Confirmed,
6868
/// <summary>
6969
/// On-chain transfer failed to get confirmation
7070
/// </summary>
@@ -74,26 +74,31 @@ public enum WithdrawDepositStatus
7474
/// Withdraw terminated by system
7575
/// </summary>
7676
[Map("repealed")]
77-
Repealed,
77+
Repealed,
7878
/// <summary>
7979
/// On-chain transfer has not been received
8080
/// </summary>
8181
[Map("unknown")]
82-
Unknown,
82+
Unknown,
8383
/// <summary>
8484
/// On-chain transfer waits for first confirmation
8585
/// </summary>
8686
[Map("confirming")]
87-
Confirming,
87+
Confirming,
8888
/// <summary>
8989
/// Multiple on-chain confirmation happened
9090
/// </summary>
9191
[Map("safe")]
92-
Safe,
92+
Safe,
9393
/// <summary>
9494
/// Confirmed but currently in an orphan branch
9595
/// </summary>
9696
[Map("orphan")]
97-
Orphan
97+
Orphan,
98+
/// <summary>
99+
/// Waiting tiny amount
100+
/// </summary>
101+
[Map("waiting-tiny-amount")]
102+
WaitingTinyAmount
98103
}
99104
}

HTX.Net/HTX.Net.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7822,6 +7822,11 @@
78227822
Confirmed but currently in an orphan branch
78237823
</summary>
78247824
</member>
7825+
<member name="F:HTX.Net.Enums.WithdrawDepositStatus.WaitingTinyAmount">
7826+
<summary>
7827+
Waiting tiny amount
7828+
</summary>
7829+
</member>
78257830
<member name="T:HTX.Net.Enums.WithdrawDepositType">
78267831
<summary>
78277832
Define transfer type

0 commit comments

Comments
 (0)