Skip to content

Commit e3bf5fa

Browse files
authored
Merge pull request #388 from vivian1912/master
Update resource.md
2 parents 3921f58 + 0445dbf commit e3bf5fa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/mechanism-algorithm/resource.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,21 +79,21 @@ Example (Using wallet-cli):
7979
freezeBalanceV2 frozen_balance [ResourceCode:0 BANDWIDTH,1 ENERGY]
8080
```
8181

82-
stake TRX to get energy, energy obtained = user's TRX staked amount / total amount of staked TRX in TRON * 150_000_000_000.
82+
stake TRX to get energy, energy obtained = user's TRX staked amount / total amount of staked TRX in TRON * 180_000_000_000.
8383

8484
Example:
8585

8686
```text
8787
If there are only two users, A stakes 2 TRX, B stakes 2 TRX
8888
the energy they can get is:
89-
A: 75_000_000_000 and energy_limit is 75_000_000_000
90-
B: 75_000_000_000 and energy_limit is 75_000_000_000
89+
A: 75_000_000_000 and energy_limit is 90_000_000_000
90+
B: 75_000_000_000 and energy_limit is 90_000_000_000
9191
9292
when C stakes 1 TRX:
9393
the energy they can get is:
94-
A: 60_000_000_000 and energy_limit is 60_000_000_000
95-
B: 60_000_000_000 and energy_limit is 60_000_000_000
96-
C: 30_000_000_000 and energy_limit is 30_000_000_000
94+
A: 60_000_000_000 and energy_limit is 72_000_000_000
95+
B: 60_000_000_000 and energy_limit is 72_000_000_000
96+
C: 30_000_000_000 and energy_limit is 36_000_000_000
9797
```
9898
#### Energy Consumption
9999

0 commit comments

Comments
 (0)