plutus-tx-1.0.0.0: Libraries for Plutus Tx and its prelude
Safe Haskell None
Language Haskell2010

PlutusTx.Builtins.Class

Synopsis

Documentation

class FromBuiltin arep a | arep -> a where Source #

A class witnessing the ability to convert from the builtin representation to the Haskell representation.

Methods

fromBuiltin :: arep -> a Source #

class ToBuiltin a arep | a -> arep where Source #

A class witnessing the ability to convert from the Haskell representation to the builtin representation.

Methods

toBuiltin :: a -> arep Source #

Instances

Instances details
ToBuiltin Bool BuiltinBool Source #
Instance details

Defined in PlutusTx.Builtins.Class

ToBuiltin Integer BuiltinInteger Source #
Instance details

Defined in PlutusTx.Builtins.Class

ToBuiltin () BuiltinUnit Source #
Instance details

Defined in PlutusTx.Builtins.Class

ToBuiltin ByteString BuiltinByteString Source #
Instance details

Defined in PlutusTx.Builtins.Class

ToBuiltin Text BuiltinString Source #
Instance details

Defined in PlutusTx.Builtins.Class

ToBuiltin BuiltinData BuiltinData Source #
Instance details

Defined in PlutusTx.Builtins.Class

ToBuiltin [( BuiltinData , BuiltinData )] ( BuiltinList ( BuiltinPair BuiltinData BuiltinData )) Source #
Instance details

Defined in PlutusTx.Builtins.Class

ToBuiltin [ BuiltinData ] ( BuiltinList BuiltinData ) Source #
Instance details

Defined in PlutusTx.Builtins.Class

ToBuiltin ( BuiltinData , BuiltinData ) ( BuiltinPair BuiltinData BuiltinData ) Source #
Instance details

Defined in PlutusTx.Builtins.Class

Orphan instances