// Copyright 2022 Hcnet Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 // The contract spec XDR is highly experimental, incomplete, and still being // iterated on. Breaking changes expected. % #include "xdr/Hcnet-types.h" namespace hcnet { enum SCEnvMetaKind { SC_ENV_META_KIND_INTERFACE_VERSION = 0 }; union SCEnvMetaEntry switch (SCEnvMetaKind kind) { case SC_ENV_META_KIND_INTERFACE_VERSION: uint64 interfaceVersion; }; }