Skip to main content

Module default_hook

Module default_hook 

Source

Structs§

DefaultHook

Constants§

MAX_REFUND_QUOTIENT

Functions§

compute_actual_gas_used
compute_gas_refunded
deduct_caller
delete_self_destruct_accounts
pay_coinbase
refund_sender
Refunds unused gas to the sender. The user pays gas_spent (post-refund); for Amsterdam+, block-level accounting is recomputed dimensionally from VM fields, not from a pre-refund total.
set_bytecode_and_code_address
Sets bytecode and code_address to CallFrame
transfer_value
Transfer msg_value to transaction recipient
undo_value_transfer
validate_4844_tx
validate_gas_allowance
validate_init_code_size
validate_max_fee_per_blob_gas
validate_min_gas_limit
validate_sender
validate_sender_balance
validate_sufficient_max_fee_per_gas
validate_type_4_tx