Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithSafeMeter ¶
func WithSafeMeter(gasMeter storetypes.GasMeter) storetypes.GasMeter
WithSafeMeter returns a new instance of storetypes.GasMeter that is go-routine-safe.
func WithWeightedMeter ¶
func WithWeightedMeter(decorated storetypes.GasMeter, weight uint64) storetypes.GasMeter
WithWeightedMeter returns a new weightedMeterDecorator with the given weight.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.