Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Functions to reveal keys via node RPC.
Synopsis
- data RevealData = RevealData {
- rdPublicKey :: PublicKey
- rdMbFee :: Maybe Mutez
- revealKey :: (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressWithAlias -> m OperationHash
- revealKeyWithFee :: (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressWithAlias -> Maybe Mutez -> m OperationHash
- revealKeyUnlessRevealed :: (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressWithAlias -> m ()
- revealKeyUnlessRevealedWithFee :: (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressWithAlias -> Maybe Mutez -> m ()
- revealKeyOp :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => PublicKey -> Maybe Mutez -> m OperationHash
- revealKeyUnlessRevealedOp :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => PublicKey -> Maybe Mutez -> m ()
Documentation
data RevealData Source #
RevealData | |
|
revealKey :: (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressWithAlias -> m OperationHash Source #
Resolve the public key of an implicit address and reveal it.
revealKeyWithFee :: (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressWithAlias -> Maybe Mutez -> m OperationHash Source #
Version of revealKey
with explicit fee.
revealKeyUnlessRevealed :: (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressWithAlias -> m () Source #
Resolve the public key of an implicit address and reveal it, unless already revealed.
revealKeyUnlessRevealedWithFee :: (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressWithAlias -> Maybe Mutez -> m () Source #
Version of revealKeyUnlessRevealed
with explicit fee.
revealKeyOp :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => PublicKey -> Maybe Mutez -> m OperationHash Source #
Deprecated: Prefer using revealKeyWithFee
, as it's a lot more efficient
Reveal given key.
Note that sender is implicitly defined by the key being revealed, as you can only reveal your own key.
This is a variation of key revealing method that tries to use solely RPC.
revealKeyUnlessRevealedOp :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => PublicKey -> Maybe Mutez -> m () Source #
Deprecated: Prefer using revealKeyUnlessRevealedWithFee
, as it's a lot more efficient
Reveal given key.
Note that sender is implicitly defined by the key being revealed, as you can only reveal your own key.