-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move native decimals to src/spl/token/constants
- Loading branch information
1 parent
7b35f69
commit db9574d
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
"""Solana constants""" | ||
|
||
NATIVE_DECIMALS: int = 9 | ||
"""Standard number of decimals for SOL and wrapped SOL.""" | ||
"""Solana constants.""" | ||
|
||
LAMPORTS_PER_SOL: int = 1_000_000_000 | ||
"""Number of lamports per SOL, where 1 SOL equals 1 billion lamports.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters