This is my code with 18 decimals
fn ft_metadata(&self) -> FungibleTokenMetadata {
FungibleTokenMetadata {
spec: FT_METADATA_SPEC.to_string(),
name: String::from("Avrit fungible token"),
symbol: String::from("AVRIT"),
icon: None,
reference: None,
reference_hash: None,
decimals: 18,
}
}
1×10^25 should show 1*10^7 tokens, but ref finance shows 1×10^19. Am I doing everything right?