morley-client-0.4.0: Client to interact with the Tezos blockchain
Safe HaskellSafe-Inferred
LanguageHaskell2010

Morley.Client.Types

Synopsis

Documentation

class ToJSON a => ToJSONObject a Source #

Designates types whose ToJSON instance produces only Objects.

data AddressWithAlias kind Source #

A kinded address together with the corresponding alias. Due to the quirks of octez-client we usually need both in morley-client, hence the need for this type. Historically, we asked octez-client for the missing part, but that resulted in a lot of inefficiencies.

Note that the Ord instance is rather arbitrary, and doesn't necessarily correspond to anything in Michelson. It's added for convenience, e.g. so that AddressWithAlias is usable as a Map key.

Constructors

AddressWithAlias 

Fields

Instances

Instances details
ToTAddress cp vd (KindedAddress kind) => ToTAddress cp vd (AddressWithAlias kind) Source # 
Instance details

Defined in Morley.Client.Types

Methods

toTAddress :: AddressWithAlias kind -> TAddress cp vd

Show (AddressWithAlias kind) Source # 
Instance details

Defined in Morley.Client.Types

Eq (AddressWithAlias kind) Source # 
Instance details

Defined in Morley.Client.Types

Ord (AddressWithAlias kind) Source # 
Instance details

Defined in Morley.Client.Types

ToAddress (AddressWithAlias kind) Source # 
Instance details

Defined in Morley.Client.Types

Methods

toAddress :: AddressWithAlias kind -> Address

Buildable (AddressWithAlias kind) Source # 
Instance details

Defined in Morley.Client.Types

Methods

build :: AddressWithAlias kind -> Doc

buildList :: [AddressWithAlias kind] -> Doc