Your TRX prepayment in an Energy rental order includes the Energy Fee, Security Deposit and Liquidation Penalty The formulas and rules for calculation are as follows:
Energy Fee = Rental Amount * Unit Price * Rental Duration
Security Deposit = Rental Amount * Daily Price
Liquidation Penalty = Max (Equivalent TRX Delegated * 0.008%, 20 TRX)
Commonly, all of your security deposit will be returned when the rental is ended. However, in the following scenarios, part of your security deposit will be deducted:
- If you end your rental when the used Energy is not recovered to the original amount, your security deposit will be deducted accordingly. Security deposit deducted = Rental Amount * Unit price * 0.75.
- If you do not end your rental before expiration, the security deposit will be deducted based on the exceeded duration.
- If your rental is liquidated due to expiration, the liquidation fee will be deducted from your security deposit.
For example, a user wants to rent 1,000,000 Energy for 3 days. Currently, 100,000 Energy costs 12 TRX every day for rental. If you choose to get 100,000 Energy by staking, 6,000 TRX will need to be staked.
Energy Fee = 12 TRX/Day * 1,000,000 / 100,000 * 3 days = 360 TRX
Security deposit = 12 TRX * 1,000,000 / 100,000 = 120 TRX
Liquidation Penalty = Max (1,000,000 / 100,000 * 0.008% * 6000, 20TRX) = 20 TRX
The following section describes common scenarios when the rental ends:
1. The user ends the rental early (no price fluctuation)
① Used Energy fully recovered: all security deposit and liquidation penalty will be returned (160 TRX)
② Used Energy recovered to 60% of the original amount: remaining rental fee to be returned = 160 TRX - 40% * 12 TRX * 1,000,000 / 100,000 * 0.75 = 124 TRX
2. The user ends the rental 12 hours (0.5 day) after expiration but is not liquidated (no price fluctuation)
① Used Energy fully recovered: security deposit and liquidation penalty to be returned = 160 TRX - 12 TRX/Day * 1,000,000 / 100,000 * 0.5 day = 100 TRX
② Used Energy recovered to 60% of the original amount: remaining rental fee to be returned = 160 TRX - 12 TRX/Day * 1,000,000 / 100,000 * 0.5 day - 40% * 12 TRX * 1,000,000 / 100,000 * 0.75 = 64 TRX
3. The user does not end the rental upon expiration and is liquidated at that moment (no price fluctuation)
① Used Energy fully recovered: security deposit and liquidation penalty to be returned = 160 TRX - Max(20 TRX, 6,000 TRX * 1,000,000 / 100,000 * 0.008%) = 140 TRX
② Used Energy recovered to 60% of the original amount: remaining rental fee to be returned = 160 TRX - Max(20 TRX, 6,000 TRX * 1,000,000 / 100,000 * 0.008%) - 40% * 12 TRX * 1,000,000 / 100,000 * 0.75 = 104 TRX
Therefore, you can get all your security deposit back when you end the rental on time and with all Energy recovered to the original amount.