pub fn total_amount(&self) -> Balance {
		match self {
			VestingBucket::Community => 50_032_400_u128 * 10_u128.saturating_pow(MNT.decimals()),
			VestingBucket::PrivateSale => 10_001_000_u128 * 10_u128.saturating_pow(MNT.decimals()),
			VestingBucket::PublicSale => 2_500_250_u128 * 10_u128.saturating_pow(MNT.decimals()),
			VestingBucket::MarketMaking => 3_000_000_u128 * 10_u128.saturating_pow(MNT.decimals()),
			VestingBucket::StrategicPartners => 1_949_100_u128 * 10_u128.saturating_pow(MNT.decimals()),
			VestingBucket::Marketing => 4_000_400_u128 * 10_u128.saturating_pow(MNT.decimals()),
			VestingBucket::Ecosystem => 4_499_880_u128 * 10_u128.saturating_pow(MNT.decimals()),
			VestingBucket::Team => 24_017_000_u128 * 10_u128.saturating_pow(MNT.decimals()),
		}
	}
/// Returns the total number of tokens for each vesting bucket.
Returns the total number of tokens for each vesting bucket.
Returns the total number of tokens for each vesting bucket .
pub fn total_amount(&self) -> Balance {
		match self {
			VestingBucket::Community => 50_032_400_u128 * 10_u128.saturating_pow(MNT.decimals()),
			VestingBucket::PrivateSale => 10_001_000_u128 * 10_u128.saturating_pow(MNT.decimals()),
			VestingBucket::PublicSale => 2_500_250_u128 * 10_u128.saturating_pow(MNT.decimals()),
			VestingBucket::MarketMaking => 3_000_000_u128 * 10_u128.saturating_pow(MNT.decimals()),
			VestingBucket::StrategicPartners => 1_949_100_u128 * 10_u128.saturating_pow(MNT.decimals()),
			VestingBucket::Marketing => 4_000_400_u128 * 10_u128.saturating_pow(MNT.decimals()),
			VestingBucket::Ecosystem => 4_499_880_u128 * 10_u128.saturating_pow(MNT.decimals()),
			VestingBucket::Team => 24_017_000_u128 * 10_u128.saturating_pow(MNT.decimals()),
		}
	}
pub fn total_amount ( & self ) -> Balance { match self { VestingBucket :: Community => 50_032_400_u128 * 10_u128 . saturating_pow ( MNT . decimals ( ) ) , VestingBucket :: PrivateSale => 10_001_000_u128 * 10_u128 . saturating_pow ( MNT . decimals ( ) ) , VestingBucket :: PublicSale => 2_500_250_u128 * 10_u128 . saturating_pow ( MNT . decimals ( ) ) , VestingBucket :: MarketMaking => 3_000_000_u128 * 10_u128 . saturating_pow ( MNT . decimals ( ) ) , VestingBucket :: StrategicPartners => 1_949_100_u128 * 10_u128 . saturating_pow ( MNT . decimals ( ) ) , VestingBucket :: Marketing => 4_000_400_u128 * 10_u128 . saturating_pow ( MNT . decimals ( ) ) , VestingBucket :: Ecosystem => 4_499_880_u128 * 10_u128 . saturating_pow ( MNT . decimals ( ) ) , VestingBucket :: Team => 24_017_000_u128 * 10_u128 . saturating_pow ( MNT . decimals ( ) ) , } }
Returns the total number of tokens for each vesting bucket.
Returns the total number of tokens for each vesting bucket .
&self
&self