| 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 |
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 # | |
wordToByte :: Word -> Word8 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 #