cardano-wallet-core-2022.7.1: The Wallet Backend for a Cardano node.
Copyright © 2021 IOHK
License Apache-2.0
Safe Haskell None
Language Haskell2010

Cardano.Wallet.Primitive.Migration

Description

This module provides a public API for planning wallet migrations.

Use createPlan to create a migration plan.

Synopsis

Creating a migration plan

createPlan :: TxConstraints -> UTxO -> RewardWithdrawal -> MigrationPlan Source #

Creates a migration plan for the given UTxO set and reward withdrawal amount.

See MigrationPlan .

data MigrationPlan Source #

Represents a plan for migrating a UTxO set.

See createPlan to create a migration plan.

Constructors

MigrationPlan

Fields

data Selection input Source #

A selection is the basis for a single transaction.

Use create to create a selection with one or more inputs. Use extend to extend a selection with an additional input. Use verify to verify the correctness of a selection.

Constructors

Selection

Fields

Instances

Instances details
Eq input => Eq ( Selection input) Source #
Instance details

Defined in Cardano.Wallet.Primitive.Migration.Selection

Show input => Show ( Selection input) Source #
Instance details

Defined in Cardano.Wallet.Primitive.Migration.Selection

Generic ( Selection input) Source #
Instance details

Defined in Cardano.Wallet.Primitive.Migration.Selection

Associated Types

type Rep ( Selection input) :: Type -> Type Source #

type Rep ( Selection input) Source #
Instance details

Defined in Cardano.Wallet.Primitive.Migration.Selection