In Ethereum yellowpaper the gas cost to create a contract is equal 32000. But what is the cost to validate and keep the contract operating until it is executed?
Imagine the following situation: I want to transfer an amount of ether from wallet X to wallet Y. I will use a smart contract to do the validation of the transfer. By my understanding the cost would be:
32 000 gas to create a new contract; After the contract was validated, 21000 gas would be added to the cost of the contract because the transaction would be validated.
My questions are: is this analogy correct?
Anything I do in the Ethereum blockchain can be considered a transaction? (If I just want to store a value in the blockchain (i.e. 256 bit value has a cost of 20 000 gas) I would have to pay the gas for store the value and also the gas cost of a transaction?