When the contract has touched P-Claim, the payment process has been activated
The system has completed the payment to the user's wallet (*)
At the time of contract expiration, P-Close is between P-Refund and P-Claim, the system returns the margin to the user's wallet.
During the period, P-Market hits P-Expire, the liquidation is triggered
At the time of contract expiration, P-Close is between P-Refund and P-Expire, the contract is liquidated due to expiration
The contract completes the conditions for an early refund
The contract was opened successfully but P-Open crossed the safe distance
The user is refunded after that