Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data WalletEffect r where
- SubmitTxn :: CardanoTx -> WalletEffect ()
- OwnAddresses :: WalletEffect (NonEmpty CardanoAddress)
- BalanceTx :: UnbalancedTx -> WalletEffect (Either WalletAPIError CardanoTx)
- TotalFunds :: WalletEffect Value
- WalletAddSignature :: CardanoTx -> WalletEffect CardanoTx
- YieldUnbalancedTx :: UnbalancedTx -> WalletEffect ()
- submitTxn :: forall effs. Member WalletEffect effs => CardanoTx -> Eff effs ()
- ownAddresses :: forall effs. Member WalletEffect effs => Eff effs (NonEmpty CardanoAddress)
- balanceTx :: forall effs. Member WalletEffect effs => UnbalancedTx -> Eff effs (Either WalletAPIError CardanoTx)
- totalFunds :: forall effs. Member WalletEffect effs => Eff effs Value
- walletAddSignature :: forall effs. Member WalletEffect effs => CardanoTx -> Eff effs CardanoTx
- yieldUnbalancedTx :: forall effs. Member WalletEffect effs => UnbalancedTx -> Eff effs ()
- data NodeClientEffect r where
- PublishTx :: CardanoTx -> NodeClientEffect ()
- GetClientSlot :: NodeClientEffect Slot
- GetClientParams :: NodeClientEffect Params
- publishTx :: forall effs. Member NodeClientEffect effs => CardanoTx -> Eff effs ()
- getClientSlot :: forall effs. Member NodeClientEffect effs => Eff effs Slot
- getClientParams :: forall effs. Member NodeClientEffect effs => Eff effs Params
Wallet effect
data WalletEffect r where Source #
SubmitTxn :: CardanoTx -> WalletEffect () | |
OwnAddresses :: WalletEffect (NonEmpty CardanoAddress) | |
BalanceTx :: UnbalancedTx -> WalletEffect (Either WalletAPIError CardanoTx) | |
TotalFunds | Deprecated: We won't use the wallet for querying blockchain information. See https://plutus-apps.readthedocs.io/en/latest/adr/0005-pab-indexing-solution-integration.html |
| |
WalletAddSignature :: CardanoTx -> WalletEffect CardanoTx | |
YieldUnbalancedTx :: UnbalancedTx -> WalletEffect () | Sends an unbalanced tx to be balanced, signed and submitted. |
submitTxn :: forall effs. Member WalletEffect effs => CardanoTx -> Eff effs () Source #
ownAddresses :: forall effs. Member WalletEffect effs => Eff effs (NonEmpty CardanoAddress) Source #
balanceTx :: forall effs. Member WalletEffect effs => UnbalancedTx -> Eff effs (Either WalletAPIError CardanoTx) Source #
totalFunds :: forall effs. Member WalletEffect effs => Eff effs Value Source #
walletAddSignature :: forall effs. Member WalletEffect effs => CardanoTx -> Eff effs CardanoTx Source #
yieldUnbalancedTx :: forall effs. Member WalletEffect effs => UnbalancedTx -> Eff effs () Source #
Node client
data NodeClientEffect r where Source #
PublishTx :: CardanoTx -> NodeClientEffect () | |
GetClientSlot :: NodeClientEffect Slot | |
GetClientParams :: NodeClientEffect Params |
publishTx :: forall effs. Member NodeClientEffect effs => CardanoTx -> Eff effs () Source #
getClientSlot :: forall effs. Member NodeClientEffect effs => Eff effs Slot Source #
getClientParams :: forall effs. Member NodeClientEffect effs => Eff effs Params Source #