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
- newtype TezosClientConfig = TezosClientConfig {}
- data TezosClientEnv = TezosClientEnv {}
- class HasTezosClientEnv env where
- tezosClientEnvL :: Lens' env TezosClientEnv
- data SecretKeyEncryption
- tceEndpointUrlL :: Lens' TezosClientEnv BaseUrl
- tceTezosClientPathL :: Lens' TezosClientEnv FilePath
- tceMbTezosClientDataDirL :: Lens' TezosClientEnv (Maybe FilePath)
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 # | |
ProperUntypedValBetterErrors 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 # |
newtype TezosClientConfig Source #
Configuration maintained by octez-client
, see its config
subcommands
(e. g. octez-client config show
).
Only the field we are interested in is present here.
Instances
FromJSON TezosClientConfig Source # | For reading |
Defined in Morley.Client.TezosClient.Types parseJSON :: Value -> Parser TezosClientConfig # parseJSONList :: Value -> Parser [TezosClientConfig] # | |
Show TezosClientConfig Source # | |
Defined in Morley.Client.TezosClient.Types showsPrec :: Int -> TezosClientConfig -> ShowS # show :: TezosClientConfig -> String # showList :: [TezosClientConfig] -> ShowS # |
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 #
Instances
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 # |