Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Implementation of generic operations submission.
Synopsis
- data Result
- runOperations :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressOrAlias -> [OperationInfo ClientInput] -> m (Maybe OperationHash, [OperationInfo Result])
- runOperationsNonEmpty :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressOrAlias -> NonEmpty (OperationInfo ClientInput) -> m (OperationHash, NonEmpty (OperationInfo Result))
- dryRunOperationsNonEmpty :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressOrAlias -> NonEmpty (OperationInfo ClientInput) -> m (NonEmpty (AppliedResult, TezosMutez))
- data DuplicateAlias = DuplicateAlias
Documentation
Designates output of an operation.
Instances
OperationInfoDescriptor Result Source # | |
Defined in Morley.Client.Action.Operation type TransferInfo Result Source # type OriginationInfo Result Source # type RevealInfo Result Source # | |
type OriginationInfo Result Source # | |
Defined in Morley.Client.Action.Operation | |
type RevealInfo Result Source # | |
Defined in Morley.Client.Action.Operation | |
type TransferInfo Result Source # | |
Defined in Morley.Client.Action.Operation |
runOperations :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressOrAlias -> [OperationInfo ClientInput] -> m (Maybe OperationHash, [OperationInfo Result]) Source #
Perform sequence of operations.
Returns operation hash (or Nothing
in case empty list was provided) and result of
each operation (nothing for transactions and an address for originated contracts
runOperationsNonEmpty :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressOrAlias -> NonEmpty (OperationInfo ClientInput) -> m (OperationHash, NonEmpty (OperationInfo Result)) Source #
Perform non-empty sequence of operations.
Returns operation hash and result of each operation (nothing for transactions and an address for originated contracts).
dryRunOperationsNonEmpty :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressOrAlias -> NonEmpty (OperationInfo ClientInput) -> m (NonEmpty (AppliedResult, TezosMutez)) Source #
Perform dry-run for sequence of operations.
Returned AppliedResult
contains information about estimated limits,
storage changes, etc. Additionally, estimated fees are returned.
data DuplicateAlias Source #
Instances
Exception DuplicateAlias Source # | |
Defined in Morley.Client.Action.Operation | |
Show DuplicateAlias Source # | |
Defined in Morley.Client.Action.Operation showsPrec :: Int -> DuplicateAlias -> ShowS # show :: DuplicateAlias -> String # showList :: [DuplicateAlias] -> ShowS # | |
Buildable DuplicateAlias Source # | |
Defined in Morley.Client.Action.Operation build :: DuplicateAlias -> Builder # |