From 39ca371322e85644dababcf4941156e390e6f148 Mon Sep 17 00:00:00 2001 From: Dmytro Kozhevin Date: Mon, 9 Oct 2023 16:47:03 -0400 Subject: [PATCH] Rename CONTRACT_EXECUTABLE_TOKEN->CONTRACT_EXECUTABLE_STELLAR_ASSET. (#159) This is a more correct name, given that the contract no longer supports arbitrary tokens. --- Stellar-contract.x | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Stellar-contract.x b/Stellar-contract.x index 7c7469c..5113005 100644 --- a/Stellar-contract.x +++ b/Stellar-contract.x @@ -165,14 +165,14 @@ struct Int256Parts { enum ContractExecutableType { CONTRACT_EXECUTABLE_WASM = 0, - CONTRACT_EXECUTABLE_TOKEN = 1 + CONTRACT_EXECUTABLE_STELLAR_ASSET = 1 }; union ContractExecutable switch (ContractExecutableType type) { case CONTRACT_EXECUTABLE_WASM: Hash wasm_hash; -case CONTRACT_EXECUTABLE_TOKEN: +case CONTRACT_EXECUTABLE_STELLAR_ASSET: void; };