memory-enabled smart contracts