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
Each of these IDs SHOULD be a ByteString with a length of no more than 64 bytes.
The same thing happens with the tokens call. Most likely this happens because of the default Storage.Find options. I'm not sure about the storage scheme used by the contract, but you probably need to use ValuesOnly (or KeysOnly with RemovePrefix).
For an example of well-behaving NEP-11 please check 0xcd10d9f697230b04d9ebb8594a1ffe18fa95d9ad:
Test invocation of tokensOf for some address returns two elements:
Each of them is a struct, while NEP-11 says:
The same thing happens with the
tokens
call. Most likely this happens because of the defaultStorage.Find
options. I'm not sure about the storage scheme used by the contract, but you probably need to useValuesOnly
(orKeysOnly
withRemovePrefix
).For an example of well-behaving NEP-11 please check 0xcd10d9f697230b04d9ebb8594a1ffe18fa95d9ad:
The text was updated successfully, but these errors were encountered: