pub fn vesting_duration(&self) -> u8 {
		match self {
			VestingBucket::Community => 5,
			VestingBucket::PrivateSale => 1,
			VestingBucket::PublicSale => 1,
			VestingBucket::MarketMaking => 0,
			VestingBucket::StrategicPartners => 2,
			VestingBucket::Marketing => 1,
			VestingBucket::Ecosystem => 4,
			VestingBucket::Team => 5,
		}
	}
/// Returns the duration of the vesting in years for each bucket.
Returns the duration of the vesting in years for each bucket.
Returns the duration of the vesting in years for each bucket .
pub fn vesting_duration(&self) -> u8 {
		match self {
			VestingBucket::Community => 5,
			VestingBucket::PrivateSale => 1,
			VestingBucket::PublicSale => 1,
			VestingBucket::MarketMaking => 0,
			VestingBucket::StrategicPartners => 2,
			VestingBucket::Marketing => 1,
			VestingBucket::Ecosystem => 4,
			VestingBucket::Team => 5,
		}
	}
pub fn vesting_duration ( & self ) -> u8 { match self { VestingBucket :: Community => 5 , VestingBucket :: PrivateSale => 1 , VestingBucket :: PublicSale => 1 , VestingBucket :: MarketMaking => 0 , VestingBucket :: StrategicPartners => 2 , VestingBucket :: Marketing => 1 , VestingBucket :: Ecosystem => 4 , VestingBucket :: Team => 5 , } }
Returns the duration of the vesting in years for each bucket.
Returns the duration of the vesting in years for each bucket .
&self
&self