Expand description

This module is used to instrument a Wasm module with gas metering code.

The primary public interface is the inject function which transforms a given module into one that charges gas for code to be executed. See function documentation for usage and details.

Structs

A type that implements Rules so that every instruction costs the same.

Enums

Dynamic costs for memory growth.

Traits

An interface that describes instruction costs.

Functions

Transforms a given module into one that charges gas for code to be executed by proxy of an imported gas metering function.