Hello I would like to create an ERC777 token which cannot be divided.
I understand that, because
decimals() have to remain 18, I have to override the
granularity() to 10^18.
What I don't understand is, that the ERC777 implementation does never check if I send multiples of the
Returns the smallest part of the token that is not divisible. This means all token operations (creation, movement and destruction) must have amounts that are a multiple of this number.
To my understanding I have to mint 10^18 token to get one and to send 1 token I have to send 10^18. But the ERC777 contract does not check if I send less than the granularity.
I think I'm getting something wrong here.