Module Daml.Finance.Interface.Settlement.RouteProvider


interface RouteProvider

An interface used to discover the settlement route for each Step, i.e., [RoutedStep].

  • Choice Archive

    (no fields)

  • Choice Discover

    Discover the settlement route for each Step.

    Field Type Description
    discoverors Parties Parties requesting to discover.
    contextId Optional Id Context for the discovery.
    steps [Step] Settlement steps to route.
  • Choice GetView

    Retrieves the interface view.

    Field Type Description
    viewer Party The party retrieving the view.
  • Method discover : Discover -> Update [RoutedStep]

    Implementation of the Discover choice.


class Implementation t => HasImplementation t where

Data Types

type I

= RouteProvider

Type synonym for RouteProvider.

type Implementation t

= HasToInterface t I

Type constraint for requiring templates to implement Factory.

type V

= View

Type synonym for View.

instance HasFromAnyView RouteProvider V

data View

View for RouteProvider.


Field Type Description
provider Party Party providing the RouteProvider facility.
observers Parties Observers.

instance Eq View

instance Show View


: RouteProvider -> Discover -> Update [RoutedStep]