hs-abci-sdk-0.1.0.0
Tendermint.SDK.BaseApp.Gas
data GasMeter m a where Source #
Constructors
Defined in Tendermint.SDK.BaseApp.Gas
newtype GasAmount Source #
Fields
Methods
(==) :: GasAmount -> GasAmount -> Bool #
(/=) :: GasAmount -> GasAmount -> Bool #
(+) :: GasAmount -> GasAmount -> GasAmount #
(-) :: GasAmount -> GasAmount -> GasAmount #
(*) :: GasAmount -> GasAmount -> GasAmount #
negate :: GasAmount -> GasAmount #
abs :: GasAmount -> GasAmount #
signum :: GasAmount -> GasAmount #
fromInteger :: Integer -> GasAmount #
compare :: GasAmount -> GasAmount -> Ordering #
(<) :: GasAmount -> GasAmount -> Bool #
(<=) :: GasAmount -> GasAmount -> Bool #
(>) :: GasAmount -> GasAmount -> Bool #
(>=) :: GasAmount -> GasAmount -> Bool #
max :: GasAmount -> GasAmount -> GasAmount #
min :: GasAmount -> GasAmount -> GasAmount #
showsPrec :: Int -> GasAmount -> ShowS #
show :: GasAmount -> String #
showList :: [GasAmount] -> ShowS #
withGas :: forall r a. MemberWithError GasMeter r => GasAmount -> Sem r a -> Sem r a Source #
eval :: Members [Error AppError, State GasAmount] r => Sem (GasMeter ': r) a -> Sem r a Source #