diff --git a/Stellar-contract-spec.x b/Stellar-contract-spec.x index 6988a63..5d3e029 100644 --- a/Stellar-contract-spec.x +++ b/Stellar-contract-spec.x @@ -42,6 +42,7 @@ enum SCSpecType SC_SPEC_TYPE_MAP = 1004, SC_SPEC_TYPE_TUPLE = 1005, SC_SPEC_TYPE_BYTES_N = 1006, + SC_SPEC_TYPE_HASH = 1007, // User defined types. SC_SPEC_TYPE_UDT = 2000 @@ -79,6 +80,11 @@ struct SCSpecTypeBytesN uint32 n; }; +struct SCSpectTypeHash +{ + uint32 n; +}; + struct SCSpecTypeUDT { string name<60>; @@ -117,6 +123,8 @@ case SC_SPEC_TYPE_TUPLE: SCSpecTypeTuple tuple; case SC_SPEC_TYPE_BYTES_N: SCSpecTypeBytesN bytesN; +case SC_SPEC_TYPE_HASH: + SCSpectTypeHash hash; case SC_SPEC_TYPE_UDT: SCSpecTypeUDT udt; };