From what I've read of the Ethereum white paper, it seems that the system is designed to charge you some
GASPRICE per instruction in a smart contract's code.
Given this, it seems that there would be some premium placed both on efficient code, and on accurate
STARTGAS estimates for existing contracts.
Does there exist some part of the Ethereum ecosystem that:
allows you to chain some contracts together via some kind of
allows you to see estimates of
STARTGASfor an existing smart contract
and, most importantly,
- (effectively) validates that
STARTGASamount so that you're certain that the contract that you're using is accurately pricing its instruction set?
Relatedly, is there any part of the Ethereum ecosystem that looks to measure and improve the efficiency of existing contract code? It seems like, if you are effectively paying per computational resource used, there would be a big market available in finding more efficiencies.