Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Types used for interaction with octez-client
.
Synopsis
- class CmdArg a where
- data CalcOriginationFeeData cp st = forall kind.CalcOriginationFeeData {
- cofdFrom :: AddressOrAlias kind
- cofdBalance :: TezosMutez
- cofdMbFromPassword :: Maybe ScrubbedBytes
- cofdContract :: Contract cp st
- cofdStorage :: Value st
- cofdBurnCap :: TezosInt64
- data CalcTransferFeeData = forall t kind.UntypedValScope t => CalcTransferFeeData {
- ctfdTo :: AddressOrAlias kind
- ctfdParam :: Value t
- ctfdEp :: EpName
- ctfdAmount :: TezosMutez
- data TezosClientEnv = TezosClientEnv {}
- class HasTezosClientEnv env where
- tezosClientEnvL :: Lens' env TezosClientEnv
- data SecretKeyEncryption
- data AliasBehavior
- tceEndpointUrlL :: Lens' TezosClientEnv BaseUrl
- tceTezosClientPathL :: Lens' TezosClientEnv FilePath
- tceMbTezosClientDataDirL :: Lens' TezosClientEnv (Maybe FilePath)
- tceAliasMapL :: Lens' TezosClientEnv (MVar (Maybe AliasesAndAddresses))
Documentation
An object that can be put as argument to a octez-client
command-line call.
Nothing
Instances
CmdArg Word16 Source # | |
CmdArg ByteString Source # | |
Defined in Morley.Client.TezosClient.Types toCmdArg :: ByteString -> String Source # | |
CmdArg EpName Source # | |
Defined in Morley.Client.TezosClient.Types | |
CmdArg Address Source # | |
Defined in Morley.Client.TezosClient.Types | |
CmdArg Mutez Source # | |
Defined in Morley.Client.TezosClient.Types | |
CmdArg SecretKey Source # | |
Defined in Morley.Client.TezosClient.Types | |
CmdArg OperationHash Source # | |
Defined in Morley.Client.TezosClient.Types toCmdArg :: OperationHash -> String Source # | |
CmdArg BaseUrl Source # | |
CmdArg Text Source # | |
CmdArg LText Source # | |
UntypedValScope t => CmdArg (Value t) Source # | |
Defined in Morley.Client.TezosClient.Types | |
CmdArg (KindedAddress kind) Source # | |
Defined in Morley.Client.TezosClient.Types | |
CmdArg (AddressOrAlias kind) Source # | |
Defined in Morley.Client.TezosClient.Types | |
CmdArg (Alias kind) Source # | |
Defined in Morley.Client.TezosClient.Types | |
CmdArg (Contract cp st) Source # | |
Defined in Morley.Client.TezosClient.Types |
data CalcOriginationFeeData cp st Source #
Data required for calculating fee for origination operation.
forall kind. CalcOriginationFeeData | |
|
data CalcTransferFeeData Source #
Data required for calculating fee for transfer operation.
forall t kind.UntypedValScope t => CalcTransferFeeData | |
|
Instances
ToJSON CalcTransferFeeData Source # | |
Defined in Morley.Client.TezosClient.Types toJSON :: CalcTransferFeeData -> Value # toEncoding :: CalcTransferFeeData -> Encoding # toJSONList :: [CalcTransferFeeData] -> Value # toEncodingList :: [CalcTransferFeeData] -> Encoding # |
data TezosClientEnv Source #
Runtime environment for octez-client
bindings.
TezosClientEnv | |
|
class HasTezosClientEnv env where Source #
Using this type class one can require MonadReader
constraint
that holds any type with TezosClientEnv
inside.
tezosClientEnvL :: Lens' env TezosClientEnv Source #
data SecretKeyEncryption Source #
Representation of address secret key encryption type
Instances
Show SecretKeyEncryption Source # | |
Defined in Morley.Client.TezosClient.Types showsPrec :: Int -> SecretKeyEncryption -> ShowS # show :: SecretKeyEncryption -> String # showList :: [SecretKeyEncryption] -> ShowS # | |
Eq SecretKeyEncryption Source # | |
Defined in Morley.Client.TezosClient.Types (==) :: SecretKeyEncryption -> SecretKeyEncryption -> Bool # (/=) :: SecretKeyEncryption -> SecretKeyEncryption -> Bool # |
data AliasBehavior Source #
How to save the originated contract address.
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 |