Skip to content

Commit

Permalink
Merge pull request #324 from simone1999/patch-1
Browse files Browse the repository at this point in the history
Fixed confusion between float and int in docs
  • Loading branch information
himaster authored Sep 26, 2024
2 parents 61da6ef + 756541b commit c0f22bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Depending on which output you need to construct, you will sign with different ac

## Restrictions

According to the SPL token structure, an unsigned 64-bit floating point number is used to store the balance; in ERC-20, it's an unsigned 256-bit floating point number. Based on the unsigned 64-bit floating point standard, the maximum balance and transfer amount is (2^64-1)/(10^9), with 9 decimals of accuracy.
According to the SPL token structure, an unsigned 64-bit integer is used to store the balance; in ERC-20, it's an unsigned 256-bit integer. Based on the unsigned 64-bit integer, the maximum balance and transfer amount is (2^64-1)/(10^9), with 9 decimals of accuracy.

## Notes on variants in outcome

Expand Down

0 comments on commit c0f22bb

Please sign in to comment.