Skip to content

Commit

Permalink
Merge pull request #97 from jujube/fix/constant
Browse files Browse the repository at this point in the history
fix: constant annotation error
  • Loading branch information
Leouarz committed Jun 10, 2024
2 parents 95c7908 + ebaafaa commit eceed37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ pub mod currency {
pub const AVAIL: Balance = 1_000_000_000_000_000_000;

/// Cents of AVAIL has 16 decimal positions (100 Cents = $1)
/// 1 DOLLARS = `10_000_000_000_000_000`
/// 1 Cents = `10_000_000_000_000_000`
pub const CENTS: Balance = AVAIL / 100;

/// Millicent of AVAIL has 13 decimal positions( 100 mCents = 1 cent).
/// Millicent of AVAIL has 13 decimal positions( 1000 mCents = 1 cent).
pub const MILLICENTS: Balance = CENTS / 1_000;

/// `MILLI_AVAIL` has 15 decimal positions
Expand Down

0 comments on commit eceed37

Please sign in to comment.