init: contract.storage[1000] = "hot" contract.storage[1001] = "cold" code: // Make sure we have enough gas to run the contact if tx.value < tx.basefee * 100: // If not, stop stop // Swap temp = contract.storage[1000] contract.storage[1000] = contract.storage[1001] contract.storage[1001] = temp