FUNCTION

validate_asset_decimals

function validate_asset_decimals(decimals: big_integer)

Ensures that decimals are in the interval [0; 78] (inclusive)

Throws "INVALID DECIMALS" otherwise.

Parameters

  • decimals — the number of decimals
© 2024 Chromia