You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func (dm DenomMetadata) Validate() error {
...
// validate exponent
// TODO: currently only 18 decimals are supported
if AllowedDecimals(dm.Exponent) != Decimals18 {
return fmt.Errorf("invalid exponent")
}
return nil
}
when changed, need to handle IRO support as well
func (lbc BondingCurve) SupplyDecimals() int64 {
// TODO: allow to be set on creation instead of using default
rollappTokenDefaultDecimals := int64(18)
return rollappTokenDefaultDecimals
}
The text was updated successfully, but these errors were encountered:
currently we enfroce 18 decimals
when changed, need to handle IRO support as well
The text was updated successfully, but these errors were encountered: