morley-client-0.1.2: Client to interact with the Tezos blockchain
Safe HaskellNone
LanguageHaskell2010

Morley.Client.Action.Transaction

Contents

Description

Functions to submit transactions via tezos-client and node RPC.

Synopsis

Documentation

runTransactions :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => Address -> [TransactionData] -> m (Maybe OperationHash) Source #

Perform sequence of transactions to the contract, each transactions should be defined via EntrypointParam t. Returns operation hash and block in which this operation appears or Nothing in case empty list was provided.

lRunTransactions :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => Address -> [LTransactionData] -> m (Maybe OperationHash) Source #

Lorentz version of runTransactions

Transfer

transfer :: forall m t env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m, ParameterScope t) => Address -> Address -> Mutez -> EpName -> Value t -> Maybe Mutez -> m OperationHash Source #

lTransfer :: forall m t env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m, NiceParameter t) => Address -> Address -> Mutez -> EpName -> t -> Maybe Mutez -> m OperationHash Source #

data TD (t :: Type) Source #

Constructors

TD 

Fields

data LTransactionData where Source #

Lorentz version of TransactionData.

Constructors

LTransactionData :: forall (t :: Type). NiceParameter t => TD t -> LTransactionData 

data TransactionData where Source #

Data for a single transaction in a batch.

Constructors

TransactionData :: forall (t :: T). ParameterScope t => TD (Value t) -> TransactionData 

Instances

Instances details
Buildable TransactionData Source # 
Instance details

Defined in Morley.Client.Action.Common