Settlement error in description?
Outreach2 posts266 views1 likesLast activity Feb 2023
SH
shlegerOP
Feb 2023I think here is an error in description, please look here
https://digital-asset.github.io/daml-finance/tutorials/getting-started/settlement.html
Alice and Bob should be exchanged:
Alice creates a Dvp.Proposal template to propose the exchange of the TOKEN against USD.
dvpProposalCid <- submit **bob** do
createCmd DvP.Proposal with
id = "xccy trade"
recQuantity = Instrument.qty 10.0 tokenInstrument
payQuantity = Instrument.qty 1000.0 usdInstrument
proposer = bob
counterparty = alice
routeProviderCid
settlementFactoryCid
Bob then accepts the proposal, agreeing to the terms of the trade.
(batchCid, recSettleInstructionCid, paySettleInstructionCid) <- submit **alice** do
exerciseCmd dvpProposalCid DvP.Accept
Once the proposal is accepted, three contracts are created:
MA
Mate_Varga
Feb 2023Hi @shleger,
Thanks for reporting! The digital-asset.github.io pages are no longer the official documentation of Daml Finance as it was release as GA as part of Daml. The new location of the documentation is on the docs.daml.com site: Settlement — Daml SDK 2.5.3 documentation