Closed ghost closed 2 years ago
There are inconsistent behaviors of some procedures in ZRC1. e.g.
IsTokenOwner
IsMinter
IsSelf
IsTokenExists
This inconsistency can be confusing and error-prone.
Therefore the following can be
changed to
IsNotSelf
IsTokenNotFound
There are inconsistent behaviors of some procedures in ZRC1. e.g.
IsTokenOwner
throws an error if not a token ownerIsMinter
throws an error if not a minterIsSelf
throws an error if selfIsTokenExists
throws an error if the token existsThis inconsistency can be confusing and error-prone.
Therefore the following can be
IsSelf
throws an error if selfIsTokenExists
throws an error if the token existschanged to
IsNotSelf
throws an error if selfIsTokenNotFound
throws an error if the token exists