CalculateTransferInstruction
Type CDM 7.2.0Defines the tradeState or payout on which to create a Transfer along with all necessary resets.
Extends —
Extended by —
Attributes 6
Namespace cdm.event.common
Attributes
All 6 declared on CalculateTransferInstruction. Cardinality in amber is required.
| Name | Type | Card. | Description |
|---|---|---|---|
| tradeState | TradeState | 1..1 | — |
| payout | Payout | 1..1 | — |
| resets | Reset | 0..* | — |
| payerReceiver | PayerReceiver | 0..1 | — |
| quantity | Quantity | 0..1 | Specifies quantity amount returned if not the full amount from the TradeState, e.g. partial return |
| date | date | 0..1 | — |
Functions
Model functions that produce or consume this type. These are the CDM's own behaviour — the logic a correct implementation has to match.
| Function | Role | Description |
|---|---|---|
| CalculateTransfer | takes | Function specification to calculate a transfer, e.g. following a reset on a contract |
| Create_CashTransfer | takes | Defines how Transfer that represents an exchange of cash, should be constructed. |
| Create_AssetTransfer | takes | Defines how Transfer that represents an exchange of asset based on an asset payout, should be constructed. |
| ResolveTransfer | takes | Defines how to calculate the amount due to be transferred after a Reset Event. |
Open CalculateTransferInstruction in the Model Browser
Walk the tree and the reference graph interactively, and switch releases to see how the type has changed. Free, no signup.