Daml.Finance.Interface.Settlement.RouteProvider¶
Interfaces¶
interface RouteProvider
An interface used to discover the settlement route for each
Step
, i.e.,[RoutedStep]
.viewtype V
Choice Archive
Controller: Signatories of implementing template
Returns: ()
(no fields)
Choice Discover
Discover the settlement route for each
Step
.Controller: discoverors
Returns: [RoutedStep]
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.
Controller: viewer
Returns: View
Field Type Description viewer Party The party retrieving the view. Method discover : Discover -> Update [RoutedStep]
Implementation of the
Discover
choice.
Data Types¶
- type I
-
Type synonym for
RouteProvider
.
- type V
= View
Type synonym for
View
.instance HasFromAnyView RouteProvider V
data View
Functions¶
- discover
- : RouteProvider -> Discover -> Update [RoutedStep]