Expand description

Functions

Creates an AcceptedContract and produces the accepting party’s cet adaptor signatures.
Signs and return the CET that can be used to close the given contract.
Signs and return the refund transaction to refund the contract.
Creates an OfferedContract and OfferDlc message from the provided contract and oracle information.
Verifies the information of the accepting party Accept message, creates a SignedContract, and generates the offering party CET adaptor signatures.
Verifies the information from the offer party Sign message, creates the accepting party’s SignedContract and returns it along with the signed fund transaction.