Safe Haskell | None |
---|---|
Language | Haskell2010 |
Functions to submit transactions via tezos-client
and node RPC.
Synopsis
- runTransactions :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => Address -> [TransactionData] -> m (Maybe OperationHash)
- lRunTransactions :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => Address -> [LTransactionData] -> m (Maybe OperationHash)
- transfer :: forall m t env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m, ParameterScope t) => Address -> Address -> Mutez -> EpName -> Value t -> Maybe Mutez -> m OperationHash
- lTransfer :: forall m t env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m, NiceParameter t) => Address -> Address -> Mutez -> EpName -> t -> Maybe Mutez -> m OperationHash
- data TD (t :: Type) = TD {}
- data LTransactionData where
- LTransactionData :: forall (t :: Type). NiceParameter t => TD t -> LTransactionData
- data TransactionData where
- TransactionData :: forall (t :: T). ParameterScope t => TD (Value t) -> TransactionData
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 #
Helper for TransactionData
and LTransactionData
.
data LTransactionData where Source #
Lorentz version of TransactionData
.
LTransactionData :: forall (t :: Type). NiceParameter t => TD t -> LTransactionData |
data TransactionData where Source #
Data for a single transaction in a batch.
TransactionData :: forall (t :: T). ParameterScope t => TD (Value t) -> TransactionData |
Instances
Buildable TransactionData Source # | |
Defined in Morley.Client.Action.Common build :: TransactionData -> Builder # |