The decimals
function in the PYRToken
contract is a view function that returns the number of decimal places used by the token. It is likely a public variable that indicates how the token's value is represented in smaller units.
uint8
: The function returns a single output, which is the number of decimal places (as an unsigned 8-bit integer).