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

Morley.Client.TezosClient.Types

Contents

Description

Types used for interaction with octez-client.

Synopsis

Documentation

class CmdArg a where Source #

An object that can be put as argument to a octez-client command-line call.

Minimal complete definition

Nothing

Methods

toCmdArg :: a -> String Source #

Render an object as a command-line argument.

default toCmdArg :: Buildable a => a -> String Source #

Instances

Instances details
CmdArg Word16 Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

CmdArg ByteString Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

CmdArg EpName Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

Methods

toCmdArg :: EpName -> String Source #

CmdArg Address Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

Methods

toCmdArg :: Address -> String Source #

CmdArg Mutez Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

Methods

toCmdArg :: Mutez -> String Source #

CmdArg SecretKey Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

Methods

toCmdArg :: SecretKey -> String Source #

CmdArg OperationHash Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

CmdArg BaseUrl Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

CmdArg Text Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

Methods

toCmdArg :: Text -> String Source #

CmdArg LText Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

UntypedValScope t => CmdArg (Value t) Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

Methods

toCmdArg :: Value t -> String Source #

CmdArg (KindedAddress kind) Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

Methods

toCmdArg :: KindedAddress kind -> String Source #

CmdArg (AddressOrAlias kind) Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

Methods

toCmdArg :: AddressOrAlias kind -> String Source #

CmdArg (Alias kind) Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

Methods

toCmdArg :: Alias kind -> String Source #

CmdArg (Contract cp st) Source # 
Instance details

Defined in Morley.Client.TezosClient.Types

Methods

toCmdArg :: Contract cp st -> String Source #

data CalcOriginationFeeData cp st Source #

Data required for calculating fee for origination operation.

Constructors

forall kind. CalcOriginationFeeData 

Fields

data CalcTransferFeeData Source #

Data required for calculating fee for transfer operation.

Constructors

forall t kind.UntypedValScope t => CalcTransferFeeData 

Fields

data TezosClientEnv Source #

Runtime environment for octez-client bindings.

Constructors

TezosClientEnv 

Fields

class HasTezosClientEnv env where Source #

Using this type class one can require MonadReader constraint that holds any type with TezosClientEnv inside.

data AliasBehavior Source #

How to save the originated contract address.

Constructors

DontSaveAlias

Don't save the newly originated contract address.

KeepDuplicateAlias

If an alias already exists, keep it, don't save the newly originated contract address.

OverwriteDuplicateAlias

If an alias already exists, replace it with the address of the newly originated contract.

ForbidDuplicateAlias

If an alias already exists, throw an exception without doing the origination

Lens