init: ARTIST = 0x8802b7f0bfa5e9f5825f2fc708e1ad00d2c2b5d6 OWNER = 1001 // Initialize the owner to be the artist contract.storage[OWNER] = ARTIST code: OWNER = 1001 ARTWORK = "The art happens here." // Make sure we have enough gas to run the contact if tx.value < tx.basefee * 200: // If not, stop stop // If the message is from the current owner // and there are enough arguments // and the command to transfer is being given if msg.sender == contract.storage[OWNER] and msg.datasize == 2 and msg.data[0] == "transfer": // Transfer it to a new owner contract.storage[OWNER] = msg.data[1] return(1) // If there are enough arguments // and the command to show the work is being given else if (msg.datasize == 1): // Just return the artwork return(ARTWORK) // Otherwise else: // Logical false for failure return(0)