Module dlc_manager::contract

source ·
Expand description

Module containing structures and functions related to contracts.

Modules

AcceptedContract
#ContractInfo
#ContractInput
#EnumDescriptor
#NumericalDescriptor
#OfferedContract
Serialization trait implementations for various data structures enabling them to be converted to byte arrays.
#SignedContract

Structs

Information about a contract that was closed by a CET that was confirmed on the blockchain.
Information about a contract that failed while verifying an accept message.
Information about a contract that failed while verifying a sign message.
Information about a funding input.
Information about a contract that is almost closed by a broadcasted, but not confirmed CET.

Enums

Information about the adaptor signatures and the CET for which they are valid.
Enum representing the possible states of a DLC.
The descriptor of a contract.