static_gas = {gasPrices|call}
dynamic_gas = memory_expansion_cost + code_execution_cost
The memory expansion cost explanation can be found here.
The different costs are:
code_execution_cost
is the cost of the called code execution (limited by thegas
parameter).