Expand description
Module containing structures and functions related to contracts.
Modules§
- accepted_
contract - AcceptedContract
- contract_
info - #ContractInfo
- contract_
input - #ContractInput
- enum_
descriptor - #EnumDescriptor
- numerical_
descriptor - #NumericalDescriptor
- offered_
contract - #OfferedContract
- ser
- Serialization trait implementations for various data structures enabling them to be converted to byte arrays.
- signed_
contract - #SignedContract
Structs§
- Closed
Contract - Information about a contract that was closed by a CET that was confirmed on the blockchain.
- Failed
Accept Contract - Information about a contract that failed while verifying an accept message.
- Failed
Sign Contract - Information about a contract that failed while verifying a sign message.
- PreClosed
Contract - Information about a contract that is almost closed by a broadcasted, but not confirmed CET.
Enums§
- Adaptor
Info - Information about the adaptor signatures and the CET for which they are valid.
- Contract
- Enum representing the possible states of a DLC.
- Contract
Descriptor - The descriptor of a contract.