diff --git a/nep-25.mediawiki b/nep-25.mediawiki index d69812ac..6c986ebe 100644 --- a/nep-25.mediawiki +++ b/nep-25.mediawiki @@ -175,6 +175,7 @@ represents all possible fields). "type": "Integer", "namedtype": "name", "length": 32, + "forbidnull": true, "interface": "IIterator", "key": "Integer", "value": {}, @@ -206,6 +207,13 @@ byte length of an integer/byte array/string or number of array elements. Any of these lengths MUST NOT exceed NeoVM limitations that are relevant for the current version of it. Length 0 means "unlimited". +forbidnull is an optional field that can be used for Hash160, +Hash256, ByteArray, String, Array, +Map or InteropInterface types and MUST NOT be used +for other types. It allows to specify that the method accepts or event emits +only non-null values for this field. The default (if not specified) is "false", +meaning that null can be used. + interface is only used in conjuction with the InteropInterface type and MUST NOT be used for other types, when used it specifies which interop interface is used. The only valid @@ -266,6 +274,7 @@ map parameters, returning an iterator with structured element type. "namedtype" : "package.Structure" }, "type" : "InteropInterface", + "forbidnull" : true, "interface" : "IIterator" }, "name" : "m",