Given, t1 < t2, we consider the contract
When( at(t1) ){ Scale( spot ){ When ( at(t2) ) { One USD } } }
where spot is an observable that can be evaluated at a time t.
Invoking Lifecycle.lifecycle claim t1 yields Scale( spot ){ When ( at(t2) ) { One USD } } instead of the original contract.
Given,
t1 < t2
, we consider the contractWhen( at(t1) ){ Scale( spot ){ When ( at(t2) ) { One USD } } }
where spot is an observable that can be evaluated at a time t.Invoking
Lifecycle.lifecycle claim t1
yieldsScale( spot ){ When ( at(t2) ) { One USD } }
instead of the original contract.An example of this behaviour can be found in https://github.com/digital-asset/contingent-claims/blob/frn-test/test/daml/Test/Lifecycle.daml#L325