Skip to content

Commit

Permalink
Re-export bitwise builtins from PlutusTx.Prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
kozross committed Jul 17, 2024
1 parent 0c02489 commit d34a8bb
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion plutus-tx/src/PlutusTx/Prelude.hs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@ module PlutusTx.Prelude (
indexByteString,
emptyByteString,
decodeUtf8,
andByteString,
orByteString,
xorByteString,
complementByteString,
-- ** Bit operations
readBit,
writeBits,
shiftByteString,
rotateByteString,
countSetBits,
findFirstSetBit,
-- * Hashes and Signatures
sha2_256,
sha3_256,
Expand Down Expand Up @@ -114,7 +125,9 @@ module PlutusTx.Prelude (
fromBuiltin,
toBuiltin,
fromOpaque,
toOpaque
toOpaque,
integerToByteString,
byteStringToInteger
) where

import Data.String (IsString (..))
Expand Down

0 comments on commit d34a8bb

Please sign in to comment.