morley-1.15.1: Developer tools for the Michelson Language
Safe HaskellNone
LanguageHaskell2010

Michelson.Typed.Existential

Synopsis

Documentation

data SomeConstant where Source #

Constructors

SomeConstant :: (ConstantScope t, SingI t) => Value t -> SomeConstant 

Instances

Instances details
Buildable SomeConstant Source # 
Instance details

Defined in Michelson.Typed.Existential

data SomeConstrainedValue (c :: T -> Constraint) where Source #

Constructors

SomeConstrainedValue :: forall (t :: T) (c :: T -> Constraint). c t => Value t -> SomeConstrainedValue c 

Instances

Instances details
Show (SomeConstrainedValue c) Source # 
Instance details

Defined in Michelson.Typed.Existential

data SomeContract where Source #

Constructors

SomeContract :: Contract cp st -> SomeContract 

Instances

Instances details
Show SomeContract Source # 
Instance details

Defined in Michelson.Typed.Existential

NFData SomeContract Source # 
Instance details

Defined in Michelson.Typed.Existential

Methods

rnf :: SomeContract -> () #

data SomeContractAndStorage where Source #

Represents a typed contract & a storage value of the type expected by the contract.

Constructors

SomeContractAndStorage :: forall cp st. (StorageScope st, ParameterScope cp) => Contract cp st -> Value st -> SomeContractAndStorage 

data SomeIsoValue where Source #

Hides some Haskell value put in line with Michelson Value.

Constructors

SomeIsoValue :: KnownIsoT a => a -> SomeIsoValue 

data SomeValue where Source #

Constructors

SomeValue :: SingI t => Value t -> SomeValue 

Instances

Instances details
Eq SomeValue Source # 
Instance details

Defined in Michelson.Typed.Existential

Show SomeValue Source # 
Instance details

Defined in Michelson.Typed.Existential

data SomeStorage where Source #

Constructors

SomeStorage :: forall st. StorageScope st => Value st -> SomeStorage 

Instances

Instances details
Show SomeStorage Source # 
Instance details

Defined in Michelson.Typed.Existential