Skip to main content

Module gas_params

Module gas_params 

Source

Constantsยง

CODE_DEPOSIT_COST_T1 ๐Ÿ”’
CONTRACT_CREATE_COST ๐Ÿ”’
EIP7702_PER_EMPTY_ACCOUNT_COST_T1 ๐Ÿ”’
NEW_ACCOUNT_COST ๐Ÿ”’
T4_CODE_DEPOSIT_REGULAR ๐Ÿ”’
T4_CODE_DEPOSIT_STATE ๐Ÿ”’
T4_CREATE_REGULAR ๐Ÿ”’
T4_CREATE_STATE ๐Ÿ”’
T4_NEW_ACCOUNT_REGULAR ๐Ÿ”’
T4_NEW_ACCOUNT_STATE ๐Ÿ”’
T4_SSTORE_SET_REFUND ๐Ÿ”’
T4_SSTORE_SET_REGULAR ๐Ÿ”’
T4_SSTORE_SET_STATE ๐Ÿ”’

Functionsยง

amsterdam_gas_params ๐Ÿ”’
Builds the Amsterdam gas table with the TIP-1016 regular/state split.
t1_gas_params ๐Ÿ”’
Builds the T1+ gas table with TIP-1000 costs and no state gas split.
t7_gas_params ๐Ÿ”’
Builds the T7 gas table: TIP-1000 creation costs, but the SSTORE creation cost is lowered to the 5k residual (SSTORE_SET_COST) per TIP-1060.
tempo_gas_params
Backward-compatible alias for tempo_gas_params_with_amsterdam with TIP-1016 disabled.
tempo_gas_params_with_amsterdam
Tempo gas params override.