Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- wordAt :: Int -> ByteString -> W256
- readByteOrZero :: Int -> ByteString -> Word8
- byteStringSliceWithDefaultZeroes :: Int -> Int -> ByteString -> ByteString
- data Whiff
- w256 :: W256 -> Word
- data Word = C Whiff W256
- wordValue :: Word -> W256
- sliceMemory :: (Integral a, Integral b) => a -> b -> ByteString -> ByteString
- writeMemory :: ByteString -> Word -> Word -> Word -> ByteString -> ByteString
- readMemoryWord :: Word -> ByteString -> Word
- readMemoryWord32 :: Word -> ByteString -> Word
- setMemoryWord :: Word -> Word -> ByteString -> ByteString
- setMemoryByte :: Word -> Word8 -> ByteString -> ByteString
- readBlobWord :: Word -> ByteString -> Word
- blobSize :: ByteString -> Word
- keccakBlob :: ByteString -> Word
- (^) :: W256 -> W256 -> W256
- createAddress :: Addr -> W256 -> Addr
- create2Address :: Addr -> W256 -> ByteString -> Addr
Documentation
readByteOrZero :: Int -> ByteString -> Word8 Source #
byteStringSliceWithDefaultZeroes :: Int -> Int -> ByteString -> ByteString Source #
This type can give insight into the provenance of a term
Instances
Bounded Word Source # | |
Enum Word Source # | |
Eq Word Source # | |
Integral Word Source # | |
Num Word Source # | |
Ord Word Source # | |
Read Word Source # | |
Real Word Source # | |
Defined in EVM.Concrete toRational :: Word -> Rational # | |
Show Word Source # | |
Bits Word Source # | |
Defined in EVM.Concrete (.&.) :: Word -> Word -> Word # (.|.) :: Word -> Word -> Word # complement :: Word -> Word # shift :: Word -> Int -> Word # rotate :: Word -> Int -> Word # setBit :: Word -> Int -> Word # clearBit :: Word -> Int -> Word # complementBit :: Word -> Int -> Word # testBit :: Word -> Int -> Bool # bitSizeMaybe :: Word -> Maybe Int # shiftL :: Word -> Int -> Word # unsafeShiftL :: Word -> Int -> Word # shiftR :: Word -> Int -> Word # unsafeShiftR :: Word -> Int -> Word # rotateL :: Word -> Int -> Word # | |
FiniteBits Word Source # | |
Defined in EVM.Concrete | |
SDisplay Word Source # | |
sliceMemory :: (Integral a, Integral b) => a -> b -> ByteString -> ByteString Source #
writeMemory :: ByteString -> Word -> Word -> Word -> ByteString -> ByteString Source #
readMemoryWord :: Word -> ByteString -> Word Source #
readMemoryWord32 :: Word -> ByteString -> Word Source #
setMemoryWord :: Word -> Word -> ByteString -> ByteString Source #
setMemoryByte :: Word -> Word8 -> ByteString -> ByteString Source #
readBlobWord :: Word -> ByteString -> Word Source #
blobSize :: ByteString -> Word Source #
keccakBlob :: ByteString -> Word Source #
create2Address :: Addr -> W256 -> ByteString -> Addr Source #