penumbra_transaction

Module gas

Source

Traits§

GasCost
Allows Actions and Transactions to statically indicate their relative resource consumption. Since the gas cost needs to be multiplied by a price, the values returned only need to be scaled relatively to each other.

Functions§

output_gas_cost
spend_gas_cost
swap_claim_gas_cost