| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
EVM.Concrete
Documentation
word256Bytes :: W256 -> ByteString Source #
readByteOrZero :: Int -> ByteString -> Word8 Source #
byteStringSliceWithDefaultZeroes :: Int -> Int -> ByteString -> ByteString Source #
Constructors
| Dull | |
| FromKeccak ByteString |
blob :: ByteString -> Blob Source #
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 Methods toRational :: Word -> Rational # | |
| Show Word Source # | |
| Bits Word Source # | |
Defined in EVM.Concrete Methods (.&.) :: 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 Methods finiteBitSize :: Word -> Int # countLeadingZeros :: Word -> Int # countTrailingZeros :: Word -> Int # | |
| SDisplay Word Source # | |
Constructors
| B ByteString |
Constructors
| ConcreteByte Word8 |
Instances
| Enum Byte Source # | |
| Eq Byte Source # | |
| Integral Byte Source # | |
| Num Byte Source # | |
| Ord Byte Source # | |
| Real Byte Source # | |
Defined in EVM.Concrete Methods toRational :: Byte -> Rational # | |
| Bits Byte Source # | |
Defined in EVM.Concrete Methods (.&.) :: Byte -> Byte -> Byte # (.|.) :: Byte -> Byte -> Byte # complement :: Byte -> Byte # shift :: Byte -> Int -> Byte # rotate :: Byte -> Int -> Byte # setBit :: Byte -> Int -> Byte # clearBit :: Byte -> Int -> Byte # complementBit :: Byte -> Int -> Byte # testBit :: Byte -> Int -> Bool # bitSizeMaybe :: Byte -> Maybe Int # shiftL :: Byte -> Int -> Byte # unsafeShiftL :: Byte -> Int -> Byte # shiftR :: Byte -> Int -> Byte # unsafeShiftR :: Byte -> Int -> Byte # rotateL :: Byte -> Int -> Byte # | |
| FiniteBits Byte Source # | |
Defined in EVM.Concrete Methods finiteBitSize :: Byte -> Int # countLeadingZeros :: Byte -> Int # countTrailingZeros :: Byte -> Int # | |
Constructors
| ConcreteMemory ByteString |
wordToByte :: Word -> Byte Source #
forceConcreteBlob :: Blob -> ByteString Source #
forceConcreteWord :: Word -> W256 Source #
keccakBlob :: Blob -> Word Source #