Skip to main content
added 10 characters in body
Source Link

1-Does execution of same function in a contract uses different amount of gas each time it's executed? 
2-Also if same function (for eg, transfer() function) is written in two different contracts, will it uses different amount of gas? 
3-Mainly on what factors gas consumed for a transaction depends?

1-Does execution of same function in a contract uses different amount of gas each time it's executed? 2-Also if same function (for eg, transfer() function) is written in two different contracts, will it uses different amount of gas? 3-Mainly on what factors gas consumed for a transaction depends?

1-Does execution of same function in a contract uses different amount of gas each time it's executed? 
2-Also if same function (for eg, transfer() function) is written in two different contracts, will it uses different amount of gas? 
3-Mainly on what factors gas consumed for a transaction depends?

Source Link

Does execution of same function in a contract uses different amount of gas each time it's executed

1-Does execution of same function in a contract uses different amount of gas each time it's executed? 2-Also if same function (for eg, transfer() function) is written in two different contracts, will it uses different amount of gas? 3-Mainly on what factors gas consumed for a transaction depends?