Skip to content

Commit

Permalink
Update src/common/constants.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mixmix authored Oct 23, 2024
1 parent ec34886 commit a033a2c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/common/constants.ts
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
/*
A "bit" is the smallest indivisible unit of account value we track.
A "token" is the human readable unit of value value
This constant is then "the number of bits that make up 1 token", or said differently
"how many decimal places our token has".
*/
export const BITS_PER_TOKEN = 1e10

0 comments on commit a033a2c

Please sign in to comment.