hevm-0.47.0: Ethereum virtual machine evaluator
Safe HaskellNone
LanguageHaskell2010

EVM.Transaction

Synopsis

Documentation

data TxType Source #

Instances

Instances details
Eq TxType Source # 
Instance details

Defined in EVM.Transaction

Methods

(==) :: TxType -> TxType -> Bool #

(/=) :: TxType -> TxType -> Bool #

Show TxType Source # 
Instance details

Defined in EVM.Transaction

setupTx :: Addr -> Addr -> Word -> Word -> Map Addr Contract -> Map Addr Contract Source #

Increments origin nonce and pays gas deposit

initTx :: VM -> VM Source #

Given a valid tx loaded into the vm state, subtract gas payment from the origin, increment the nonce and pay receiving address