mirror of
https://github.com/macocianradu/RosettaHaskellCompiler.git
synced 2026-03-18 21:10:07 +00:00
randomsave
This commit is contained in:
@@ -259,7 +259,7 @@ func ResolveQuantity:
|
||||
|
||||
assign-output resolvedQuantity -> unitOfAmount:
|
||||
resolvedValue -> unitOfAmount
|
||||
|
||||
/*
|
||||
func CashflowPayoutToContract:
|
||||
inputs:
|
||||
cashflow Cashflow (1..1)
|
||||
@@ -288,13 +288,13 @@ func CashflowPayoutToContract:
|
||||
PayoutParty1
|
||||
( cashflow
|
||||
, MkScale
|
||||
( Konst (quantity -> multiplier)
|
||||
( Konst (quantity -> multiplier only-element)
|
||||
, if fixingDate exists then
|
||||
MkGet
|
||||
( MkTruncate
|
||||
( fixingDate
|
||||
, MkScale
|
||||
( ExchangeRate(quantity -> unitOfAmount -> currency, settlementTerms -> settlementCurrency)
|
||||
( ExchangeRateFunc(quantity -> unitOfAmount, settlementTerms -> settlementCurrency)
|
||||
, MkGet
|
||||
( MkTruncate
|
||||
( settlementTerms -> settlementDate -> valueDate
|
||||
|
||||
@@ -63,7 +63,7 @@ type AdjustableOrRelativeDate:
|
||||
adjustableDate AdjustableDate (0..1)
|
||||
|
||||
type AdjustableDate:
|
||||
unadjastableDate string (0..1) //date
|
||||
unadjustedDate string (0..1) //date
|
||||
|
||||
type ForeignExchange:
|
||||
exchangedCurrency1 Cashflow (1..1)
|
||||
|
||||
Reference in New Issue
Block a user