Skip to content

Commit

Permalink
Add contract meta types (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Jul 13, 2022
1 parent 0030d1c commit 1108047
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Stellar-contract-env-meta.x
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// Copyright 2022 Stellar 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/Stellar-types.h"
namespace stellar
{

enum SCEnvMetaKind
{
SC_ENV_META_KIND_INTERFACE_VERSION = 0
};

union SCEnvMetaEntry switch (SCEnvMetaKind kind)
{
case SC_ENV_META_KIND_INTERFACE_VERSION:
uint64 interfaceVersion;
};

}

0 comments on commit 1108047

Please sign in to comment.